def __init__(self, parent, menu, item, controller):

        self.item = item

        self.control_id = 1
        self.control = None

        if controller is not None:
            self.controller = controller
            controller.add_to_menu(self)

        return
Creates a new menu item for an action item.
dataset/ETHPy150Open enthought/pyface/pyface/ui/null/action/action_item.py/_MenuItem.__init__