Edward Stow wrote:
Hi,

I'm having trouble packing a toolbar.

I require a toolbar with 3 buttons packed to the left and one that is
always on the right. As illustrated below.

[Button1__Button2__Button3__________________________________Button4]

Packing the three to the left is ok.  This is the default behaviour of
glade when constructing the toolbar.

My question is how to have the right button (button4) on the right hand side.

I tried adding a ToolbarItem, with a HBox  and the button in the the
last hbox container.

Running this does not work - even though glade shows the button on the
right hand side.

Any suggestions:

Thanks

Have you tried to do a pack_start() on buttons1--3 and a pack_end() on button4, or with glade set the buttons pack type to start/end.


Regards Neil.
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to