mirror of
https://github.com/godotengine/godot.git
synced 2024-11-29 07:32:20 +00:00
Merge pull request #31215 from IronicallySerious/patch-1
Add Tree iteration instructions thorugh TreeItem
This commit is contained in:
commit
fe3cd51755
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user