Exemplo n.º 1
0
 def create_tool_menu(self):
   return actions.create_action_menu(self.TOOL_ACTIONS,
                                     self.on_tool_activate)
Exemplo n.º 2
0
 def create_action_menu(self, acts):
   """Create a menu for the context."""
   return actions.create_action_menu(acts, self.on_menuitem_activate)
Exemplo n.º 3
0
 def create_tool_menu(self):
     return actions.create_action_menu(self.TOOL_ACTIONS,
                                       self.on_tool_activate)