if (withTimer):
self.conditionCheckTimer = eTimer()
- self.conditionCheckTimer.timeout.get().append(self.update)
+ self.conditionCheckTimer.callback.append(self.update)
self.conditionCheckTimer.start(1000)
def postWidgetCreate(self, instance):
self.blinking = False
self.setBlinkTime(500)
self.timer = eTimer()
- self.timer.timeout.get().append(self.blink)
+ self.timer.callback.append(self.blink)
def setBlinkTime(self, time):
self.blinktime = time