[pygtk] Re: Cannot subclass gtk.Widget
Gustavo J. A. M. Carneiro
gjc at inescporto.pt
Fri Mar 9 22:33:21 WST 2007
On Sex, 2007-03-09 at 03:04 +0200, Paul Pogonyshev wrote:
> Jeffrey Barish wrote:
> > I still don't understand what to do if my widget is composed of other
> > widgets (rather than Cairo drawing and text).
>
> Normally, you just use boxes or something else to align those widgets.
> Or subclass e.g. gtk.HBox. However, if you feel adventurous, you can
> play with this incomplete but working example:
Another, more complex, example can be found here:
http://telecom.inescporto.pt/~gjc/higcontainer/higcontainer.py
Cheers.
--
Gustavo J. A. M. Carneiro
<gjc at inescporto.pt> <gustavo at users.sourceforge.net>
The universe is always one step beyond logic.
More information about the pygtk
mailing list