Hi,
I'm hoping someone may have some information regarding this post I made
a few days ago. I have searched the archives and found this message:
> In Tcl/Tk version 8.4 a couple of new widgets were added (spinbox,
> labelframe, panedwindow, perhaps other things as well?). As far as I
> can see, neither QTk nor the 'ordinary' Tk package supports them
> yet. I think it would be nice if they could be officially
> supported. Any plans for this?
One cool thing about the Tk library is that it is user-extendable.
For example, here is how to create a new SpinBox class for the new
spinbox widget in tk8.4, and how to use it:
declare
SpinBox = {Tk.newWidgetClass noCommand spinbox}
W={New Tk.toplevel tkInit(title:'Spin This')}
S={New SpinBox tkInit(parent:W 'from':5 'to':11)}
{Tk.send pack(S)}
QTk also has provisions for extensibility but I don't remember off
hand how it's done (Donatien?)
Cheers,
I can't find any more information about how to do this for the TkTable
widget extension.
Any help would be great.
Regards
Mark
mark wrote:
Hi,
I have a question about the Tk module for Mozart.
Is Mozart restricted to a pre-determined set of Tk widgets or can any
widget available to Tk be used?
I ask because I would like to use the TkTable mini-spreadsheet widget.
Regards
Mark
--
Mark Richardson
Final year undergraduate
University of Teesside
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users