Element: treenode.add_sibling ( )

Type

treenode

Description

A function to add a new node to a tree window. The new node is added to the tree as a sibling of treenode, between treenode and its current next sibling, if any.

Consult treenode.add_child for parameter details.

The resulting new node is returned as the function value.

The code of the function cannot be redefined.

Parameters

<treenode>.add_sibling(...)