

def __setValue(self, unused, value):
    with Gaffer.UndoContext(self.getPlug().ancestor(Gaffer.ScriptNode)):
        self.getPlug().setValue(value)

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferImageUI/ChannelMaskPlugValueWidget.py ChannelMaskPlugValueWidget.__setValue/original