diff options
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/config.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index c7421842..f8e8fd13 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -30,9 +30,17 @@ def configEntry(obj): class Config: def __init__(self): pass - def Slider(self): # ok??? + def Slider(self,reg): # ok??? pass + def getControlType(self, reg): + print "getControlType " + reg + #find the correct type in class-members + if reg == "blasel": + return configBoolean(reg) + + return configBoolean(reg) + config = Config(); class ConfigSubsection: |
