Niklas Volbers wrote:

Hello everyone,

I have made the transition to gtk.UIManager.

Now I am wondering if it is possible to right-justify an item in a menu bar.  I 
would like to have the 'help' menu on the right side.  Google was no friend of 
mine, since the example for the UIManager includes the text 'justify'.

Any help would be appreciated,



I think you have to retrieve the help menu and set it to be right justified, for example:

helpmenu = uimanager.get_widget('/Menubar/HelpMenu')
helpmenu.set_right_justifed(True)

where '/Menubar/HelpMenu' is the path to the help menu in uimanager.

John
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to