Poster of Linux kernelThe best gift for a Linux geek
Blt_TreeName

Blt_TreeName

Section: BLT Library Procedures (3) Updated: 2.4
Local index Up



 

NAME

Blt_TreeName - Returns the name of the tree data object.  

SYNOPSIS

#include <bltTree.h>

char *
Blt_TreeName(tree)
 

ARGUMENTS

Blt_Tree    tree    (in)
Token for the tree object.



 

DESCRIPTION

This procedure returns the name of the C-based tree data object. The arguments are as follows:

tree
Token for the tree object. The token must have been previously obtained via Blt_TreeGetToken or Blt_TreeCreate.
 

RETURNS

The name of the tree object is returned. The name will be fully qualified with a namespace context.  

EXAMPLE

The following example prints the name of the new tree.


Blt_Tree token;

if (Blt_TreeCreate(interp, NULL, &token) != TCL_OK) {
    return TCL_ERROR;
}
printf("tree is %s\n", Blt_TreeName(token));

 

KEYWORDS

Tcl_TreeGetToken, Tcl_TreeExists, Tcl_TreeReleaseToken


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
EXAMPLE
KEYWORDS

This document was created by man2html, using the manual pages.
Time: 21:42:42 GMT, April 16, 2011