TreeItem¶
Inherits: Object
Category: Core
Brief Description¶
Member Functions¶
void |
add_button ( int column, Texture button, int button_idx=-1, bool disabled=false, String tooltip=”” ) |
void |
clear_custom_bg_color ( int column ) |
void |
clear_custom_color ( int column ) |
void |
|
void |
erase_button ( int column, int button_idx ) |
get_button ( int column, int button_idx ) const |
|
get_button_count ( int column ) const |
|
get_cell_mode ( int column ) const |
|
get_children ( ) |
|
get_custom_bg_color ( int column ) const |
|
get_icon_max_width ( int column ) const |
|
get_icon_region ( int column ) const |
|
void |
get_metadata ( int column ) const |
get_next ( ) |
|
get_next_visible ( ) |
|
get_parent ( ) |
|
get_prev ( ) |
|
get_prev_visible ( ) |
|
get_range_config ( int column ) |
|
get_tooltip ( int column ) const |
|
is_button_disabled ( int column, int button_idx ) const |
|
is_checked ( int column ) const |
|
is_collapsed ( ) |
|
is_editable ( int column ) |
|
is_selectable ( int column ) const |
|
is_selected ( int column ) |
|
void |
move_to_bottom ( ) |
void |
move_to_top ( ) |
remove_child ( Object child ) |
|
void |
|
void |
set_button ( int column, int button_idx, Texture button ) |
void |
set_cell_mode ( int column, int mode ) |
void |
set_checked ( int column, bool checked ) |
void |
set_collapsed ( 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, String callback ) |
void |
set_editable ( int column, bool enabled ) |
void |
|
void |
set_icon_max_width ( int column, int width ) |
void |
set_icon_region ( int column, Rect2 region ) |
void |
set_metadata ( int column, Variant meta ) |
void |
|
void |
set_range_config ( int column, float min, float max, float step, bool expr=false ) |
void |
set_selectable ( int column, bool selectable ) |
void |
|
void |
set_tooltip ( int column, String tooltip ) |
Numeric Constants¶
CELL_MODE_STRING = 0
CELL_MODE_CHECK = 1
CELL_MODE_RANGE = 2
CELL_MODE_RANGE_EXPRESSION = 3
CELL_MODE_ICON = 4
CELL_MODE_CUSTOM = 5
Member Function Description¶
void add_button ( int column, Texture button, int button_idx=-1, bool disabled=false, String tooltip=”” )
void clear_custom_bg_color ( int column )
void clear_custom_color ( int column )
void deselect ( int column )
TreeItem get_children ( )
void get_metadata ( int column ) const
TreeItem get_next ( )
TreeItem get_next_visible ( )
TreeItem get_parent ( )
TreeItem get_prev ( )
TreeItem get_prev_visible ( )
Dictionary get_range_config ( int column )
bool is_collapsed ( )
void move_to_bottom ( )
void move_to_top ( )
void select ( int column )
void set_collapsed ( bool enable )