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