Beispiel #1
0
 def __init__(self, *argc, **argv):
     for key in ('size', 'readonly'):
         setattr(self, key, argv.get(key, getattr(self, key)))
         if key in argv:
             del argv[key]
     Widget.__init__(self, *argc, **argv)
Beispiel #2
0
 def __init__(self, *argc, **argv):
     self.options = argv.get("options", {})
     if 'options' in argv:
         del argv['options']
     Widget.__init__(self, *argc, **argv)
Beispiel #3
0
 def __init__(self, *argc, **argv):
     self.path = argv.get('path', self.path)
     if "path" in argv:
         del argv["path"]
     Widget.__init__(self, *argc, **argv)