MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / Animate

Method Animate

gui/pyfa_gauge.py:133–143  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131 return self._max_range
132
133 def Animate(self):
134 # sFit = Fit.getInstance()
135 if True:
136 if not self._timer:
137 self._timer = wx.Timer(self, self._timer_id)
138
139 self._anim_step = 0
140 self._timer.Start(self._period)
141 else:
142 self._anim_value = self._percentage
143 self.Refresh()
144
145 def SetRange(self, range, reinit=False, animate=True):
146 """

Callers 3

SetRangeMethod · 0.95
SetValueMethod · 0.95
SetValueRangeMethod · 0.95

Calls 1

RefreshMethod · 0.45

Tested by

no test coverage detected