You may return to the Cvo Object Documenation Index from this document. This document contains the following sections describing the Cvo_Tree object:

Class

Cvo_Tree

Base

Cvo_Window

Overview

The Cvo_Tree object is used as a container for Cvo objects which should be displayed in a tree format. Each node of the tree is represented by a Cvo_TreeNode object. The tree is a strictly expanding tree. Each node has exactly one parent (except the root node of a tree which has no parent node). There may be multiple root nodes in a single Cvo_Tree object (each spawning a new tree).

The Cvo_Tree object has a gravity associated with it, which determines from which direction the tree(s) will grow. The default is to grow from the left (West) side of the object.

The Cvo_Tree object should not be created directly. Rather, the Cvo_TreeViewPort object should be used. The Cvo_Tree object is optimized for this purpose.

Member Functions

This object defines the following member functions in addition to those defined by its parent and ancestor objects.

New X Resources

This object uses the following X resources in addition to those used by its parent and ancestor objects.


See the example source code for an example of how to use this object.


See the legend for information about the conventions used in this documentation.