Enum TreeItem.TreeCellMode
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum TreeItem.TreeCellMode : longFields
- Check = 1
- Cell shows a checkbox, optionally with text. The checkbox can be pressed, released, or indeterminate (via SetIndeterminate(int, bool)). The checkbox can't be clicked unless the cell is editable. 
- Custom = 4
- Cell shows as a clickable button. It will display an arrow similar to OptionButton, but doesn't feature a dropdown (for that you can use Range). Clicking the button emits the ItemEdited signal. The button is flat by default, you can use SetCustomAsButton(int, bool) to display it with a StyleBox. - This mode also supports custom drawing using SetCustomDrawCallback(int, Callable). 
- Icon = 3
- Cell shows an icon. It can't be edited nor display text. 
- Range = 2
- Cell shows a numeric range. When editable, it can be edited using a range slider. Use SetRange(int, double) to set the value and SetRangeConfig(int, double, double, double, bool) to configure the range. - This cell can also be used in a text dropdown mode when you assign a text with SetText(int, string). Separate options with a comma, e.g. - "Option1,Option2,Option3".
- String = 0
- Cell shows a string label. When editable, the text can be edited using a LineEdit, or a TextEdit popup if SetEditMultiline(int, bool) is used.