Hi, I use uimanager with <menubar>, <toolbar> and <popup>, the same action defined as: ('Zoom-fit', gtk.STOCK_ZOOM_FIT, None, '<Control>z', None, self.on_zoom_fit), appear in menubar and popup. In menubar it does have an AccelLabel while in popup it doen't. Is there any reason?
Following the main step I do to create the popup from the same uimanager that works for menubar: <popup name="TreePopup"> ... <menuitem action="Zoom-fit" /> ... </popup> menu = self.ui_manager.get_widget('/TreePopup') menu.popup(None, None, None, event.button, event.time) TIA sandro *:-) -- Sandro Dentella *:-) http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/