Blt_TreeName
Returns the name of the tree data object.
- Provided by: blt-dev (Version: 2.5.3+dfsg-3)
- Source: blt
- Report a bug
Returns the name of the tree data object.
#include <bltTree.h> char * Blt_TreeName(tree)
This procedure returns the name of the C-based tree data object. The arguments are as follows:
The name of the tree object is returned. The name will be fully qualified with a namespace context.
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));
Tcl_TreeGetToken, Tcl_TreeExists, Tcl_TreeReleaseToken