some work on DVB-T
[enigma2.git] / lib / python / Screens / SimpleSummary.py
1 from Screens.Screen import Screen
2
3 class SimpleSummary(Screen):
4         skin = """
5         <screen position="0,0" size="132,64">
6                 <widget name="Clock" position="50,46" size="82,18" font="Regular;16" />
7                 <widget name="Title" position="0,4" size="132,42" font="Regular;18" />
8         </screen>"""
9         def __init__(self, session, root_screen):
10                 from Components.Label import Label
11                 from Components.Clock import Clock
12                 Screen.__init__(self, session)
13                 self["Clock"] = Clock()
14                 self["Title"] = Label(root_screen.title)
15
16         def setTitle(self, title):
17                 self["Title"].setText(title)