(self, event)
| 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 |