summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-16 21:33:29 +0100
committerGitHub <noreply@github.com>2022-02-16 21:33:29 +0100
commit73ece5ba1962eb3c19ac529b8cb4ac18aefd5cac (patch)
treee60071e60d6bbb310d6f08a633ffa6fbc2066709
parent009254d87c1de573d2abeb273676f22d0bdfc67f (diff)
parentbb766a8fb6352c35feb9a7fbdcf3603768418292 (diff)
Merge pull request #58197 from timothyqiu/tree-item-button-doc
Fix documentation about `TreeItem` button ID
-rw-r--r--doc/classes/TreeItem.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml
index b6a2909ce7..c909a35ab5 100644
--- a/doc/classes/TreeItem.xml
+++ b/doc/classes/TreeItem.xml
@@ -18,7 +18,7 @@
<argument index="3" name="disabled" type="bool" default="false" />
<argument index="4" name="tooltip" type="String" default="&quot;&quot;" />
<description>
- Adds a button with [Texture2D] [code]button[/code] at column [code]column[/code]. The [code]id[/code] is used to identify the button. If not specified, the next available index is used, which may be retrieved by calling [method get_button_count] immediately after this method. Optionally, the button can be [code]disabled[/code] and have a [code]tooltip[/code].
+ Adds a button with [Texture2D] [code]button[/code] at column [code]column[/code]. The [code]id[/code] is used to identify the button. If not specified, the next available index is used, which may be retrieved by calling [method get_button_count] immediately before this method. Optionally, the button can be [code]disabled[/code] and have a [code]tooltip[/code].
</description>
</method>
<method name="call_recursive" qualifiers="vararg">
@@ -92,7 +92,7 @@
<return type="int" />
<argument index="0" name="column" type="int" />
<description>
- Returns the number of buttons in column [code]column[/code]. May be used to get the most recently added button's index, if no index was specified.
+ Returns the number of buttons in column [code]column[/code].
</description>
</method>
<method name="get_button_id" qualifiers="const">