Table Of Contents
This guide contains the following chapters/sections.
ALL FILE INCLUDED HERE ARE COMPRESSED PostScript FILES
SGITCL is useful for developers and system administrators alike. Tcl makes it easy to produce quick user interface prototypes, and even real products with acceptably good performance and robustness.
Soon Tcl became kind of a cult, as programmers around the globe implemented and made available extension libraries for different purposes. Although these libraries are still called extensions because they are not part of the Tcl language itself, many extension packages have become so closely associated with Tcl that they are considered almost a standard Tcl feature.
This chapter provides a brief introduction to the commonly available extension packages that are included with SGITCL.
Tcl is an interpreted language originally intended for use as an embedded command language for other applications. It has been used for that, but has also become useful as a language in its own right.
Tcl Toolkits
Tcl was extended with a set of widgets called Tk. These are not based on the Xt intrinsics, but are built above Xlib. Tk provides an easy way to write X11 applications.
The standard set of widgets in the X world is now the Motif set. Motif offers a large number of widgets, which have seen a lot of development over the last five years. Use of Motif is sometimes a requirement by business, and other widget sets try to conform to Motif in appearance and behavior. Furthermore, many toolkits use Xt-based widgets, so an Xt-compatible interface builder is often useful.
Tm allows the programmer to use Motif widgets instead of Tk widgets from within Tcl programs. This increases programmer choices, and allows comparison of the features of the Tcl Motif and the Tk style of widget programming.
Tm is based on Tk for its style of widget programming, because Tk provides a good model, and to allow Tcl programmers to work with both Tk and Tcl Motif. An alternate style is the WKSH system, a binding of the Korn Shell to the Motif library.
Reading This Chapter
The first two sections, "Getting Started" and "Widget Basics", present basic Motif concepts and are intended for Motif beginners.
The remaining sections, starting with "Resources", constitute a full reference manual for Tcl Motif, with tables of supported resources with their default values, lists of callbacks, and example programs.
This chapter was derived from a document on Tcl Motif written by Jan Newmarch (the author of Tm) and Jean-Dominique Gascuel.