diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-12-07 23:57:57 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-12-07 23:57:57 +0000 |
| commit | 02aac9d371ca28b52a0c0b635b38fbb912f596ed (patch) | |
| tree | 17d854ef0c6b9b75ac5c875f1b411c3736b7b439 /lib/python/Components | |
| parent | 9e5302959633b3276c813cac9427fbefbbb08d18 (diff) | |
| download | enigma2-02aac9d371ca28b52a0c0b635b38fbb912f596ed.tar.gz enigma2-02aac9d371ca28b52a0c0b635b38fbb912f596ed.zip | |
implement often wished feature :)
displaying snr, agc and ber in the infobar
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/ProgressBar.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/python/Components/ProgressBar.py b/lib/python/Components/ProgressBar.py index 68824d5a..00b1bbe3 100644 --- a/lib/python/Components/ProgressBar.py +++ b/lib/python/Components/ProgressBar.py @@ -11,7 +11,15 @@ class ProgressBar(HTMLComponent, GUIComponent, VariableValue): VariableValue.__init__(self) def createWidget(self, parent): - g = eSlider(parent) - g.setRange(0, 100) - return g - + self.g = eSlider(parent) + self.g.setRange(0, 100) + return self.g + + def setRange(self, start, end): + self.g.setRange(start, end) + + def setValue(self, value): + self.g.setValue(value) + + + |
