diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-07 14:39:36 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-07 14:39:36 +0000 |
| commit | 7ee8589392aca17526ca30264689f204afc9646a (patch) | |
| tree | fc2438628d321be48978c45afe791380c4b7a27d /lib/python/Components/Slider.py | |
| parent | 22143de3c8c4780166beeb1e0a1575768c76bfe4 (diff) | |
| download | enigma2-7ee8589392aca17526ca30264689f204afc9646a.tar.gz enigma2-7ee8589392aca17526ca30264689f204afc9646a.zip | |
use steps in startwizard
Diffstat (limited to 'lib/python/Components/Slider.py')
| -rw-r--r-- | lib/python/Components/Slider.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/python/Components/Slider.py b/lib/python/Components/Slider.py new file mode 100644 index 00000000..dae13d9c --- /dev/null +++ b/lib/python/Components/Slider.py @@ -0,0 +1,19 @@ +from HTMLComponent import * +from GUIComponent import * +from VariableValue import * +from VariableText import * + +from enigma import eSlider + +class Slider(HTMLComponent, GUIComponent, VariableValue): + def __init__(self, min, max): + VariableValue.__init__(self) + GUIComponent.__init__(self) + + self.min = min + self.max = max + + def createWidget(self, parent): + g = eSlider(parent) + g.setRange(self.min, self.max) + return g
\ No newline at end of file |
