-from HTMLComponent import *
-from GUIComponent import *
-from VariableValue import *
-from VariableText import *
+from HTMLComponent import HTMLComponent
+from GUIComponent import GUIComponent
+from VariableValue import VariableValue
from enigma import eSlider
self.min = min
self.max = max
- def createWidget(self, parent):
- g = eSlider(parent)
- g.setRange(self.min, self.max)
- return g
+ GUI_WIDGET = eSlider
+
+ def postWidgetCreate(self, instance):
+ instance.setRange(self.min, self.max)