mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Clarify TreeItem return values
This commit is contained in:
parent
639252d0f8
commit
0ff1ca4655
@ -118,7 +118,7 @@
|
||||
<return type="TreeItem">
|
||||
</return>
|
||||
<description>
|
||||
Returns the TreeItem's child items.
|
||||
Returns the TreeItem's first child item or a null object if there is none.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_custom_bg_color" qualifiers="const">
|
||||
@ -196,7 +196,7 @@
|
||||
<return type="TreeItem">
|
||||
</return>
|
||||
<description>
|
||||
Returns the next TreeItem in the tree.
|
||||
Returns the next TreeItem in the tree or a null object if there is none.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_next_visible">
|
||||
@ -205,7 +205,7 @@
|
||||
<argument index="0" name="wrap" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the next visible TreeItem in the tree.
|
||||
Returns the next visible TreeItem in the tree or a null object if there is none.
|
||||
If [code]wrap[/code] is enabled, the method will wrap around to the first visible element in the tree when called on the last visible element, otherwise it returns [code]null[/code].
|
||||
</description>
|
||||
</method>
|
||||
@ -213,14 +213,14 @@
|
||||
<return type="TreeItem">
|
||||
</return>
|
||||
<description>
|
||||
Returns the parent TreeItem.
|
||||
Returns the parent TreeItem or a null object if there is none.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_prev">
|
||||
<return type="TreeItem">
|
||||
</return>
|
||||
<description>
|
||||
Returns the previous TreeItem in the tree.
|
||||
Returns the previous TreeItem in the tree or a null object if there is none.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_prev_visible">
|
||||
@ -229,7 +229,7 @@
|
||||
<argument index="0" name="wrap" type="bool" default="false">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the previous visible TreeItem in the tree.
|
||||
Returns the previous visible TreeItem in the tree or a null object if there is none.
|
||||
If [code]wrap[/code] is enabled, the method will wrap around to the last visible element in the tree when called on the first visible element, otherwise it returns [code]null[/code].
|
||||
</description>
|
||||
</method>
|
||||
|
Loading…
Reference in New Issue
Block a user