Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions doc/classes/Tree.xml
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,13 @@
Emitted when an item is edited.
</description>
</signal>
<signal name="item_hovered">
<param index="0" name="item" type="TreeItem" />
<param index="1" name="column" type="int" />
<description>
Emitted when an item is hovered. If no item is hovered, [param item] will be [code]null[/code] and [param column] will be -1.
</description>
</signal>
<signal name="item_icon_double_clicked">
<description>
Emitted when an item's icon is double-clicked. For a signal that emits when any part of the item is double-clicked, see [signal item_activated].
Expand Down
32 changes: 32 additions & 0 deletions doc/classes/TreeItem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,14 @@
If [param only_visible] is [code]true[/code] it ignores non-visible [TreeItem]s.
</description>
</method>
<method name="is_button_visible" qualifiers="const">
<return type="bool" />
<param index="0" name="column" type="int" />
<param index="1" name="button_index" type="int" />
<description>
Returns [code]true[/code] if the button at index [param button_index] for the given [param column] is visible.
</description>
</method>
<method name="is_button_disabled" qualifiers="const">
<return type="bool" />
<param index="0" name="column" type="int" />
Expand All @@ -427,6 +435,13 @@
Returns [code]true[/code] if the button at index [param button_index] for the given [param column] is disabled.
</description>
</method>
<method name="is_cell_visible" qualifiers="const">
<return type="bool"/>
<param index="0" name="column" type="int" />
<description>
Returns [code]true[/code] if the given [param column] is visible.
</description>
</method>
<method name="is_checked" qualifiers="const">
<return type="bool" />
<param index="0" name="column" type="int" />
Expand Down Expand Up @@ -565,6 +580,15 @@
Sets the given column's button description at index [param button_index] for assistive apps.
</description>
</method>
<method name="set_button_visible">
<return type="void" />
<param index="0" name="column" type="int" />
<param index="1" name="button_index" type="int" />
<param index="2" name="visible" type="bool" />
<description>
Sets the visibility of the button at index [param button_index] in the given [param column].
</description>
</method>
<method name="set_button_disabled">
<return type="void" />
<param index="0" name="column" type="int" />
Expand All @@ -591,6 +615,14 @@
Sets the given column's cell mode to [param mode]. This determines how the cell is displayed and edited.
</description>
</method>
<method name="set_cell_visible">
<return type="void" />
<param index="0" name="column" type="int" />
<param index="1" name="visible" type="bool"/>
<description>
Sets the given column's visibility to [param visible].
</description>
</method>
<method name="set_checked">
<return type="void" />
<param index="0" name="column" type="int" />
Expand Down
Loading
Loading