def METHOD_NAME(self, event):
    step = self.OUT_QUAD(self.animStep, 0, 10, self.animDuration)
    self.animCount = 10 - step
    self.animStep += self.animPeriod
    if self.animStep > self.animDuration or self.animCount < 0:
        self.animCount = 0
        self.animTimer.Stop()
    self.Refresh()