Version 21 of What is a Megawidget

Updated 2003-01-29 18:39:33

Purpose: collect information and pointers to what megawidgets are, how to write them, etc.


Occasionally these have been called meta-widgets rather than megawidgets.


A mega widget is NOT an attempt to create new, unique, widgets. Instead, it is an effort to combine existing widgets in ways that are commonly needed (or at the very least interesting to the person who is writing the megawidget).


See also Composite fields megawidgets.

See Adding User Data to Widgets the Megawidget Way.

Steve Uhler's 1996 Tcl workshop presentation slides on the search for the perfect megawidget can be found at http://www.best.com/%7Esau/mega/ . (not reachable :-( )

Chengye Mao mailto:[email protected] has a web page which discusses building combined widgets (aka mega widgets) in pure Tcl at http://www.geocities.com/%7Echengye/comb.html .

Creating a BWidget Widget talks about what it takes to write another Bwidget widget - sort of a similar topic. Also see Enhancing BWidget, which talks about how to get more bang out of using bwidget widgets.


Here are some megawidget frameworks (in other words, code designed to make it easier to build megawidgets). Please add to the following list.

 What: [incr Tk] Slate megawidget
 Where: http://ptolemy.eecs.berkeley.edu/%7Ejohnr/code/slate/
 Description: The Slate is an [incr Tcl] megawidget layered over the Tcl/Tk
        canvas.  It contains visual hierarchy, symbolic item aspects and
        interaction support.  Release 3.0alpha supports
        Tcl 8.0 or [incr Tcl] 3.0.
 Updated: 07/1998
 Contact: mailto:[email protected] (John Reekie)
 What: Pmw
 Where: http://www.dscpl.com.au/pmw/
        ftp://ftp.dscpl.com.au/pub/pmw/Pmw.0.8.tar.gz
        http://www.dejanews.com/getdoc.xp?AN=423519318
        http://pmwcontribd.sourceforge.net/
 Description: A megawidget framework for constructing high-level
        compound widgets in Python 1.5.2 using Tk 8.x. Contains of a set of
        base classes for building megawidgets and a library of
        megawidgets such as ComboBox, Dialog, ButtonBox, etc. Also
        contains a python interface to BLT2.1's busy, graph and vector
        commands. The PmwContribD web site provides several Pmw based Tkinter
        widgets, including a ProgressMeter, basic TreeNavigator, and a GUI
        application framework for creating simple GUI apps quickly.
 Updated: 10/1999
 Contact: mailto:[email protected] (Greg McFarlane)
        mailto:[email protected] (Doug Hellmann)

Category GUI