Пример #1
0
 def __init__(self, context):
     Widget.__init__(self, context)
     self.manager = PowerManager.get(self.context)
Пример #2
0
 def __init__(self, context):
     Widget.__init__(self, context)
Пример #3
0
 def __init__(self, context):
     Widget.__init__(self, context)
     self.last_update = None
Пример #4
0
 def __init__(self, context):
     self.context = context
     self.widgets = dict((x.id, x) for x in Widget.all(self.context))
Пример #5
0
 def __init__(self, context):
     self.context = context
     self.widgets = {x.id: x for x in Widget.all(self.context)}
Пример #6
0
 def __init__(self, context):
     self.context = context
     self.widgets = dict((x.id, x) for x in Widget.all(self.context))