def _on_action_visible_changed(self, action, trait_name, old, new):

        self.control.Enable(action.visible and action.enabled)

        return
Called when the visible trait is changed on an action.
dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/action/action_item.py/_MenuItem._on_action_visible_changed