Il giorno mar, 03/11/2009 alle 18.25 -0600, Raymond Maple ha scritto: > Hello, > I've used uimanager to construct a popup menu that contains a > <menu> with several <menuitem>s as follows: > > popup1 = """<ui> > <popup name='Curve1'> > <menuitem action = 'Edit_Curve'/> > <menuitem action = 'Delete_Selected'/> > <menu action = 'Display'> > <menuitem action = 'Hide_Selection'/> > <menuitem action = 'No_Points'/> > <menuitem action = 'End_Points'/> > <menuitem action = 'All_Points'/> > </menu> > </popup> > </ui>""" > > The resulting menu displays correctly, but the submenu action > callbacks only execute If I click on the "Display" menu item to open > up the submenu, and then click on the sub-item.. If i just hover over > 'Display' until the submenu opens and then release over one of the > submenu items, the action callback is not executed. I've tried > similar menus in a menubar, and they work correctly (hover-release > executes the callback). Is this a "feature" of gtk popups, or is > there something I am missing?
Take a look at https://bugzilla.gnome.org/show_bug.cgi?id=533492 , which also suggests a workaround. Pietro _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/