set_root


Description:

public void set_root (TreeNode node)

Sets the root node of the Tree widget.

This is used to build the items within the treeview. The item itself will not be added to the self, but the direct children will be.

Parameters:

this

A Tree.

node

A TreeNode.