widget - Demonstration of Perl/Tk widgets
2. SYNOPSYS ▲
widget [ directory ]
3. DESCRIPTION ▲
This script demonstrates the various widgets provided by Tk, along with many of the features of the Tk toolkit. This file only contains code to generate the main window for the application, which invokes individual demonstrations. The code for the actual demonstrations is contained in separate .pl files in the widget_lib directory, which are autoloaded by this script as needed.
widget looks in the directory specified on the command line to load user contributed demonstrations. If no directory name is specified when widget is invoked and the environment variable WIDTRIB is defined then demonstrations are loaded from the WIDTRIB directory. If WIDTRIB is undefined then widget defaults to the released user contributed directory, widtrib.
3.1. History ▲
# # Stephen O. Lidie, LUCC, 96/03/11. # Stephen O. Lidie, LUCC, 97/01/01. # Stephen O. Lidie, LUCC, 97/02/11. # Stephen O. Lidie, LUCC, 97/06/07. # Update for Tk402.00x. Total revamp: WidgetDemo, Scrolled, released # composites, -menuitems, qw//, etcetera. Perl 5.004 required. # Stephen O. Lidie, LUCC, 98/03/10. # Update for Tk8. # Stephen O. Lidie, LUCC, 98/06/26. # Add Common Dialogs for Tk800.007. # , 1999/11/29, Lehigh University. # Demo some "dash patch" changes. # , 2000/01/11, Lehigh University. # Update menubar to Tk 8, fix color palette Menubutton demo. # , 2000/07/06, Lehigh University. # Remove inswt() from widget and styles.pl to show the proper Perl/Tk # idiom for inserting Text tags. Various and sundry cleanups. # , 2003/07/29, Lehigh University Computing Center. # Update for Tk 8.4.4.
4. AUTHOR ▲
Steve Lidie <>