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?

thanks!
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to