Merge pull request #42708 from drentsoft/improved_treeitem_docs_branch

This commit is contained in:
Rémi Verschelde 2022-07-08 09:22:27 +02:00 committed by GitHub
commit 6a34b038d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,14 +223,14 @@
<method name="get_next" qualifiers="const"> <method name="get_next" qualifiers="const">
<return type="TreeItem" /> <return type="TreeItem" />
<description> <description>
Returns the next TreeItem in the tree or a null object if there is none. Returns the next sibling TreeItem in the tree or a null object if there is none.
</description> </description>
</method> </method>
<method name="get_next_visible"> <method name="get_next_visible">
<return type="TreeItem" /> <return type="TreeItem" />
<argument index="0" name="wrap" type="bool" default="false" /> <argument index="0" name="wrap" type="bool" default="false" />
<description> <description>
Returns the next visible TreeItem in the tree or a null object if there is none. Returns the next visible sibling 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]. 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> </description>
</method> </method>
@ -243,14 +243,14 @@
<method name="get_prev"> <method name="get_prev">
<return type="TreeItem" /> <return type="TreeItem" />
<description> <description>
Returns the previous TreeItem in the tree or a null object if there is none. Returns the previous sibling TreeItem in the tree or a null object if there is none.
</description> </description>
</method> </method>
<method name="get_prev_visible"> <method name="get_prev_visible">
<return type="TreeItem" /> <return type="TreeItem" />
<argument index="0" name="wrap" type="bool" default="false" /> <argument index="0" name="wrap" type="bool" default="false" />
<description> <description>
Returns the previous visible TreeItem in the tree or a null object if there is none. Returns the previous visible sibling 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]. 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> </description>
</method> </method>