def create_tool_menu(self): return actions.create_action_menu(self.TOOL_ACTIONS, self.on_tool_activate)
def create_action_menu(self, acts): """Create a menu for the context.""" return actions.create_action_menu(acts, self.on_menuitem_activate)