Fourth Annual USENIX Tcl/Tk Workshop, 1996
In Search of the Perfect Mega-widget
Stephen A. Uhler
Sun Microsystems Laboratories
Abstract
Mega-widgets are Tk widgets that can be created entirely in Tcl, yet
behave indistinguishably from their native counterparts. Although
several different frameworks have been constructed to create and
manage mega-widgets, none does a perfect job, as there are aspects of
a native widget's behavior that can't be simulated strictly in Tcl. We
propose a small set of enhancements to the Tk event binding and focus
models that will enable mega-widget frameworks, including those that
are currently available, to do a better job supporting the semantics
of native widgets. This allows a script that uses a native widget on
one platform, to use a mega-widget implementation of the same
functionality on a different platform without the need
View the full text of this paper in
HTML and
POSTSCRIPT (78,962 Bytes) form.
To Become a USENIX Member, please see our
Membership Information.
|