summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJummit <jummit@web.de>2020-11-03 21:08:05 +0100
committerJummit <jummit@web.de>2021-02-22 15:50:21 +0100
commit13fb24cb6f9ebabb7097aad05550a406022b4c92 (patch)
tree685db0c7595daa443f4f040df2930861a89e5b51 /doc
parentd395f7082876db14b592952eb91961a62d9bc604 (diff)
expose edit_selected in Tree
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Tree.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml
index 73575b4309..d186142d86 100644
--- a/doc/classes/Tree.xml
+++ b/doc/classes/Tree.xml
@@ -48,6 +48,13 @@
The new item will be the [code]idx[/code]th child of parent, or it will be the last child if there are not enough siblings.
</description>
</method>
+ <method name="edit_selected">
+ <return type="bool">
+ </return>
+ <description>
+ Edits the selected tree item as if it was clicked. The item must be set editable with [method TreeItem.set_editable]. Returns [code]true[/code] if the item could be edited. Fails if no item is selected.
+ </description>
+ </method>
<method name="ensure_cursor_is_visible">
<return type="void">
</return>