X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6b7b7977a92c9a092763bf699cba85347f9f2ec6..4bc08995411e21f3564f09e136809be68ddf96a8:/components.py diff --git a/components.py b/components.py index bd4c068f..8015621f 100644 --- a/components.py +++ b/components.py @@ -241,3 +241,19 @@ class MenuList(HTMLComponent, GUIComponent): def GUIdeleteInstance(self, g): g.setContent(None) + +class ServiceList(HTMLComponent, GUIComponent): + def __init__(self): + GUIComponent.__init__(self) + self.l = eListboxServiceContent() + + def GUIcreateInstance(self, priv, parent, skindata): + g = eListbox(parent) + g.setContent(self.l) + return g + + def GUIdeleteInstance(self, g): + g.setContent(None) + + def setRoot(self, root): + self.l.setRoot(root)