Next: , Previous: ATS management, Up: The AppTree


4.1.9 Managing single trees

— Function: apptree::selection

Return the selected node name.

— Function: apptree::tree_exist TREENAME

Return 1 if there is an apptree named TREENAME. Return 0 else.

— Function: apptree::create_tree TREENAME

Create a new apptree named TREENAME. It is appended at the end of the notebook.

Return 0 if there is already an apptree called TREENAME. Return 1 else.

— Function: apptree::destroy_tree TREENAME

Destroy the apptree named TREENAME.

Return 0 if TREENAME do not exist on the apptree. Return 1 else.

— Function: apptree::tree_visible TREENAME BOOL

Modify the 'visible' flag for TREENAME.

— Function: apptree::tree_active TREENAME BOOL

Modify the 'active' flag for TREENAME.

Note that must be at least one active tree.

— Function: apptree::set_current_tree TREENAME

Set TREENAME as the current apptree.

All the following API operates over the current apptree.

— Function: apptree::current_tree

Return the 'treename' of the current apptree.