- split 2 (Screens)
[enigma2.git] / lib / python / Screens / ClockDisplay.py
diff --git a/lib/python/Screens/ClockDisplay.py b/lib/python/Screens/ClockDisplay.py
new file mode 100644 (file)
index 0000000..8c1e292
--- /dev/null
@@ -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!")
+