Vincent Ladeuil wrote:
>      Jasper>  In this case: 
> http://www.pygtk.org/docs/pygtk/class-gtkalignment.html
>
> No gtkalignment in a VBox AFAIK.

AFAIK a gtk.alignment is an element like any other (textbox, checkbox, 
divider, etc). As such, you can .add() or .pack_start() it like any 
other. The only thing it does is displace the element you pack/add 
inside the alignment by the specified amount.

So for a 2 button vbox:
vbox.add(button1)
vbox.add(button2)

you would displace button1 through (pseudocodish)
vbox.add(align1)
align1.add(button1)
align1.set(alignment somehow)
vbox.add(button2)

Jasper

-- 
bzr-gtk mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.canonical.com/mailman/listinfo/bzr-gtk

Reply via email to