Debian Codegraph @

html/Blt_TreeName.html

raw symbols SCIP
1
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 -->
4
5 <HTML>
6 <HEAD>
7 <TITLE>Blt_TreeName(3) manual page</TITLE>
8 </HEAD>
9 <BODY bgcolor=white>
10 <A HREF="#toc">Table of Contents</A><P>
11
12 <H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
13 Blt_TreeName - Returns the name of
14 the tree data object.
15 <H2><A NAME="sect1" HREF="#toc1">Synopsis</A></H2>
16 <BR>
17 <PRE>#include &lt;bltTree.h&gt;
18
19 char *
20 Blt_TreeName(tree)
21 </PRE>
22 <H2><A NAME="sect2" HREF="#toc2">Arguments</A></H2>
23 <P>
24 Blt_Tree <I>tree</I><tt> </tt>&nbsp;<tt> </tt>&nbsp;(in)<BR>
25 <tt> </tt>&nbsp;<tt> </tt>&nbsp;Token for the tree object.
26 <H2><A NAME="sect3" HREF="#toc3">Description</A></H2>
27 <P>
28 This procedure returns the name of
29 the C-based tree data object. The arguments are as follows:
30 <DL>
31
32 <DT><I>tree</I> </DT>
33 <DD>Token for
34 the tree object. The token must have been previously obtained via <B>Blt_TreeGetToken</B>
35 or <B>Blt_TreeCreate</B>. </DD>
36 </DL>
37
38 <H2><A NAME="sect4" HREF="#toc4">Returns</A></H2>
39 The name of the tree object is returned. The name
40 will be fully qualified with a namespace context.
41 <H2><A NAME="sect5" HREF="#toc5">Example</A></H2>
42 The following example
43 prints the name of the new tree. <BR>
44 <CODE>Blt_Tree token;<BR>
45 <P>
46 if (Blt_TreeCreate(interp, NULL, &amp;token) != TCL_OK) {<BR>
47 return TCL_ERROR;<BR>
48 }<BR>
49 printf("tree is %s\n", Blt_TreeName(token));<BR>
50
51 <H2><A NAME="sect6" HREF="#toc6"></CODE>Keywords</A></H2>
52 Tcl_TreeGetToken, Tcl_TreeExists, Tcl_TreeReleaseToken <P>
53
54 <HR><P>
55 <A NAME="toc"><B>Table of Contents</B></A><P>
56 <UL>
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>
64 </UL>
65 </BODY></HTML>