aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/VolumeBar.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/VolumeBar.py')
-rw-r--r--lib/python/Components/VolumeBar.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/python/Components/VolumeBar.py b/lib/python/Components/VolumeBar.py
new file mode 100644
index 00000000..6eace42c
--- /dev/null
+++ b/lib/python/Components/VolumeBar.py
@@ -0,0 +1,15 @@
+from HTMLComponent import *
+from GUIComponent import *
+from VariableValue import *
+
+class VolumeBar(HTMLComponent, GUIComponent, VariableValue):
+
+ def __init__(self):
+ GUIComponent.__init__(self)
+ VariableValue.__init__(self)
+
+ def createWidget(self, parent, skindata):
+ g = eSlider(parent)
+ g.setRange(0, 100)
+ return g
+