stop service before scanning
[enigma2.git] / lib / python / Screens / ClockDisplay.py
1 from Screen import Screen
2
3 # a clock display dialog
4 class ClockDisplay(Screen):
5         def okbutton(self):
6                 self.session.close()
7         
8         def __init__(self, session, clock):
9                 Screen.__init__(self, session)
10                 self["theClock"] = clock
11                 b = Button("bye")
12                 b.onClick = [ self.okbutton ]
13                 self["okbutton"] = b
14                 self["title"] = Header("clock dialog: here you see the current uhrzeit!")
15