MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / OnTimer

Method OnTimer

gui/utils/anim.py:39–50  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

37 self.animTimer.Stop()
38
39 def OnTimer(self, event):
40 self.animCount += self.animDir
41
42 if self.animCount >= self.bars:
43 self.animCount = self.bars - 1
44 self.animDir = -1
45
46 if self.animCount < 0:
47 self.animCount = 0
48 self.animDir = 1
49
50 self.Refresh()
51
52 def OnEraseBackground(self, event):
53 pass

Callers

nothing calls this directly

Calls 1

RefreshMethod · 0.45

Tested by

no test coverage detected