Syntax: !tk scriptfileThis command will execute a Tcl/Tk script (see 13.12), contained in the file given as an argument. The Tck/Tk interface is not available under Microsoft Windows. This command will dynamically load the Tcl/Tk libraries, if they are installed. If the Tcl/Tk libraries are installed in the standard location (/usr/local/lib), the libraries should be found automatically. If these libraries are installed elsewhere, the following variables should be set to indicate the locations to Xic.
!set TclLibrary path_to_tcl
!set TkLibrary path_to_tk
The path_to... are the full paths to the shared libraries. These variables can be set in a .xicinit or .xicstart initialization file, or in the technology file.
The !tk command is used to execute a Tcl/Tk script. The language syntax is provided in documentation supplied with Tcl/Tk, and is described in
Tcl and the Tk Toolkit, John K. Ousterhout, Addison-Wesley
Additional information can be found at www.scriptics.com.