cleanup
[enigma2.git] / lib / python / Components / Header.py
1 from HTMLComponent import *
2 from GUIComponent import *
3 from VariableText import *
4
5 from enigma import eLabel
6
7 class Header(VariableText, HTMLComponent, GUIComponent):
8
9         def __init__(self, message):
10                 GUIComponent.__init__(self)
11                 VariableText.__init__(self)
12                 self.setText(message)
13         
14         def produceHTML(self):
15                 return "<h2>" + self.getText() + "</h2>\n"
16
17         GUI_WIDGET = eLabel