Tcl/Tk provides an
interactive development environment for building Graphical User Interface
applications with incredible speed. Tcl/Tk applications look like they were
constructed with the Motif toolkit, but they can be written in a fraction of the
time. This PDF covers the following topics related to Tcl/Tk : Objects and
Classes, Inheritance, Namespaces, Interactive Development, Autoloading, Adding C
code to [INCR TCL] Classes, Simple Example, Inheritance and Composition,
Building Applications with Mega-Widgets.
Tcl
is a scripting language created by John Ousterhout. It can be used
interactively, or by running scripts (programs) which can use a package system
for structuring, hence allowing to do much with little code. This book discusses
the GUI toolkit Tk in considerable extent, even though it's not in the title.
For most users, Tcl/Tk form a single conceptual entity.
This note introduces the basics of Tcl. Chapter1
describes the fundamental properties of the language. Chapter 2 is a short
introduction to running Tcl and Tk on UNIX, Windows and Macintosh systems.
Chapter 3 presents a sample application, a CGI script, that implements a
guestbook for a Web site. The rest of this book covers basic programming with
Tcl.