git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add openWithCallback and return values
[enigma2.git]
/
lib
/
python
/
Components
/
VariableValue.py
diff --git
a/lib/python/Components/VariableValue.py
b/lib/python/Components/VariableValue.py
index c94218fe7e0515c35614cfa0747747b24cd71353..8f0cef4c5ecc415f966554075ba3a6405e4208c7 100644
(file)
--- a/
lib/python/Components/VariableValue.py
+++ b/
lib/python/Components/VariableValue.py
@@
-1,3
+1,5
@@
+import skin
+
class VariableValue:
"""VariableValue can be used for components which have a variable value (like eSlider), based on any widget with setValue call"""
class VariableValue:
"""VariableValue can be used for components which have a variable value (like eSlider), based on any widget with setValue call"""
@@
-13,8
+15,8
@@
class VariableValue:
def getValue(self):
return self.value
def getValue(self):
return self.value
- def GUIcreate(self, parent
, skindata
):
- self.instance = self.createWidget(parent
, skindata
)
+ def GUIcreate(self, parent):
+ self.instance = self.createWidget(parent)
self.instance.setValue(self.value)
def GUIdelete(self):
self.instance.setValue(self.value)
def GUIdelete(self):