I am trying to convert a oe2.0 plugin to oe2.2 - and get this error re eTimer:-
self.updateTimer.callback.append(self.updateStatus)
AttributeError: 'eTimer' object has no attribute 'callback'
What should I use instead of callback.append ?
I am trying to convert a oe2.0 plugin to oe2.2 - and get this error re eTimer:-
self.updateTimer.callback.append(self.updateStatus)
AttributeError: 'eTimer' object has no attribute 'callback'
What should I use instead of callback.append ?
You have to create a connection object and drop that object then if you want to close the timer again. You can see an example (that is even compatible with both OE 2.0 and OE 2.2) there: http://schwerkraft.elitedvb.ne…4ace46b58e0761f3a8d71ea4c
See Dreambox 7080- es scheint los zugehen for reference.
self.updateTimer = eTimer()
self.updateTimer_conn = self.updateTimer.timeout.connect(self.updateStatus)
Thank you both - that worked !
Where and how can we create a connection object ?
First link of@morphu is dead,could not understand the second link.
"self.updateTimer = eTimer()
self.updateTimer_conn = self.updateTimer.timeout.connect(self.updateStatus) "