1 from HTMLComponent import *
2 from GUIComponent import *
4 from enigma import eListboxPythonStringContent, eListbox
6 class MenuList(HTMLComponent, GUIComponent):
7 def __init__(self, list):
8 GUIComponent.__init__(self)
9 self.l = eListboxPythonStringContent()
13 return self.l.getCurrentSelection()
15 def GUIcreate(self, parent):
16 self.instance = eListbox(parent)
17 self.instance.setContent(self.l)
20 self.instance.setContent(None)