Improve clarity of Tree's activated/double-clicked signals

Co-authored-by: Yuri Sizov <yuris@humnom.net>
This commit is contained in:
Aaron Franke 2022-12-21 09:58:59 -06:00
parent fab9926a95
commit 0e7785333f
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
4 changed files with 12 additions and 11 deletions

View file

@ -401,7 +401,7 @@
</signal>
<signal name="item_activated">
<description>
Emitted when an item's label is double-clicked.
Emitted when an item is double-clicked, or selected with a [code]ui_accept[/code] input event (e.g. using [kbd]Enter[/kbd] or [kbd]Space[/kbd] on the keyboard).
</description>
</signal>
<signal name="item_collapsed">
@ -415,16 +415,16 @@
Emitted when a custom button is pressed (i.e. in a [constant TreeItem.CELL_MODE_CUSTOM] mode cell).
</description>
</signal>
<signal name="item_double_clicked">
<description>
Emitted when an item's icon is double-clicked.
</description>
</signal>
<signal name="item_edited">
<description>
Emitted when an item is edited.
</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].
</description>
</signal>
<signal name="item_mouse_selected">
<param index="0" name="position" type="Vector2" />
<param index="1" name="mouse_button_index" type="int" />