tree.leaf
- method treeitem tree.leaf( treeitem parent, treeitem after )
- method treeitem tree.leaf( treeitem parent )
Adding a "leaf". Add a "leaf" to the specified node. You can not add items to a "leaf".
method treeitem tree.leaf (
treeitem parent,
treeitem after
)
treeitem parent,
treeitem after
)
Parameters
parent | Parent node. If it is 0->treeitem then the item will be added to the root. |
after | Insert an item after this tree item. If it is 0->treeitem then the item will be the first child. |
Return value
The added item or 0 in case of an error.
tree.leaf
Add a "leaf" to the specified node. An item will be the last child item.
method treeitem tree.leaf (
treeitem parent
)
treeitem parent
)
Parameters
parent | Parent node. If it is 0->treeitem then the item will be added to the root. |
Return value
The added item or 0 in case of an error.
Related links | Source |