Previous: Managing context menus, Up: The AppTree


4.1.16 Creating and deleting node instances

— Function: apptree::node_exis NODENAME

Return 1 if NODENAME exist on the current tree. Return 0 else.

— Function: apptree::instance_node NODETYPE NODENAME

Show a new node on the current tree, of type NODETYPE, identified by the string NODENAME.

Initially, both the visibility and activation flags are set to 1.

— Function: apptree::remove_node NODENAME

Removes NODENAME from the tree.

— Function: apptree::node_visible NODETYPE NODENAME BOOLEAN

Set the visible state of NODENAME

— Function: apptree::node_active NODETYPE NODENAME BOOLEAN

Set the active state of NODENAME