This subdirectory contains the slides for a presentation on Tcl/Tk
I gave on January 18th, 1995.  You will need Tcl/Tk installed on your
system to view them.

----------------------------------------------------------------------
QUICK START

Unpack tcltalk.tar.gz with  gzcat tcltalk.tar.gz | tar xf -

View the slides using "./projector" or "wish -f projector", if the first
gives an error.

* Advance through the slides by pressing the spacebar, or by clicking "Next"
  in the lower right corner.

* Quit the projector by typing Control-c in the projector window, or
  by clicking "Quit" in the lower left corner.

* Flip quickly through the slides by dragging the bar at the bottom of the
  screen.

----------------------------------------------------------------------
DETAILS

The slides are written as a wish script.  Wish is Tcl/Tk's windowing shell.
To view these slides, you need an X terminal (or workstation), and wish
installed.

projector		the slide projector script, written in wish

slides			the contents of the slides, which projector reads

bigarrow.xbm		the large arrow cursor used by the projector
bigarrowmask.xbm

printer			a primitive script for printing the slides as text

slides.txt		a text version of the slides, created with printer

----------------------------------------------------------------------
CUSTOMIZING THE PROJECTOR SCRIPT

The first line of the projector file is

#!/usr/local/bin/wish -f

You may wish to change this to reflect where the wish executable is
installed on your machine.  E.g., on another machine I use, "which
wish" returns "/usr/sww/bin/wish", so I should change the first line to
"#!/usr/sww/bin/wish -f"

----------------------------------------------------------------------
ADDRESSES

Tcl/Tk can be found on
ftp://ftp.cs.berkeley.edu/ucb/tcl

http://web.cs.ualberta.ca/~wade/Auto/Tcl.html
contains a Tcl/Tk archive of other programs, etc.

Stephen Edwards
sedwards@eecs.berkeley.edu
http://www-cad.eecs.berkeley.edu/~sedwards

----------------------------------------------------------------------
ABSTRACT

                   An Introduction to Tcl/Tk

                        Stephen Edwards
                       Berkeley CAD Group

Tcl/Tk forms a powerful system for building interactive, graphical
applications.  Tcl is an embeddable scripting language, and Tk is a
set of user interface "widgets" such as menus, entries, and
scrollbars. I will describe the two packages, explain how they can be
used, propose some possible applications, and suggest how to get
started using them.

Tcl, "Tool Command Language," is a high-level interpreted language
created by Berkeley's (former) Prof. John Ousterhout that uses strings
as its primary datatype.  Its syntax resembles csh, and it can be used
like awk or perl.  However, its strength is its ability to be embedded
in other programs and easily extended with new commands written in C.

Tk, also by Ousterhout, is an X toolkit implemented in Tcl (i.e., a
set of new Tcl commands) that provides a very high-level interface to
such things as buttons, menus, scrollbars, and lists.  A few lines of
Tk code can replace hundreds of lines of C or C++.  Complete graphical
applications can be developed in minutes.
