![]() |
![]()
| ![]() |
![]()
NAMEBlt_TreeExists - Indicates if a tree exists. SYNOPSIS#include <bltTree.h> int Blt_TreeExists(interp, name) ARGUMENTS
DESCRIPTIONThis procedure determines if a C-based tree data object exists by a given name. The arguments are as follows: 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")) { KEYWORDStree, token Tcl_TreeCreate, Tcl_TreeGetToken, Tcl_TreeReleaseToken
|