TCL and TK

contributed by Cindy Teasley


Who, What, Where

Tcl by John Ousterhout
-- located in /usr/local/tcl7.4;
-- "Tool Command Language" A shell scripting language, by John Ousterhout
-- Ex. for loops, variables, procedures . . .
The Tk Toolkit by John Ousterhout
-- located in /usr/local/tk4.0
-- Toolkit of widgets. Allows you the user to create user interfaces for the X-window system by writing TCL scripts. (Similar to Motif -only cheaper and easier)
-- Ex. canvas, text, labels, menus, radiobuttons, listboxes . . .
TixWish by Ioi Kim Lam
-- located in /usr/local/Tix
-- Set of mega-widgets based on TK
-- Ex. tixlabelentry, tixselect, tixfileselectbox . . .
Widgets
Graphical elements.
Wish
X-window shell (TCL application)

On-Line Documentation For TCL

The "doc" subdirectory in this release contains a complete set of reference manual entries for Tcl. Files with extension ".1" are for programs (for example, tclsh.1); files with extension ".3" are for C library procedures; and files with extension ".n" describe Tcl commands. The file "doc/Tcl.n" gives a quick summary of the Tcl language syntax. To create any of the man pages. . .

nroff -man /usr/local/tcl7.4/doc/Tcl.n

If the man page has already been created. . .

man Tcl


On-Line Documentation For TK

The "doc" subdirectory in this release contains a complete set of reference manual entries for Tk. Files with extension ".1" are for programs such as wish; files with extension ".3" are for C library procedures; and files with extension ".n" describe Tcl commands. To create any of the man pages. . .

nroff -man /usr/local/tk4.0/doc/wish.1

If the man page has already been created. . .

man wish

For a demonstration of tk widgets, check out /usr/local/tk4.0/library/demos/widget


On-Line Documentation For TIX

The Frequent Asked Questions about Tix are in the file docs/FAQ.html. Tix manual pages in HTML format can be found in the file docs/ManPages.html. There are also docs/ManPages.n that can be viewed using the same method as described above. For a demonstration of Tix 4.0 widgets, check out /usr/local/Tix4.0b4/demos/widget

Web Sites

There is now an official home for Tcl and Tk on the Web!

These Web pages include release updates, reports on bug fixes and porting issues, and pointers to many other Tcl/Tk Web pages at other sites.

The Tix Home Page provides more detailed information about Tix.


Newsgroups / Mailing Lists

There is a network newsgroup "comp.lang.tcl" intended for the exchange of information about Tcl, Tk, and related applications. Feel free to use this newsgroup both for general information questions and for bug reports.

There is a mailing list for Tix. To subscribe, send email to ioi@graphics.cis.upenn.edu and you'll be added to the list manually.

To send a message to the Tix mailing list, use the address tix-info@graphics.cis.upenn.edu


Books

The best way to get started with Tcl is to read one of the introductory books on Tcl:
    Tcl and the Tk Toolkit, by John Ousterhout,
    Addison-Wesley, 1994, ISBN 0-201-63337-X

    Practical Programming in Tcl and Tk, by Brent Welch,
    Prentice-Hall, 1995, ISBN 0-13-182007-9
http://math.arizona.edu/~swig/documentation/tcltk/tcltk_ct.php
Last modified: Fri, 14 Dec 2007 15:50:52 -0700
E-mail: swig@math.arizona.edu
Valid XHTML 1.0! Valid CSS!