Inheritance diagram for CmTreeNode:
Public Methods | |
CmTreeNode (CmTree *tree, CmTreeNode *parent, CARD16 type, CARD16 flags, const char *text) | |
Adds a CmTreeNode to a CmTree. | |
void | destroyContainee (int notify) |
Destroys all contained nodes, but not the node itself. | |
void | open (int notify) |
Opens a node making its children available. | |
void | close (int notify) |
Closes a node making its children unavailable. | |
void | select (int notify) |
Selects a node (passing it the input focus). | |
CmTreeNode * | getNext (void) |
Returns a reference to the following node. | |
CmTreeNode * | getFirstChild (void) |
Returns a reference to the first child node. | |
CmTreeNode * | getParent (void) |
Returns a reference to the parent node. | |
char * | getPath (char separator, char *buff) |
Creates a path composed by concatenating the name of all nodes starting from the root up to the calling node object. | |
void | setImages (CmImage *norm, CmImage *open, CmImage *sel) |
Sets the images to be associated to a specific node. | |
void | setText (const char *text) |
Changes the text associated to a node. | |
char * | getText (char *text) |
Retrieves the text associated to a node. | |
CARD16 | getType (void) |
Retrieves the type of the specified node. | |
void | setOpenCallback (CmCallback *owner, MTREENODE_CB cb) |
Sets the node open callback at local level (callback applies to this node only). | |
void | setCloseCallback (CmCallback *owner, MTREENODE_CB cb) |
Sets the node close callback at local level (callback applies to this node only). | |
void | setSelectCallback (CmCallback *owner, MTREENODE_CB cb) |
Sets the node select callback at local level (callback applies to this node only). |
|
Adds a CmTreeNode to a CmTree.
|
|
Closes a node making its children unavailable.
|
|
Destroys all contained nodes, but not the node itself.
|
|
Returns a reference to the first child node.
|
|
Returns a reference to the following node.
|
|
Returns a reference to the parent node.
|
|
Creates a path composed by concatenating the name of all nodes starting from the root up to the calling node object.
|
|
Retrieves the text associated to a node.
|
|
Retrieves the type of the specified node.
|
|
Opens a node making its children available.
|
|
Selects a node (passing it the input focus).
|
|
Sets the node close callback at local level (callback applies to this node only).
|
|
Sets the images to be associated to a specific node. The images are used only by the calling node object.
|
|
Sets the node open callback at local level (callback applies to this node only).
|
|
Sets the node select callback at local level (callback applies to this node only).
|
|
Changes the text associated to a node.
|