1itkvars(n)                         [incr Tk]                        itkvars(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       itkvars - variables used by [incr Tk]
9_________________________________________________________________
10
11

DESCRIPTION

13       The following global variables are created and managed automatically by
14       the [incr Tk] library.   Except  where  noted  below,  these  variables
15       should  normally  be  treated as read-only by application-specific code
16       and by users.
17
18       itk::library
19              When an interpreter is created, [incr Tk] initializes this vari‐
20              able  to  hold  the  name  of  a directory containing the system
21              library of [incr Tk] scripts.  The initial value of itk::library
22              is  set  from the ITK_LIBRARY environment variable if it exists,
23              or from a compiled-in value otherwise.
24
25              When [incr Tk] is added  to  an  interpreter,  it  executes  the
26              script  "init.itk"  in  this  directory.   This script, in turn,
27              looks for other script files with the  name  "init.xxx".   Mega-
28              widget  libraries  will  be  automatically  initialized  if they
29              install a script named "init.xxx" in this directory, where "xxx"
30              is  the  name  of  the  mega-widget  library.   For example, the
31              [incr Widgets] library installs the  script  "init.iwidgets"  in
32              this  directory.   This script establishes the "iwidgets" names‐
33              pace, and sets up autoloading for all [incr Widgets] commands.
34
35

KEYWORDS

37       itcl, itk, variables
38
39
40
41itk                                   3.0                           itkvars(n)
Impressum