diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-09 11:11:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 11:11:01 +0100 |
commit | f88a83f6113ac8c7788fda163b831f2f8dabb96b (patch) | |
tree | d11d3a9ab652904cb42dcd5067455df7eca4eb67 /doc/classes/Tree.xml | |
parent | 5b866426fd409bac3502238aaa3d3fd6b3a4ef90 (diff) | |
parent | 374299c6fb7248c1bae08fcc0ba7f0467c980f7e (diff) |
Merge pull request #57810 from timothyqiu/tree-button-id
Diffstat (limited to 'doc/classes/Tree.xml')
-rw-r--r-- | doc/classes/Tree.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml index 4b051c4938..35a70ae53f 100644 --- a/doc/classes/Tree.xml +++ b/doc/classes/Tree.xml @@ -72,6 +72,13 @@ [b]Note:[/b] Despite the name of this method, the focus cursor itself is only visible in [constant SELECT_MULTI] mode. </description> </method> + <method name="get_button_id_at_position" qualifiers="const"> + <return type="int" /> + <argument index="0" name="position" type="Vector2" /> + <description> + Returns the button id at [code]position[/code], or -1 if no button is there. + </description> + </method> <method name="get_column_at_position" qualifiers="const"> <return type="int" /> <argument index="0" name="position" type="Vector2" /> |