debian man page for blt_treegetnode

Query: blt_treegetnode

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Blt_TreeGetNode(3)					      BLT Library Procedures						Blt_TreeGetNode(3)

__________________________________________________________________________________________________________________________________________________

NAME
Blt_TreeGetNode - Finds the node from the ID.
SYNOPSIS
#include <bltTree.h> Blt_TreeNode Blt_TreeGetNode(tree, number)
ARGUMENTS
Blt_Tree tree (in) Tree containing the requested node. unsigned int number (in) Serial number of the requested node. _________________________________________________________________
DESCRIPTION
This 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: tree The tree containing the requested node. number The serial number of the requested node.
RETURNS
The node represented by the given serial number is returned. If no node with that ID exists in tree then NULL is returned.
EXAMPLE
The 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) { printf("no node with ID %d exists ", number); } else { printf("node found: label is %s ", Blt_TreeNodeLabel(node)); }
KEYWORDS
Tcl_TreeCreateNode, Tcl_TreeDeleteNode
BLT
2.4 Blt_TreeGetNode(3)
Related Man Pages
blt_treecreate(3) - debian
blt_treedeletenode(3) - debian
blt_treereleasetoken(3) - debian
pod::abstract::tree(3pm) - debian
tree::node(3pm) - debian
Similar Topics in the Unix Linux Community
how to find serial number
Error on HACMP5.3 volume group on raw devices after exporting vg
Not able to copy the tree node text in HP UX, while easily done in window
Serial number
Command to see the status of managed node from CLI of HMC?