Query: blt_treeexists
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Blt_TreeExists(3) BLT Library Procedures Blt_TreeExists(3) __________________________________________________________________________________________________________________________________________________NAMEBlt_TreeExists - Indicates if a tree exists.SYNOPSIS#include <bltTree.h> int Blt_TreeExists(interp, name)ARGUMENTSTcl_Interp *interp (in) Interpreter to determine current namespace context. const char *name (in) Name of an existing tree data object. Can be qualified by a namespace. _________________________________________________________________DESCRIPTIONThis procedure determines if a C-based tree data object exists by a given name. The arguments are as follows: interp Used the determine the current namespace context. name Name of an existing tree data object. Name can be qualified by a namespace such as fred::myTree. If no namespace qualifier is used, the current namespace is searched, then the global namespace.RETURNSA boolean result is returned. If the tree exists 1 is returned, 0 otherwise.EXAMPLEThe following example checks if a tree "myTree" exists. if (!Blt_TreeExists(interp, "myTree")) { fprintf(stderr, "can't find tree "myTree\n"); }KEYWORDStree, token Tcl_TreeCreate, Tcl_TreeGetToken, Tcl_TreeReleaseTokenBLT2.4 Blt_TreeExists(3)
Related Man Pages |
---|
tcl_deletenamespace(3) - mojave |
tcl_forgetimport(3) - mojave |
blt_treegetnode(3) - debian |
blt_treedeletenode(3) - debian |
blt_treereleasetoken(3) - debian |
Similar Topics in the Unix Linux Community |
---|
making a process tree |
K-tree 0.1 (Default branch) |
Family tree illustrated |
Using tree to display only certain directories |