Re: ANNOUNCE: Tcl/Tk 8.6a1 RELEASED
- From: "Donal K. Fellows" <donal.k.fellows@xxxxxxxxx>
- Date: Sat, 28 Jun 2008 05:50:26 -0700 (PDT)
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.
.
- References:
- ANNOUNCE: Tcl/Tk 8.6a1 RELEASED
- From: Donald G Porter
- Re: ANNOUNCE: Tcl/Tk 8.6a1 RELEASED
- From: Googie
- ANNOUNCE: Tcl/Tk 8.6a1 RELEASED
- Prev by Date: Re: ISO "anecdotal evidence"
- Next by Date: Re: ISO "anecdotal evidence"
- Previous by thread: Re: ANNOUNCE: Tcl/Tk 8.6a1 RELEASED
- Next by thread: Pipeline never becomes readable
- Index(es):
Relevant Pages
|