Merge pull request #31215 from IronicallySerious/patch-1

Add Tree iteration instructions thorugh TreeItem
This commit is contained in:
Rémi Verschelde 2019-08-08 22:04:16 +02:00 committed by GitHub
commit fe3cd51755
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>