1 from HTMLComponent import *
2 from GUIComponent import *
3 from VariableText import *
5 from enigma import eLabel
7 class Label(HTMLComponent, GUIComponent, VariableText):
8 def __init__(self, text=""):
9 GUIComponent.__init__(self)
10 VariableText.__init__(self)
14 def produceHTML(self):
18 def createWidget(self, parent):
22 s = self.instance.calculateSize()
23 return (s.width(), s.height())