def _enabled_changed(self):
        if self.control is not None:
            self.control.setEnabled(self.enabled)
Called when our 'enabled' trait is changed.
dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/action/action_item.py/_Tool._enabled_changed