>>>>> "Jasper" == Jasper Groenewegen <[EMAIL PROTECTED]> writes:

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

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

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

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

Duh, of course, silly me. But why did I never needed that while
using glade...

      Vincent

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

Reply via email to