On 11/30/10 11:00 AM, Giacomo Boffi wrote:
Terry Reedy writes:
On 11/28/2010 3:47 PM, pyt...@bdurham.com wrote:
I had planned on subclassing Tkinter.Toplevel() using property() to wrap
access to properties like a window's title.
After much head scratching and a peek at the Tkinter.py source,
Giacomo Boffi wrote:
Terry Reedy writes:
On 11/28/2010 3:47 PM, pyt...@bdurham.com wrote:
I had planned on subclassing Tkinter.Toplevel() using property() to wrap
access to properties like a window's title.
After much head scratching and a peek at the Tkinter.py source, I
realized that all Tk
Terry Reedy writes:
> On 11/28/2010 3:47 PM, pyt...@bdurham.com wrote:
>> I had planned on subclassing Tkinter.Toplevel() using property() to wrap
>> access to properties like a window's title.
>> After much head scratching and a peek at the Tkinter.py source, I
>> realized that all Tkinter class
Michele and Terry,
> From: "Michele Simionato"
>
> Notice that you can upgrade a Tkinter class to a new-style class simply by
> deriving from object. For instance you could define a new-style Label class
> as:
>
> class Label(Tkinter.Label, object):
> pass
Michele - your technique is *exactl
On Nov 29, 12:15 am, Terry Reedy wrote:
> On 11/28/2010 3:47 PM, pyt...@bdurham.com wrote:
>
> > I had planned on subclassing Tkinter.Toplevel() using property() to wrap
> > access to properties like a window's title.
> > After much head scratching and a peek at the Tkinter.py source, I
> > realiz
On 11/28/2010 3:47 PM, pyt...@bdurham.com wrote:
I had planned on subclassing Tkinter.Toplevel() using property() to wrap
access to properties like a window's title.
After much head scratching and a peek at the Tkinter.py source, I
realized that all Tkinter classes are old-style classes (even und
I had planned on subclassing Tkinter.Toplevel() using property()
to wrap access to properties like a window's title.
After much head scratching and a peek at the Tkinter.py source, I
realized that all Tkinter classes are old-style classes (even
under Python 2.7).
1. Is there a technical reason wh