def connectToObject(self, obj): PropertyChangeTracker.connectToObject(self, obj) self.timeline = obj.timeline self.timeline.connect("commited", self._timelineCommitedCb)
def disconnectFromObject(self, obj): self.timeline.disconnect_by_func(self._timelineCommitedCb) PropertyChangeTracker.disconnectFromObject(self, obj)
def __init__(self): PropertyChangeTracker.__init__(self)
def disconnectFromObject(self, obj): return self.timeline.disconnect_by_func(self._timelineDisableUpdatesCb) PropertyChangeTracker.disconnectFromObject(self, obj)
def _propertyChangedCb(self, clip, value, property_name): if not self._disabled: PropertyChangeTracker._propertyChangedCb(self, clip, value, property_name)
def connectToObject(self, obj): PropertyChangeTracker.connectToObject(self, obj) self.timeline = obj.timeline self.timeline.connect("disable-updates", self._timelineDisableUpdatesCb)
def _propertyChangedCb(self, timeline_object, value, property_name): if not self._disabled: PropertyChangeTracker._propertyChangedCb(self, timeline_object, value, property_name)