Blt_TreeName(3)

Blt_TreeName3

Returns the name of the tree data object.

Usage

#include <bltTree.h>

char *
Blt_TreeName(tree)

    


    

Arguments

Blt_Tree tree (in)

Token for the tree object.


    


            

Overview

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.

Examples

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

Releases

11 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–7
  2. 8–13

From blt-dev 2.5.3+dfsg-8 in Debian 13 (Trixie). Parsed by carta from the page's man source.