Re: [pygtk] subclasses

2004-11-21 Thread Christian Robottom Reis
On Thu, Jul 29, 2004 at 11:23:10AM +0200, Marco Mariani wrote: > I've just upgraded my app to gtk2, and got this message: > > TypeError: pixmap_create_from_xpm() argument 1 must be gtk.gdk.Window, > not Xyz > > > Xyz is a subclass of [a subclass of] Window, and it worked flawlessly > with versio

Re: [pygtk] subclasses

2004-07-29 Thread Marco Mariani
On Thu, Jul 29, 2004 at 11:29:10AM +0200, Xavier Ordoquy wrote: > > I've just upgraded my app to gtk2, and got this message: > > Could you be more precise about the gtk2 version ? 2.0.0, python 2.3 I cannot easily upgrade because I'm working on familiar/Ipaq and cross-compiling is not fun for m

Re: [pygtk] subclasses

2004-07-29 Thread Xavier Ordoquy
On Thu, 2004-07-29 at 11:23 +0200, Marco Mariani wrote: > I've just upgraded my app to gtk2, and got this message: Could you be more precise about the gtk2 version ? Regards, Xavier. -- "Complexity has nothing to do with intelligence. Simplicity does." (Larry Bossidy, CEO, Allied

[pygtk] subclasses

2004-07-29 Thread Marco Mariani
I've just upgraded my app to gtk2, and got this message: TypeError: pixmap_create_from_xpm() argument 1 must be gtk.gdk.Window, not Xyz Xyz is a subclass of [a subclass of] Window, and it worked flawlessly with version 0.6.9 Is this behaviour intended? Thanks __

Re: [pygtk] subclasses and attributes

2000-10-26 Thread James Henstridge
On Thu, 26 Oct 2000, Alexandre Fayolle wrote: > Hi, > > I have a class derived from GtkDialog, and set up a callback on a button > using connect_object and passing the derived dialog as an argument. > The problem is that when the dialog is passed to to callback function, it > has been cast into

[pygtk] subclasses and attributes

2000-10-26 Thread Alexandre Fayolle
Hi, I have a class derived from GtkDialog, and set up a callback on a button using connect_object and passing the derived dialog as an argument. The problem is that when the dialog is passed to to callback function, it has been cast into a GtkWindow object and I cannot access the controld I defin