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]