RE: How to create submenus using UIManager



Thank you. The one thing I did not try was putting a menu tag
as a child of a menu tag in the XML.  

Much appreciated!
Stewart

> -----Original Message-----
> From: g tagliaretti gmail com [mailto:g tagliaretti gmail com]On Behalf
> Of Gian Mario Tagliaretti
> Sent: Sunday, November 04, 2007 3:40 PM
> To: stewart weiss acm org
> Cc: Sergio Perticone; gtk+ maling list
> Subject: Re: How to create submenus using UIManager
> 
> 
> 2007/11/4, Stewart Weiss <stewart weiss acm org>:
> > This just creates the menubar with the pull-down menus for the
> > File and Edit menus. That much I know. But I am trying to creating
> > submenus of the pull-down menus, and nothing I have tried works.
> > For example, like in a View menu, suppose I want a menu item
> > labelled "Toolbars" that brings up a menu with various toolabrs in it.
> 
> Have a look at pygtk-demo, it has sub-menu:
> 
> http://svn.gnome.org/viewvc/pygtk/trunk/examples/pygtk-demo/demos/
> ui_manager.py?revision=2435&view=markup
> 
> cheers
> -- 
> Gian Mario Tagliaretti


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]