Blt_TreeGetNode man page on MacOSX

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
MacOSX logo
[printable version]

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\n", number);
	      } else {
		  printf("node found: label is %s\n", Blt_TreeNodeLabel(node));
	      }

KEYWORDS
       Tcl_TreeCreateNode, Tcl_TreeDeleteNode

BLT				      2.4		    Blt_TreeGetNode(3)
[top]

List of man pages available for MacOSX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net