예제 #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
파일: widget.py 프로젝트: kiarn/ajenti3
 def __init__(self, context):
     Widget.__init__(self, context)
     self.last_update = None
예제 #4
0
파일: views.py 프로젝트: Dolphi2/ajenti
 def __init__(self, context):
     self.context = context
     self.widgets = dict((x.id, x) for x in Widget.all(self.context))
예제 #5
0
파일: views.py 프로젝트: starnetwork/ajenti
 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))