[pygtk] [Fwd: Gtk.Box, homogeneous and expand]

Jérôme jerome at jolimont.fr
Tue Jan 3 23:27:11 WST 2012


Tue, 03 Jan 2012 11:31:42 -0300
craf a écrit:

> Hi.
> 
> Test this...

[...]

>         self.hbox1 = gtk.HBox()
>         self.hbox2 = gtk.HBox(True)
>         self.hbox1.pack_start(self.hbox2, False)

The box in the box. Good call.

Thanks for the tip.

I still don't get the logic of it all : it seems unnecessarily complicated and
misleading to me.

And I don't see how to use that if I have two pack_start() and one pack_end()
and want all my objects to be of the same size, like this :

[|abc|| a |          | . |]

-- 
Jérôme


More information about the pygtk mailing list