Query: blt_treedeletenode
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Blt_TreeDeleteNode(3) BLT Library Procedures Blt_TreeDeleteNode(3) __________________________________________________________________________________________________________________________________________________NAMEBlt_TreeDeleteNode - Deletes a node and its descendants.SYNOPSIS#include <bltTree.h> Blt_TreeNode Blt_TreeDeleteNode(tree, node)ARGUMENTSBlt_Tree tree (in) Tree containing the node. Blt_TreeNode node (in) Node to be deleted. _________________________________________________________________DESCRIPTIONThis procedure deletes a given node and all it descendants from a tree data object. The arguments are as follows: tree The tree containing the parent node. node Node to be deleted. The node and its descendant nodes are deleted. Each node's data values are deleted also. The reference count of the Tcl_Obj is decremented. Since all tree objects must contain at least a root node, the root node itself can't be deleted unless the tree is released and destroyed. Therefore you can clear a tree by deleting its root, but the root node will remain until the tree is destroyed.RETURNSAlways returns TCL_OK. Errors generated in a notification callbacks are backgrounded (see Tcl_TreeCreateNotifyHandler).EXAMPLEThe following example deletes the root node. Blt_TreeNode root; root = Blt_TreeRootNode(token); Blt_TreeDeleteNode(token, root);NOTIFICATIONSBlt_TreeDeleteNode can trigger tree notify events. You can be notified whenever a node is deleted by using the Blt_TreeCreateNotifyHan- dler. A callback routine is registered that will be automatically invoked whenever a node is deleted via Blt_TreeDeleteNode to the tree.KEYWORDStree, tokenBLT2.4 Blt_TreeDeleteNode(3)
Related Man Pages |
---|
blt_tree(3) - debian |
blt_treecreate(3) - debian |
blt_treegetnode(3) - debian |
tfind(3c) - hpux |
pod::abstract::tree(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Retrive deleted file's info |
parsing email log |
deleted /usr |
hacmp in a 7 node configuration ? |
Sudo access of rm to non-root user |