1 |
578 |
markom |
This directory contains a collection of programs to demonstrate
|
2 |
|
|
the features of the Tk toolkit. The programs are all scripts for
|
3 |
|
|
"wish", a windowing shell. If wish has been installed in /usr/local
|
4 |
|
|
then you can invoke any of the programs in this directory just
|
5 |
|
|
by typing its file name to your command shell. Otherwise invoke
|
6 |
|
|
wish with the file as its first argument, e.g., "wish hello".
|
7 |
|
|
The rest of this file contains a brief description of each program.
|
8 |
|
|
Files with names ending in ".tcl" are procedure packages used by one
|
9 |
|
|
or more of the demo programs; they can't be used as programs by
|
10 |
|
|
themselves so they aren't described below.
|
11 |
|
|
|
12 |
|
|
hello - Creates a single button; if you click on it, a message
|
13 |
|
|
is typed and the application terminates.
|
14 |
|
|
|
15 |
|
|
widget - Contains a collection of demonstrations of the widgets
|
16 |
|
|
currently available in the Tk library. Most of the .tcl
|
17 |
|
|
files are scripts for individual demos available through
|
18 |
|
|
the "widget" program.
|
19 |
|
|
|
20 |
|
|
ixset - A simple Tk-based wrapper for the "xset" program, which
|
21 |
|
|
allows you to interactively query and set various X options
|
22 |
|
|
such as mouse acceleration and bell volume. Thanks to
|
23 |
|
|
Pierre David for contributing this example.
|
24 |
|
|
|
25 |
|
|
rolodex - A mock-up of a simple rolodex application. It has much of
|
26 |
|
|
the user interface for such an application but no back-end
|
27 |
|
|
database. This program was written in response to Tom
|
28 |
|
|
LaStrange's toolkit benchmark challenge.
|
29 |
|
|
|
30 |
|
|
tcolor - A color editor. Allows you to edit colors in several
|
31 |
|
|
different ways, and will also perform automatic updates
|
32 |
|
|
using "send".
|
33 |
|
|
|
34 |
|
|
rmt - Allows you to "hook-up" remotely to any Tk application
|
35 |
|
|
on the display. Select an application with the menu,
|
36 |
|
|
then just type commands: they'll go to that application.
|
37 |
|
|
|
38 |
|
|
timer - Displays a seconds timer with start and stop buttons.
|
39 |
|
|
Control-c and control-q cause it to exit.
|
40 |
|
|
|
41 |
|
|
browse - A simple directory browser. Invoke it with and argument
|
42 |
|
|
giving the name of the directory you'd like to browse.
|
43 |
|
|
Double-click on files or subdirectories to browse them.
|
44 |
|
|
Control-c and control-q cause the program to exit.
|
45 |
|
|
|
46 |
|
|
sccs id = SCCS: @(#) README 1.3 96/02/16 10:49:14
|