1 from HTMLComponent import *
2 from GUIComponent import *
3 from VariableText import *
5 #from enigma import eTimer
6 #from enigma import eLabel
11 # now some "real" components:
13 class Clock(HTMLComponent, GUIComponent, VariableText):
15 VariableText.__init__(self)
16 GUIComponent.__init__(self)
19 self.clockTimer = eTimer()
20 self.clockTimer.timeout.get().append(self.doClock)
21 self.clockTimer.start(1000)
26 #HACK use timezone settings
27 timestr = "%2d:%02d:%02d" % (t[3] + 2, t[4], t[5])
31 # realisierung als GUI
32 def createWidget(self, parent):
35 def removeWidget(self, w):
39 def produceHTML(self):