1 from Tools.Event import Event
2 from Components.Element import cached
3 from enigma import eTimer
6 from Source import Source
11 self.clock_timer = eTimer()
12 self.clock_timer.timeout.get().append(self.poll)
13 self.clock_timer.start(1000)
19 time = property(getClock)
22 self.changed((self.CHANGED_POLL,))
24 def doSuspend(self, suspended):
26 self.clock_timer.stop()
28 self.clock_timer.start(1000)