Пример #1
0
 def create_tool_menu(self):
   return actions.create_action_menu(self.TOOL_ACTIONS,
                                     self.on_tool_activate)
Пример #2
0
 def create_action_menu(self, acts):
   """Create a menu for the context."""
   return actions.create_action_menu(acts, self.on_menuitem_activate)
Пример #3
0
 def create_tool_menu(self):
     return actions.create_action_menu(self.TOOL_ACTIONS,
                                       self.on_tool_activate)