WIDGET(1)

πŸ“¦
version 804.036 Β· 4 versions
, in opensuse-leap 16.0

✨ 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