예제 #1
0
 def __init__(self, context):
     self.context = context
     self.widgets = dict((x.id, x) for x in Widget.all(self.context))
예제 #2
0
 def __init__(self, context):
     Widget.__init__(self, context)
예제 #3
0
 def __init__(self, context):
     Widget.__init__(self, context)
     self.manager = PowerManager.get(self.context)