WIDGET(1)
β¨ NAME β¨
okay bestie, welcome to WIDGET(1) from the perl/Tk Documentation β this one is literally widget: a big shiny demonstration of Perl/Tk widgets. Itβs giving βcome see every widget Tk brought to the function,β and honestly? iconic. π
πΈ SYNOPSYS πΈ
widget [ directory ]
π¦ DESCRIPTION π¦
This script is the demo tour for the widgets Tk hands you, plus a whole bunch of the features in the Tk toolkit. β¨
This file itself only has the code that builds the main window for the application, and that main window is what invokes the individual demonstrations. The actual demo code? It lives in separate .pl files inside the widget_lib directory, and this script autoloads them as needed. So cute, so modular. π
widget peeks inside the directory you name on the command line to load user-contributed demonstrations. If you donβt give a directory name when you invoke widget, and the environment variable WIDTRIB is defined, then the demonstrations get loaded from the WIDTRIB directory. If WIDTRIB is undefined, widget defaults to the released user-contributed directory, widtrib. π
π History π
here are the receipts, preserved exactly:
#
# Stephen O. Lidie, LUCC, 96/03/11. lusol@Lehigh.EDU
# Stephen O. Lidie, LUCC, 97/01/01. lusol@Lehigh.EDU
# Stephen O. Lidie, LUCC, 97/02/11. lusol@Lehigh.EDU
# Stephen O. Lidie, LUCC, 97/06/07. lusol@Lehigh.EDU
# Update for Tk402.00x. Total revamp: WidgetDemo, Scrolled, released
# composites, -menuitems, qw//, etcetera. Perl 5.004 required.
# Stephen O. Lidie, LUCC, 98/03/10. lusol@Lehigh.EDU
# Update for Tk8.
# Stephen O. Lidie, LUCC, 98/06/26. Stephen.O.Lidie@Lehigh.EDU
# Add Common Dialogs for Tk800.007.
# Stephen.O.Lidie@Lehigh.EDU, 1999/11/29, Lehigh University.
# Demo some "dash patch" changes.
# Stephen.O.Lidie@Lehigh.EDU, 2000/01/11, Lehigh University.
# Update menubar to Tk 8, fix color palette Menubutton demo.
# Stephen.O.Lidie@Lehigh.EDU, 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.
# sol0@lehigh.edu, 2003/07/29, Lehigh University Computing Center.
# Update for Tk 8.4.4.
π AUTHOR π
Steve Lidie <sol0@Lehigh.EDU>
This page is serving Tk804.036, dated 2024-01-12 β periodt, mwah ππ«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-Tk 804.036-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Zlib
- opensuse-leap 16.0: perl-Tk 804.036-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Zlib
- opensuse-leap 16.0: perl-Tk 804.036-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Zlib
- opensuse-leap 16.0: perl-Tk 804.036-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms