Re: [pygtk] a bit confused about the new type/class stuff

2001-10-03 Thread Skip Montanaro
... Skip> (It's a bunch of wrappers around Gtk widgets. The wrappers happen Skip> to use delegation instead of instantiation, so my Button class is Skip> not subclassed from gtk.Button. In particular, it's *not* one of Skip> the new subclassable types.) God, I was up way too

[pygtk] a bit confused about the new type/class stuff

2001-10-03 Thread Skip Montanaro
I have a class hierarchy I'm trying to migrate to 2.2 using the latest stuff from CVS on both the Gtk and Python sides of the fence. Conceptually its skeleton looks like class Object: ... class Widget(Object): ... class Button(Widget): ... (It's a bunch of