def _enabled_changed(self):

        self.tool_bar.EnableTool(self.control_id, self.enabled and self.visible)

        return
Called when our 'enabled' trait is changed.
dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/action/action_item.py/_Tool._enabled_changed