find(3itcl) | [incr Tcl] | find(3itcl) |
find - search for classes and objects
itcl::find option ?arg arg ...?
The find command is used to find classes and objects that are available in the current interpreter. Classes and objects are reported first in the active namespace, then in all other namespaces in the interpreter.
The option argument determines what action is carried out by the command. The legal options (which may be abbreviated) are:
If a class resides in the current namespace context, this command reports its simple name--without any qualifiers. However, if the pattern contains :: qualifiers, or if the class resides in another context, this command reports its fully-qualified name. Therefore, you can use the following command to obtain a list where all names are fully-qualified:
itcl::find classes ::*
If an object resides in the current namespace context, this command reports its simple name--without any qualifiers. However, if the pattern contains :: qualifiers, or if the object resides in another context, this command reports its fully-qualified name. Therefore, you can use the following command to obtain a list where all names are fully-qualified:
itcl::find objects ::*
class, object, search, import
3.0 | itcl |