def __init__(self, **opts): self.forward = collections.OrderedDict() ## name: value self.reverse = collections.OrderedDict() ## value: name if 'values' in opts: opts['limits'] = opts['values'] Parameter.__init__(self, **opts)
def __init__(self, *args, **kargs): Parameter.__init__(self, *args, **kargs) if self.opts['type'] == 'color': self.value = self.colorValue
def __init__(self): Parameter.__init__(self) self.__display = False self.__fixed = False self.__x_index = None self.__y_index = None