treenode
A function to add a top-level node to tree window. 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.
<window>.add_node(...)