Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Blt_TreeName(3) 	     BLT Library Procedures		 Blt_TreeName(3)

________________________________________________________________________________

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 argu-
     ments 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

BLT				       2.5			 Blt_TreeName(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=Blt_TreeName&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help