| 1 |
|
| 2 |
This directory contains a collection of programs to demonstrate the |
| 3 |
features of the Tk toolkit. The programs are all scripts for Perl 5 |
| 4 |
with the "Tk" extension. If Perl has been installed in /usr/local/bin |
| 5 |
then you can invoke any of the programs in this directory just by |
| 6 |
typing its file name to your command shell. In particular, try the |
| 7 |
`widget' program. |
| 8 |
|
| 9 |
Ball.pm |
| 10 |
A class module used by `bounce'. |
| 11 |
|
| 12 |
LabeledEntryLabeledRadiobutton.pm |
| 13 |
A class module used by `composite'. |
| 14 |
|
| 15 |
bounce |
| 16 |
A bouncing ball simulation. |
| 17 |
|
| 18 |
browse |
| 19 |
A simple directory browser. Invoke it with an argument |
| 20 |
giving the name of the directory you'd like to browse. |
| 21 |
Double-click on files or subdirectories to browse them. |
| 22 |
Control-c and control-q cause the program to exit. |
| 23 |
|
| 24 |
color_editor |
| 25 |
Simple ColorEditor object example program. |
| 26 |
|
| 27 |
composite |
| 28 |
An example of a composite widget. |
| 29 |
|
| 30 |
dialog |
| 31 |
An example of Dialog.pm, a composite widget. |
| 32 |
|
| 33 |
hello |
| 34 |
Creates a single button; if you click on it, a message |
| 35 |
is typed and the application terminates. |
| 36 |
|
| 37 |
ixset |
| 38 |
A simple Tk-based wrapper for the "xset" program, which |
| 39 |
allows you to interactively query and set various X options |
| 40 |
such as mouse acceleration and bell volume. Thanks to |
| 41 |
Pierre David for contributing this example. |
| 42 |
|
| 43 |
rmt |
| 44 |
Allows you to "hook-up" remotely to any Tk application |
| 45 |
on the display. Select an application with the menu, |
| 46 |
then just type commands: they'll go to that application. |
| 47 |
|
| 48 |
rolodex |
| 49 |
A mock-up of a simple rolodex application. It has much of |
| 50 |
the user interface for such an application but no back-end |
| 51 |
database. This program was written in response to Tom |
| 52 |
LaStrange's toolkit benchmark challenge. |
| 53 |
|
| 54 |
timer |
| 55 |
Displays a seconds timer with start and stop buttons. |
| 56 |
Control-c and control-q cause it to exit. |
| 57 |
|
| 58 |
tom |
| 59 |
A sample program for Tom Christiansen (-: |
| 60 |
|
| 61 |
widget |
| 62 |
Contains a collection of demonstrations of the widgets |
| 63 |
currently available in the Tk library. Most of the .pl |
| 64 |
files are scripts for individual demos available through |
| 65 |
the "widget" program (located in directory widget_lib). |
| 66 |
|
| 67 |
widget_old |
| 68 |
Old version of widget, non-hypertext-like. |
| 69 |
|
| 70 |
|