Re: ANNOUNCE: Tcl/Tk 8.6a1 RELEASED



Googie wrote:
I can't find it in TIP description - is the new OO support going to be
somehow connected with Tk object system?

It's not in the TIP because I decided that the TIP was large enough
and complicated enough as it is. It's better to do things in stages
and get each bit right. I suspect that there will be some megawidget
support code added later on, as that will make doing a widget easier
than it is now; the story isn't finished yet.

Will it be easy to build megawidgets basing on standard Tk/Ttk widgets
using new OO extension and make these megawidgets act/be used like
regular Tk/Ttk widgets?

This is unofficial, but see http://wiki.tcl.tk/21103 and skip to about
half way down the page (search for 'widget createSubclass') and see
what I've done already. That's just pure TclOO and Tk and Ttk, plus a
scripted bit of megawidget hackery (the top half of the page). If we
can do megawidgets in pure scripting without much effort, do they need
to be in Tk? :-)

Donal.
.



Relevant Pages

  • Re: Seeking a rich text editing widget
    ... I am seeking a widget (or megawidget) that supports rich-text/html editing. ... text or html format? ...
    (comp.lang.tcl)
  • Re: IncrTk
    ... I'm trying to create MegaWidget that inherites Widget ... it in constructor of my class, but when I call (following Itcl ...
    (comp.lang.tcl)
  • Re: Tk megawidget Vs C
    ... > used profusion of nested frames to easily pack other widgets ... If you are using pack, don't - a megawidget should NEVER use pack. ... widget like those in BLT that handle constant updates easily). ...
    (comp.lang.tcl)
  • IncrTk
    ... I'm trying to create MegaWidget that inherites Widget ... understeand - my defined option isn't visible at Widget level, ...
    (comp.lang.tcl)
  • Seeking a rich text editing widget
    ... I am seeking a widget (or megawidget) that supports rich-text/html editing. ...
    (comp.lang.tcl)