diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-05-05 23:38:38 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-05-05 23:38:38 +0000 |
| commit | a4da9cccc2575c4bf299bde9594dad3e049ddf6a (patch) | |
| tree | 3064290f3ab9cfebdcaba577dc98c610fcc78139 /lib/python/Screens/ClockDisplay.py | |
| parent | 81ae5bd362286a852f0851043bfccf1c754f3152 (diff) | |
| download | enigma2-a4da9cccc2575c4bf299bde9594dad3e049ddf6a.tar.gz enigma2-a4da9cccc2575c4bf299bde9594dad3e049ddf6a.zip | |
- split 2 (Screens)
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!") + |
