![]() |
![]()
| ![]() |
![]()
NAMEBlt_TreeGetNode - Finds the node from the ID. SYNOPSIS#include <bltTree.h> Blt_TreeNode Blt_TreeGetNode(tree, number) ARGUMENTS
DESCRIPTIONThis procedure returns a node in a tree object based upon a give serial number. The node is searched using the serial number. The arguments are as follows: RETURNSThe node represented by the given serial number is returned. If no node with that ID exists in tree then NULL is returned. EXAMPLEThe following example gets the node from a serial number. unsigned int number; Blt_TreeNode node; Blt_TreeToken token; node = Blt_TreeGetNode(token, number); if (node == NULL) { KEYWORDSTcl_TreeCreateNode, Tcl_TreeDeleteNode
|