aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/ClockDisplay.py
blob: 8c1e292404c307db4a8dcb12d8e4e7c6fb70eb26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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!")