forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 20
class_treeitem
reduz edited this page Apr 10, 2014
·
9 revisions
####Inherits: Object ####Category: Core
- void set_cell_mode ( int column, int mode )
- int get_cell_mode ( int column ) const
- void set_checked ( int column, bool checked )
- bool is_checked ( int column ) const
- void set_text ( int column, String text )
- String get_text ( int column ) const
- void set_icon ( int column, Texture texture )
- Texture get_icon ( int column ) const
- void set_icon_region ( int column, Rect2 region )
- Rect2 get_icon_region ( int column ) const
- void set_icon_max_width ( int column, int width )
- int get_icon_max_width ( int column ) const
- void set_range ( int column, float value )
- float get_range ( int column ) const
- void set_range_config ( int column, float min, float max, float step, bool expr=false )
- Dictionary get_range_config ( int column )
- void set_metadata ( int column, var meta )
- void get_metadata ( int column ) const
- void set_custom_draw ( int column, Object object, String callback )
- void set_collapsed ( bool enable )
- bool is_collapsed ( )
- TreeItem get_next ( )
- TreeItem get_prev ( )
- TreeItem get_parent ( )
- TreeItem get_children ( )
- TreeItem get_next_visible ( )
- TreeItem get_prev_visible ( )
- void remove_child ( Object child )
- void set_selectable ( int column, bool selectable )
- bool is_selectable ( int column ) const
- bool is_selected ( int column )
- void select ( int column )
- void deselect ( int column )
- void set_editable ( int column, bool enabled )
- bool is_editable ( int column )
- void set_custom_color ( int column, Color color )
- void clear_custom_color ( int column )
- void set_custom_bg_color ( int column, Color color )
- void clear_custom_bg_color ( int column )
- Color get_custom_bg_color ( int column ) const
- void add_button ( int column, Texture button, int arg2 )
- int get_button_count ( int column ) const
- Texture get_button ( int column, int button_idx ) const
- void erase_button ( int column, int button_idx )
- void set_tooltip ( int column, String tooltip )
- String get_tooltip ( int column ) const
- void move_to_top ( )
- void move_to_bottom ( )
- CELL_MODE_STRING = 0
- CELL_MODE_CHECK = 1
- CELL_MODE_RANGE = 2
- CELL_MODE_ICON = 3
- CELL_MODE_CUSTOM = 4