示例#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
 def __init__(self, context):
     self.context = context
     self.widgets = {x.id: x for x in Widget.all(self.context)}
 def __init__(self, context):
     self.context = context
     self.widgets = dict((x.id, x) for x in Widget.all(self.context))