TreeItem

Inherits: Object

There is currently no description for this class. Please help us by contributing one!

Properties

bool

collapsed

int

custom_minimum_height

bool

disable_folding

bool

visible

Methods

void

add_button ( int column, Texture2D button, int id=-1, bool disabled=false, String tooltip_text=”” )

void

add_child ( TreeItem child )

void

call_recursive ( StringName method, … ) vararg

void

clear_custom_bg_color ( int column )

void

clear_custom_color ( int column )

TreeItem

create_child ( int index=-1 )

void

deselect ( int column )

void

erase_button ( int column, int button_index )

AutowrapMode

get_autowrap_mode ( int column ) const

Texture2D

get_button ( int column, int button_index ) const

int

get_button_by_id ( int column, int id ) const

Color

get_button_color ( int column, int id ) const

int

get_button_count ( int column ) const

int

get_button_id ( int column, int button_index ) const

String

get_button_tooltip_text ( int column, int button_index ) const

TreeCellMode

get_cell_mode ( int column ) const

TreeItem

get_child ( int index )

int

get_child_count ( )

TreeItem[]

get_children ( )

Color

get_custom_bg_color ( int column ) const

Color

get_custom_color ( int column ) const

Callable

get_custom_draw_callback ( int column ) const

Font

get_custom_font ( int column ) const

int

get_custom_font_size ( int column ) const

bool

get_expand_right ( int column ) const

TreeItem

get_first_child ( ) const

Texture2D

get_icon ( int column ) const

int

get_icon_max_width ( int column ) const

Color

get_icon_modulate ( int column ) const

Rect2

get_icon_region ( int column ) const

int

get_index ( )

String

get_language ( int column ) const

Variant

get_metadata ( int column ) const

TreeItem

get_next ( ) const

TreeItem

get_next_in_tree ( bool wrap=false )

TreeItem

get_next_visible ( bool wrap=false )

TreeItem

get_parent ( ) const

TreeItem

get_prev ( )

TreeItem

get_prev_in_tree ( bool wrap=false )

TreeItem

get_prev_visible ( bool wrap=false )

float

get_range ( int column ) const

Dictionary

get_range_config ( int column )

StructuredTextParser

get_structured_text_bidi_override ( int column ) const

Array

get_structured_text_bidi_override_options ( int column ) const

String

get_suffix ( int column ) const

String

get_text ( int column ) const

HorizontalAlignment

get_text_alignment ( int column ) const

TextDirection

get_text_direction ( int column ) const

OverrunBehavior

get_text_overrun_behavior ( int column ) const

String

get_tooltip_text ( int column ) const

Tree

get_tree ( ) const

bool

is_any_collapsed ( bool only_visible=false )

bool

is_button_disabled ( int column, int button_index ) const

bool

is_checked ( int column ) const

bool

is_custom_set_as_button ( int column ) const

bool

is_edit_multiline ( int column ) const

bool

is_editable ( int column )

bool

is_indeterminate ( int column ) const

bool

is_selectable ( int column ) const

bool

is_selected ( int column )

bool

is_visible_in_tree ( ) const

void

move_after ( TreeItem item )

void

move_before ( TreeItem item )

void

propagate_check ( int column, bool emit_signal=true )

void

remove_child ( TreeItem child )

void

select ( int column )

void

set_autowrap_mode ( int column, AutowrapMode autowrap_mode )

void

set_button ( int column, int button_index, Texture2D button )

void

set_button_color ( int column, int button_index, Color color )

void

set_button_disabled ( int column, int button_index, bool disabled )

void

set_button_tooltip_text ( int column, int button_index, String tooltip )

void

set_cell_mode ( int column, TreeCellMode mode )

void

set_checked ( int column, bool checked )

void

set_collapsed_recursive ( bool enable )

void

set_custom_as_button ( int column, bool enable )

void

set_custom_bg_color ( int column, Color color, bool just_outline=false )

void

set_custom_color ( int column, Color color )

void

set_custom_draw ( int column, Object object, StringName callback )

void

set_custom_draw_callback ( int column, Callable callback )

void

set_custom_font ( int column, Font font )

void

set_custom_font_size ( int column, int font_size )

void

set_edit_multiline ( int column, bool multiline )

void

set_editable ( int column, bool enabled )

void

set_expand_right ( int column, bool enable )

void

set_icon ( int column, Texture2D texture )

void

set_icon_max_width ( int column, int width )

void

set_icon_modulate ( int column, Color modulate )

void

set_icon_region ( int column, Rect2 region )

void

set_indeterminate ( int column, bool indeterminate )

void

set_language ( int column, String language )

void

set_metadata ( int column, Variant meta )

void

set_range ( int column, float value )

void

set_range_config ( int column, float min, float max, float step, bool expr=false )

void

set_selectable ( int column, bool selectable )

void

set_structured_text_bidi_override ( int column, StructuredTextParser parser )

void

set_structured_text_bidi_override_options ( int column, Array args )

void

set_suffix ( int column, String text )

void

set_text ( int column, String text )

void

set_text_alignment ( int column, HorizontalAlignment text_alignment )

void

set_text_direction ( int column, TextDirection direction )

void

set_text_overrun_behavior ( int column, OverrunBehavior overrun_behavior )

void

set_tooltip_text ( int column, String tooltip )

void

uncollapse_tree ( )


Enumerations

enum TreeCellMode:

TreeCellMode CELL_MODE_STRING = 0

There is currently no description for this enum. Please help us by contributing one!

TreeCellMode CELL_MODE_CHECK = 1

There is currently no description for this enum. Please help us by contributing one!

TreeCellMode CELL_MODE_RANGE = 2

There is currently no description for this enum. Please help us by contributing one!

TreeCellMode CELL_MODE_ICON = 3

There is currently no description for this enum. Please help us by contributing one!

TreeCellMode CELL_MODE_CUSTOM = 4

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

bool collapsed

  • void set_collapsed ( bool value )

  • bool is_collapsed ( )

There is currently no description for this property. Please help us by contributing one!


int custom_minimum_height

  • void set_custom_minimum_height ( int value )

  • int get_custom_minimum_height ( )

There is currently no description for this property. Please help us by contributing one!


bool disable_folding

  • void set_disable_folding ( bool value )

  • bool is_folding_disabled ( )

There is currently no description for this property. Please help us by contributing one!


bool visible

  • void set_visible ( bool value )

  • bool is_visible ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_button ( int column, Texture2D button, int id=-1, bool disabled=false, String tooltip_text=”” )

There is currently no description for this method. Please help us by contributing one!


void add_child ( TreeItem child )

There is currently no description for this method. Please help us by contributing one!


void call_recursive ( StringName method, … ) vararg

There is currently no description for this method. Please help us by contributing one!


void clear_custom_bg_color ( int column )

There is currently no description for this method. Please help us by contributing one!


void clear_custom_color ( int column )

There is currently no description for this method. Please help us by contributing one!


TreeItem create_child ( int index=-1 )

There is currently no description for this method. Please help us by contributing one!


void deselect ( int column )

There is currently no description for this method. Please help us by contributing one!


void erase_button ( int column, int button_index )

There is currently no description for this method. Please help us by contributing one!


AutowrapMode get_autowrap_mode ( int column ) const

There is currently no description for this method. Please help us by contributing one!


Texture2D get_button ( int column, int button_index ) const

There is currently no description for this method. Please help us by contributing one!


int get_button_by_id ( int column, int id ) const

There is currently no description for this method. Please help us by contributing one!


Color get_button_color ( int column, int id ) const

There is currently no description for this method. Please help us by contributing one!


int get_button_count ( int column ) const

There is currently no description for this method. Please help us by contributing one!


int get_button_id ( int column, int button_index ) const

There is currently no description for this method. Please help us by contributing one!


String get_button_tooltip_text ( int column, int button_index ) const

There is currently no description for this method. Please help us by contributing one!


TreeCellMode get_cell_mode ( int column ) const

There is currently no description for this method. Please help us by contributing one!


TreeItem get_child ( int index )

There is currently no description for this method. Please help us by contributing one!


int get_child_count ( )

There is currently no description for this method. Please help us by contributing one!


TreeItem[] get_children ( )

There is currently no description for this method. Please help us by contributing one!


Color get_custom_bg_color ( int column ) const

There is currently no description for this method. Please help us by contributing one!


Color get_custom_color ( int column ) const

There is currently no description for this method. Please help us by contributing one!


Callable get_custom_draw_callback ( int column ) const

There is currently no description for this method. Please help us by contributing one!


Font get_custom_font ( int column ) const

There is currently no description for this method. Please help us by contributing one!


int get_custom_font_size ( int column ) const

There is currently no description for this method. Please help us by contributing one!


bool get_expand_right ( int column ) const

There is currently no description for this method. Please help us by contributing one!


TreeItem get_first_child ( ) const

There is currently no description for this method. Please help us by contributing one!


Texture2D get_icon ( int column ) const

There is currently no description for this method. Please help us by contributing one!


int get_icon_max_width ( int column ) const

There is currently no description for this method. Please help us by contributing one!


Color get_icon_modulate ( int column ) const

There is currently no description for this method. Please help us by contributing one!


Rect2 get_icon_region ( int column ) const

There is currently no description for this method. Please help us by contributing one!


int get_index ( )

There is currently no description for this method. Please help us by contributing one!


String get_language ( int column ) const

There is currently no description for this method. Please help us by contributing one!


Variant get_metadata ( int column ) const

There is currently no description for this method. Please help us by contributing one!


TreeItem get_next ( ) const

There is currently no description for this method. Please help us by contributing one!


TreeItem get_next_in_tree ( bool wrap=false )

There is currently no description for this method. Please help us by contributing one!


TreeItem get_next_visible ( bool wrap=false )

There is currently no description for this method. Please help us by contributing one!


TreeItem get_parent ( ) const

There is currently no description for this method. Please help us by contributing one!


TreeItem get_prev ( )

There is currently no description for this method. Please help us by contributing one!


TreeItem get_prev_in_tree ( bool wrap=false )

There is currently no description for this method. Please help us by contributing one!


TreeItem get_prev_visible ( bool wrap=false )

There is currently no description for this method. Please help us by contributing one!


float get_range ( int column ) const

There is currently no description for this method. Please help us by contributing one!


Dictionary get_range_config ( int column )

There is currently no description for this method. Please help us by contributing one!


StructuredTextParser get_structured_text_bidi_override ( int column ) const

There is currently no description for this method. Please help us by contributing one!


Array get_structured_text_bidi_override_options ( int column ) const

There is currently no description for this method. Please help us by contributing one!


String get_suffix ( int column ) const

There is currently no description for this method. Please help us by contributing one!


String get_text ( int column ) const

There is currently no description for this method. Please help us by contributing one!


HorizontalAlignment get_text_alignment ( int column ) const

There is currently no description for this method. Please help us by contributing one!


TextDirection get_text_direction ( int column ) const

There is currently no description for this method. Please help us by contributing one!


OverrunBehavior get_text_overrun_behavior ( int column ) const

There is currently no description for this method. Please help us by contributing one!


String get_tooltip_text ( int column ) const

There is currently no description for this method. Please help us by contributing one!


Tree get_tree ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_any_collapsed ( bool only_visible=false )

There is currently no description for this method. Please help us by contributing one!


bool is_button_disabled ( int column, int button_index ) const

There is currently no description for this method. Please help us by contributing one!


bool is_checked ( int column ) const

There is currently no description for this method. Please help us by contributing one!


bool is_custom_set_as_button ( int column ) const

There is currently no description for this method. Please help us by contributing one!


bool is_edit_multiline ( int column ) const

There is currently no description for this method. Please help us by contributing one!


bool is_editable ( int column )

There is currently no description for this method. Please help us by contributing one!


bool is_indeterminate ( int column ) const

There is currently no description for this method. Please help us by contributing one!


bool is_selectable ( int column ) const

There is currently no description for this method. Please help us by contributing one!


bool is_selected ( int column )

There is currently no description for this method. Please help us by contributing one!


bool is_visible_in_tree ( ) const

There is currently no description for this method. Please help us by contributing one!


void move_after ( TreeItem item )

There is currently no description for this method. Please help us by contributing one!


void move_before ( TreeItem item )

There is currently no description for this method. Please help us by contributing one!


void propagate_check ( int column, bool emit_signal=true )

There is currently no description for this method. Please help us by contributing one!


void remove_child ( TreeItem child )

There is currently no description for this method. Please help us by contributing one!


void select ( int column )

There is currently no description for this method. Please help us by contributing one!


void set_autowrap_mode ( int column, AutowrapMode autowrap_mode )

There is currently no description for this method. Please help us by contributing one!


void set_button ( int column, int button_index, Texture2D button )

There is currently no description for this method. Please help us by contributing one!


void set_button_color ( int column, int button_index, Color color )

There is currently no description for this method. Please help us by contributing one!


void set_button_disabled ( int column, int button_index, bool disabled )

There is currently no description for this method. Please help us by contributing one!


void set_button_tooltip_text ( int column, int button_index, String tooltip )

There is currently no description for this method. Please help us by contributing one!


void set_cell_mode ( int column, TreeCellMode mode )

There is currently no description for this method. Please help us by contributing one!


void set_checked ( int column, bool checked )

There is currently no description for this method. Please help us by contributing one!


void set_collapsed_recursive ( bool enable )

There is currently no description for this method. Please help us by contributing one!


void set_custom_as_button ( int column, bool enable )

There is currently no description for this method. Please help us by contributing one!


void set_custom_bg_color ( int column, Color color, bool just_outline=false )

There is currently no description for this method. Please help us by contributing one!


void set_custom_color ( int column, Color color )

There is currently no description for this method. Please help us by contributing one!


void set_custom_draw ( int column, Object object, StringName callback )

There is currently no description for this method. Please help us by contributing one!


void set_custom_draw_callback ( int column, Callable callback )

There is currently no description for this method. Please help us by contributing one!


void set_custom_font ( int column, Font font )

There is currently no description for this method. Please help us by contributing one!


void set_custom_font_size ( int column, int font_size )

There is currently no description for this method. Please help us by contributing one!


void set_edit_multiline ( int column, bool multiline )

There is currently no description for this method. Please help us by contributing one!


void set_editable ( int column, bool enabled )

There is currently no description for this method. Please help us by contributing one!


void set_expand_right ( int column, bool enable )

There is currently no description for this method. Please help us by contributing one!


void set_icon ( int column, Texture2D texture )

There is currently no description for this method. Please help us by contributing one!


void set_icon_max_width ( int column, int width )

There is currently no description for this method. Please help us by contributing one!


void set_icon_modulate ( int column, Color modulate )

There is currently no description for this method. Please help us by contributing one!


void set_icon_region ( int column, Rect2 region )

There is currently no description for this method. Please help us by contributing one!


void set_indeterminate ( int column, bool indeterminate )

There is currently no description for this method. Please help us by contributing one!


void set_language ( int column, String language )

There is currently no description for this method. Please help us by contributing one!


void set_metadata ( int column, Variant meta )

There is currently no description for this method. Please help us by contributing one!


void set_range ( int column, float value )

There is currently no description for this method. Please help us by contributing one!


void set_range_config ( int column, float min, float max, float step, bool expr=false )

There is currently no description for this method. Please help us by contributing one!


void set_selectable ( int column, bool selectable )

There is currently no description for this method. Please help us by contributing one!


void set_structured_text_bidi_override ( int column, StructuredTextParser parser )

There is currently no description for this method. Please help us by contributing one!


void set_structured_text_bidi_override_options ( int column, Array args )

There is currently no description for this method. Please help us by contributing one!


void set_suffix ( int column, String text )

There is currently no description for this method. Please help us by contributing one!


void set_text ( int column, String text )

There is currently no description for this method. Please help us by contributing one!


void set_text_alignment ( int column, HorizontalAlignment text_alignment )

There is currently no description for this method. Please help us by contributing one!


void set_text_direction ( int column, TextDirection direction )

There is currently no description for this method. Please help us by contributing one!


void set_text_overrun_behavior ( int column, OverrunBehavior overrun_behavior )

There is currently no description for this method. Please help us by contributing one!


void set_tooltip_text ( int column, String tooltip )

There is currently no description for this method. Please help us by contributing one!


void uncollapse_tree ( )

There is currently no description for this method. Please help us by contributing one!