TreeCreateItem Method |
Creates an item in the tree and adds it as a child of parent.
If parent is null, the root item will be the parent, or the new item will be the root itself if the tree is empty.
The new item will be the idxth child of parent, or it will be the last child if there are not enough siblings.
Namespace: Godot
public TreeItem CreateItem( Object parent = null, int idx = -1 )
[Missing <param name="parent"/> documentation for "M:Godot.Tree.CreateItem(Godot.Object,System.Int32)"]
[Missing <param name="idx"/> documentation for "M:Godot.Tree.CreateItem(Godot.Object,System.Int32)"]
[Missing <returns> documentation for "M:Godot.Tree.CreateItem(Godot.Object,System.Int32)"]