2 <!-- manual page source format generated by PolyglotMan v3.0.9, -->
3 <!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
7 <TITLE>Blt_TreeNodeId(3) manual page</TITLE>
10 <A HREF="#toc">Table of Contents</A><P>
12 <H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
13 Blt_TreeNodeId - Returns the node
15 <H2><A NAME="sect1" HREF="#toc1">Synopsis</A></H2>
17 <PRE>#include <bltTree.h>
22 <H2><A NAME="sect2" HREF="#toc2">Arguments</A></H2>
24 Blt_TreeNode <I>node</I><tt> </tt> <tt> </tt> (in)<BR>
25 <tt> </tt> <tt> </tt> Node whose ID is to be returned.
26 <H2><A NAME="sect3" HREF="#toc3">Description</A></H2>
27 This procedure returns the
28 node serial number. The node serial number is useful for programs that
29 export the tree data object to the Tcl programming level. Since node labels
30 (and therefore pathnames) are not unique, the ID can be used to uniquely
32 The arguments are as follows:
36 <DD>The node whose serial
37 number is returned. The serial number of the root node for example is
41 <H2><A NAME="sect4" HREF="#toc4">Returns</A></H2>
42 The serial number of the node. Nodes are given a unique
43 serial number when they are created. You can use the ID to later retrieve
44 the node using <B>Blt_TreeGetNode</B>.
45 <H2><A NAME="sect5" HREF="#toc5">Example</A></H2>
46 The following example prints the
48 <CODE>printf("root ID is %s\n", <A HREF="Blt_TreeNodeId.node">Blt_TreeNodeId(node)</A>
51 <H2><A NAME="sect6" HREF="#toc6"></CODE>Keywords</A></H2>
52 Tcl_TreeCreateNode, Tcl_TreeDeleteNode <P>
55 <A NAME="toc"><B>Table of Contents</B></A><P>
57 <LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
58 <LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI>
59 <LI><A NAME="toc2" HREF="#sect2">Arguments</A></LI>
60 <LI><A NAME="toc3" HREF="#sect3">Description</A></LI>
61 <LI><A NAME="toc4" HREF="#sect4">Returns</A></LI>
62 <LI><A NAME="toc5" HREF="#sect5">Example</A></LI>
63 <LI><A NAME="toc6" HREF="#sect6">Keywords</A></LI>