summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTwarit Waikar <wtwarit@gmail.com>2019-08-09 01:09:50 +0530
committerGitHub <noreply@github.com>2019-08-09 01:09:50 +0530
commitd366855abd5a2cce0b01e99d97c05f6560197cad (patch)
tree5c27bc5065196e13cccfd2fe89dea2b8807e548f /doc
parent7841800c1e7fe47de6ad8a54197ee3ed2b611d89 (diff)
Add Tree iteration instructions thorugh TreeItem
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Tree.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml
index c2b7901c05..62a7147e08 100644
--- a/doc/classes/Tree.xml
+++ b/doc/classes/Tree.xml
@@ -16,6 +16,7 @@
var subchild1 = tree.create_item(child1)
subchild1.set_text(0, "Subchild1")
[/codeblock]
+ To iterate over all the [TreeItem] objects in a [Tree] object, use [method TreeItem.get_next] and [method TreeItem.get_children] after getting the root through [get_root].
</description>
<tutorials>
</tutorials>