

def setFrameRange(self, startFrame, endFrame):
    newRange = (startFrame, endFrame)
    if (newRange == self.__frameRange):
        return
    self.__frameRange = newRange
    self.frameRangeChangedSignal()(self)

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUI/Playback.py Playback.setFrameRange/original