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)
Check Out this Related Man Page
Blt_TreeDeleteNode(3) BLT Library Procedures Blt_TreeDeleteNode(3)__________________________________________________________________________________________________________________________________________________NAME
Blt_TreeDeleteNode - Deletes a node and its descendants.
SYNOPSIS
#include <bltTree.h>
Blt_TreeNode
Blt_TreeDeleteNode(tree, node)
ARGUMENTS
Blt_Tree tree (in) Tree containing the node.
Blt_TreeNode node (in) Node to be deleted.
_________________________________________________________________DESCRIPTION
This 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.
RETURNS
Always returns TCL_OK. Errors generated in a notification callbacks are backgrounded (see Tcl_TreeCreateNotifyHandler).
EXAMPLE
The following example deletes the root node.
Blt_TreeNode root;
root = Blt_TreeRootNode(token);
Blt_TreeDeleteNode(token, root);
NOTIFICATIONS
Blt_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.
KEYWORDS
tree, token
BLT 2.4 Blt_TreeDeleteNode(3)
just wanted to know the serial number of my machine E3500 with Solaris 8 installed.Does any one who what's the command that i can use when the OS is running?( not with the Banner Command!) (3 Replies)
Hello guyz..
just want to know whether my doubt can be solve or not..maybe it
my company using yyyymmddxx for serial no format..and it cause problems..
first, my adjustments for moving n deleting domain name exceeded xxx per day, and it will cause and effect the yyyymmdd digits.
can... (6 Replies)
Hi all,
We have a problem after exporting a exhanced concurrent capable VG accessed in concurrent mode, created on raw devices ( pSeries 590 AIX5.3 + HACMP5.3 +SAN4300) from node A to node B.
On node B the VG is correct activated by HACMP, but on node A we have 0516-306 error "Unable to find... (3 Replies)
I m not able to copy the text present on the tree's node to terminal or other text editor in solaris. I m using <Shift><control> C and V comaand for the same but the text is not being copied and pasted on the text pad or the terminal window.
While the same is possible in windows OS using ctrl+c... (2 Replies)
Hi Solarizer ;)
I have face the difficulties of gathering information about the serial number of sun machine. i think its can do so easy while the machine is just one or two. But i have to administrate hundreds of sun machine.
Any body knows how to gather this information by the command ?
... (4 Replies)
Hi,
I have a refurbished HP C3750 workstation that my company recently bought. We have a need to be able to retrieve its serial number through software, and I found instructions at HP's Website on how to do this. Unfortunately, the machine does not return a serial number using any of the... (16 Replies)
Hi All,
I wnat to know how to find out the Server serial number in command prompt?
I am using sneep command but it throughing unknown.
Thanks and Regards, (8 Replies)
I am getting an error from one node in a set with RSH setup between them, node one will connect to node two every other time (consistently), however node to connects to node one every time without problem. Here is what I am seeing, makes no sense to me. Can anyone help?
sbhcprdb01<root>: rsh... (6 Replies)
I am working on a file, I need add a column with serial # in a file, the column will be the first column. and the serial # will be decide by each raw, say if I have 6 raws, I need serial # from 1 to 6 in the first column. Anyone know how to add that. I really appreciate. Thanks (2 Replies)
Hi Experts,
I am in need of running a script from one node say node 1 via node 2.
My scheduling tool dont have access to node2 , so i need to invoke the list file from node1 but the script needs to run from node2. because the server to which i am hitting, is having access only for the node... (5 Replies)
Folks,
Asking a silly question - is there a way to know the status(Power Off/Running) of a managed node from CLI of HMC, alike the way we see it for the LPARs running on the node from 'vtmenu'?
Most of us use the UI to see the status of the LPARs/Managed node - but just inquisitive to know if... (4 Replies)
Hi,
Please, i have a history of the state of each node in my data center. an history about the failure of my cluster (UN: node up, DN: node down).
Here is some lines of the history:
08:51:36 UN 127.0.0.1 08:51:36 UN 127.0.0.2 08:51:36 UN 127.0.0.3 08:53:50 DN 127.0.0.1 ... (6 Replies)