[pygtk] UImanager menu and popup

Timo timomlists at gmail.com
Sat Nov 27 21:42:29 WST 2010


I use UImanager to build the menubar in my program. Like this:

<ui>
   <menubar name="MenuBar">
      <menu action="PersonMenu">
         <menuitem action="Edit"/>
         <menuitem action="Remove"/>
         <menuitem action="Information"/>
         <menuitem action="GoTo"/>
      </menu>
   </menubar>
</ui>

Now I'd like to have this PersonMenu also show up as I right click on a row
in a treeview, this to avoid maintaining 2 menus when I add/remove/edit
entries. Is it possible?

Cheers,
Timo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20101127/f144a75b/attachment.html>


More information about the pygtk mailing list