Unix and Linux Discussions Tagged with number |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
10,296 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
6,356 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
13,270 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
7,007 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
26,819 |
Shell Programming and Scripting |
|
|
|
15 |
32,844 |
Shell Programming and Scripting |
|
|
|
1 |
17,365 |
Programming |
|
|
|
3 |
5,261 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
11,489 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,087 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
4,026 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,869 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
4,570 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,639 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,967 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
22,422 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
4,350 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
4,389 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,265 |
UNIX for Beginners Questions & Answers |
|
|
|
15 |
10,965 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,573 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
4,041 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
15,868 |
Solaris |
|
|
|
19 |
16,428 |
AIX |
|
|
|
4 |
6,839 |
Solaris |
|
|
|
8 |
5,554 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,263 |
Shell Programming and Scripting |
|
|
|
4 |
3,513 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,645 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
4,950 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
2,261 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
8,172 |
Shell Programming and Scripting |
|
|
|
5 |
2,535 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,737 |
Shell Programming and Scripting |
|
|
|
7 |
3,924 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
4,329 |
What is on Your Mind? |
|
|
|
4 |
2,808 |
Shell Programming and Scripting |
|
|
|
4 |
4,490 |
Shell Programming and Scripting |
|
|
|
9 |
5,163 |
Shell Programming and Scripting |
|
|
|
2 |
3,135 |
UNIX for Beginners Questions & Answers |
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)