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

Method OnTimer

gui/chrome_tabs.py:1465–1478  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

1463 self.Refresh()
1464
1465 def OnTimer(self, event):
1466 self.transp += 20 * self.direction
1467
1468 if self.transp > 220:
1469 self.transp = 220
1470 self.timer.Stop()
1471
1472 if self.transp < 0:
1473 self.transp = 0
1474 self.timer.Stop()
1475 super().Show(False)
1476 self.Destroy()
1477 return
1478 self.SetTransparent(self.transp)
1479
1480 def RaiseParent(self):
1481 wnd = self

Callers

nothing calls this directly

Calls 3

StopMethod · 0.80
ShowMethod · 0.45
DestroyMethod · 0.45

Tested by

no test coverage detected