F.2   Customizing WindView Tcl Initialization Files

The site-wide Tcl initialization file for WindView, WindView.win32.tcl, is located in installDir/host/resource/tcl. This file contains the default Tcl configuration information for WindView, and must be present for WindView to run.

When you start up WindView (see 2.2 Running WindView), WindView.win32.tcl is read automatically. After that, the following initialization files are read, if they exist:

installDir/.wind/windview.tcl or homeDir/.wind/windview.tcl
The Tcl initialization file for the WindView graphical presentation. See the Tornado API Guide: GUI Tcl Library (Windows) for information about the Tcl extensions in the Tornado graphical environment.

installDir/.wind/eventbase.tcl or homeDir/.wind/eventbase.tcl
Tcl definitions for user-event descriptions. See The wvEvent( ) Routine for more information.

As with other Tornado initialization files, if no HOME environment variable is defined, the WindView initialization files are taken from a .wind directory at the root of the Tornado installation.


*

NOTE: The Tcl initialization file is read automatically only at WindView startup.