diff options
Diffstat (limited to 'lib/python/Screens/ClockDisplay.py')
| -rw-r--r-- | lib/python/Screens/ClockDisplay.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/python/Screens/ClockDisplay.py b/lib/python/Screens/ClockDisplay.py new file mode 100644 index 00000000..8c1e2924 --- /dev/null +++ b/lib/python/Screens/ClockDisplay.py @@ -0,0 +1,13 @@ +# a clock display dialog +class ClockDisplay(Screen): + def okbutton(self): + self.session.close() + + def __init__(self, session, clock): + Screen.__init__(self, session) + self["theClock"] = clock + b = Button("bye") + b.onClick = [ self.okbutton ] + self["okbutton"] = b + self["title"] = Header("clock dialog: here you see the current uhrzeit!") + |
