From e635b7a6b5ba34a299c952833bff5158d6c09fad Mon Sep 17 00:00:00 2001 From: Ronny Strutz Date: Tue, 16 Aug 2005 18:45:26 +0000 Subject: fill configlist with correct entries --- lib/python/Components/config.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lib/python/Components') 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: -- cgit v1.2.3