Re: [pygtk] Re: Re: Cannot subclass gtk.Widget

2007-03-12 Thread Gustavo J. A. M. Carneiro
On Sex, 2007-03-09 at 11:05 -0500, John Dennis wrote: On Fri, 2007-03-09 at 10:38 -0500, John Dennis wrote: On Fri, 2007-03-09 at 08:10 -0700, Jeffrey Barish wrote: Gustavo J. A. M. Carneiro wrote: Another, more complex, example can be found here:

[pygtk] Re: Re: Cannot subclass gtk.Widget

2007-03-10 Thread Jeffrey Barish
Gustavo J. A. M. Carneiro wrote: Another, more complex, example can be found here: http://telecom.inescporto.pt/~gjc/higcontainer/higcontainer.py By studying the examples, I have learned a lot about subclassing. I have two questions about this example. It seems desirable to me that it be

Re: [pygtk] Re: Re: Cannot subclass gtk.Widget

2007-03-10 Thread Gustavo J. A. M. Carneiro
On Sáb, 2007-03-10 at 09:54 -0700, Jeffrey Barish wrote: Gustavo J. A. M. Carneiro wrote: Another, more complex, example can be found here: http://telecom.inescporto.pt/~gjc/higcontainer/higcontainer.py By studying the examples, I have learned a lot about subclassing. I have two

[pygtk] Re: Re: Cannot subclass gtk.Widget

2007-03-09 Thread Jeffrey Barish
Gustavo J. A. M. Carneiro wrote: Another, more complex, example can be found here: http://telecom.inescporto.pt/~gjc/higcontainer/higcontainer.py Thanks to everyone for the examples. Is there documentation anywhere on the do_ methods that they all contain? I guess that when a Widget receives

Re: [pygtk] Re: Re: Cannot subclass gtk.Widget

2007-03-09 Thread John Dennis
On Fri, 2007-03-09 at 08:10 -0700, Jeffrey Barish wrote: Gustavo J. A. M. Carneiro wrote: Another, more complex, example can be found here: http://telecom.inescporto.pt/~gjc/higcontainer/higcontainer.py Thanks to everyone for the examples. Is there documentation anywhere on the do_

Re: [pygtk] Re: Re: Cannot subclass gtk.Widget

2007-03-09 Thread John Dennis
On Fri, 2007-03-09 at 10:38 -0500, John Dennis wrote: On Fri, 2007-03-09 at 08:10 -0700, Jeffrey Barish wrote: Gustavo J. A. M. Carneiro wrote: Another, more complex, example can be found here: http://telecom.inescporto.pt/~gjc/higcontainer/higcontainer.py Thanks to everyone for

Re: [pygtk] Re: Re: Cannot subclass gtk.Widget

2007-03-09 Thread Paul Pogonyshev
John Dennis wrote: Could it be that 'do_' method naming is not subclassing but rather auto-magic signal connecting via method naming convention? Either way, I never did find any documentation on it. It could be, but is not the case. do_*() methods *do* override default class handlers. Paul