コード例 #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))