Add Tree iteration instructions thorugh TreeItem

This commit is contained in:
Twarit Waikar 2019-08-09 01:09:50 +05:30 committed by GitHub
parent 7841800c1e
commit d366855abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>