[pygtk] reparent problem
Frédéric
frederic.mantegazza at gbiloba.org
Mon Jun 30 02:58:17 WST 2008
On dimanche 29 juin 2008, John Stowers wrote:
> Why create a dummy widget at all? You could just pack the shooting
> widget into a container, likely the container that your dummy widget
> currently resides in.
That's a good suggestion! And it works :o)
The only bad point is I can't pack the widget at the correct place. I
defined a vbox with 3 childs, in glade. The last 2 are used for buttons
and so, and I would like to put my custom widget at the first place. But
when I use pack_start(), my custom widget is always at the end. I have to
use reorder_child() to put it at first.
Is there a better method?
--
Frédéric
http://www.gbiloba.org
More information about the pygtk
mailing list