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