Пример #1
0
 def Select(self, status):
     InSpaceBracket.Select(self, status)
     if status:
         self.SetCapacityBarPercentage(self.GetSiphonCapacityUsage())
         self.capacityBar.state = uiconst.UI_NORMAL
     else:
         self.capacityBar.state = uiconst.UI_HIDDEN
         self.SetHint('')
Пример #2
0
 def Select(self, status):
     if bool(status) != self.Showing():
         InSpaceBracket.Select(self, status)
         self.Update()