Copyright © 2008, 2009 Arndt Roger Schneider
Gestalt Items is a collection composite windows–referred to as templates– written in Tcl/Tk.
The Tcl/Tk package mechanism is being used for each individual template.
The entire Gestalt Items shall be placed in the
Tcl/Tk search path specified by the special Tcl-Variable:
auto_path
.
the Example 1, “Extending auto_path” inserts the
directory, represented by the environment
variable »MYPRODUCT_HOME«, at the first position of the
auto_path
variable. Every subdirectory
of »MYPRODUCT_HOME«
containing Tcl/Tk packages is
thus also included in the search path. It does suffice to
make the Gestalt Items a subdirectory of »MYPRODUCT_HOME«.
Alternatively, the Gestalt Items can be installed where Tcl/Tk itself resides. The Tcl/Tk installation place various on the different platforms.
Tcl/Tk Installations
Under AQUA® the Tcl/Tk installation is being located
under /System/Library/Tcl/
.
Make Gestalt Items a subdirectory of the Tcl/Tk installation
directory.
Under X Window System and Linux® X11 the Tcl/Tk installation
is either /usr/lib/
or /usr/local/lib
,
were /usr/local/lib/
is the default.
Watch for a subdirectory named:tcl8.x
in these
locations and make Gestalt Items a sibling directory of it.
There is no need to extend the auto_path variable when Gestalt Items is being installed in the conventional Tcl-directory.