diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-07-08 16:41:35 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-07-08 16:41:35 +0000 |
| commit | 98c4b5bb004e9297bffa8e1c3572572741fda933 (patch) | |
| tree | fcd68e1dc4f97d0778348ae54e637368a80186ae /lib/python/Components/VariableValue.py | |
| parent | db493da3936b21410730a1c299b4c6937d56ca4e (diff) | |
| download | enigma2-98c4b5bb004e9297bffa8e1c3572572741fda933.tar.gz enigma2-98c4b5bb004e9297bffa8e1c3572572741fda933.zip | |
- skins are now loaded first and applied later
- this allows use skin information to build special eWidgets, depending on skin
- add "applet"-feature: code which is executed from skin
- example: centering of messagebox
Diffstat (limited to 'lib/python/Components/VariableValue.py')
| -rw-r--r-- | lib/python/Components/VariableValue.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/python/Components/VariableValue.py b/lib/python/Components/VariableValue.py index c94218fe..8f0cef4c 100644 --- 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""" @@ -13,8 +15,8 @@ class VariableValue: 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): |
