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

Method OnTimer

gui/builtinShipBrowser/pfBitmapFrame.py:28–39  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

26 self.Refresh()
27
28 def OnTimer(self, event):
29 self.transp += 20 * self.direction
30 if self.transp > 200:
31 self.transp = 200
32 self.timer.Stop()
33 if self.transp < 0:
34 self.transp = 0
35 self.timer.Stop()
36 super().Show(False)
37 self.Destroy()
38 return
39 self.SetTransparent(self.transp)
40
41 def Show(self, showWnd=True):
42 if showWnd:

Callers

nothing calls this directly

Calls 3

StopMethod · 0.80
ShowMethod · 0.45
DestroyMethod · 0.45

Tested by

no test coverage detected