1 |
578 |
markom |
'\"
|
2 |
|
|
'\" Copyright (c) 1993-1998 Lucent Technologies, Inc.
|
3 |
|
|
'\"
|
4 |
|
|
'\" See the file "license.terms" for information on usage and redistribution
|
5 |
|
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
6 |
|
|
'\"
|
7 |
|
|
'\" RCS: $Id: itkvars.n,v 1.1.1.1 2002-01-16 10:24:47 markom Exp $
|
8 |
|
|
'\"
|
9 |
|
|
.so man.macros
|
10 |
|
|
.TH itkvars n 3.0 itk "[incr\ Tk]"
|
11 |
|
|
.BS
|
12 |
|
|
'\" Note: do not modify the .SH NAME line immediately below!
|
13 |
|
|
.SH NAME
|
14 |
|
|
itkvars \- variables used by [incr\ Tk]
|
15 |
|
|
.BE
|
16 |
|
|
|
17 |
|
|
.SH DESCRIPTION
|
18 |
|
|
.PP
|
19 |
|
|
The following global variables are created and managed automatically
|
20 |
|
|
by the \fB[incr\ Tk]\fR library. Except where noted below, these
|
21 |
|
|
variables should normally be treated as read-only by application-specific
|
22 |
|
|
code and by users.
|
23 |
|
|
.TP
|
24 |
|
|
\fBitk::library\fR
|
25 |
|
|
When an interpreter is created, \fB[incr\ Tk]\fR initializes this
|
26 |
|
|
variable to hold the name of a directory containing the system library
|
27 |
|
|
of \fB[incr\ Tk]\fR scripts. The initial value of \fBitk::library\fR
|
28 |
|
|
is set from the ITK_LIBRARY environment variable if it exists,
|
29 |
|
|
or from a compiled-in value otherwise.
|
30 |
|
|
.sp
|
31 |
|
|
When \fB[incr\ Tk]\fR is added to an interpreter, it executes
|
32 |
|
|
the script "\fCinit.itk\fR" in this directory. This script,
|
33 |
|
|
in turn, looks for other script files with the name "\fCinit.\fIxxx\fR".
|
34 |
|
|
Mega-widget libraries will be automatically initialized if they
|
35 |
|
|
install a script named "\fCinit.\fIxxx\fR" in this directory,
|
36 |
|
|
where "\fIxxx\fR" is the name of the mega-widget library.
|
37 |
|
|
For example, the \fB[incr\ Widgets]\fR library installs
|
38 |
|
|
the script "\fCinit.iwidgets\fR" in this directory.
|
39 |
|
|
This script establishes the "iwidgets" namespace, and sets
|
40 |
|
|
up autoloading for all \fB[incr\ Widgets]\fR commands.
|
41 |
|
|
|
42 |
|
|
.SH KEYWORDS
|
43 |
|
|
itcl, itk, variables
|