def __init__(self, overlay, repaint, callafter=None): Blinker.__init__(self, 0.2, 0.5, 0.05, callback=repaint) self.overlay = overlay self.callafter = callafter
def run(self, msec=None, callafter=None): # Show overlay without fading in. self.overlay.value = 0.5 self.overlay.shown = True Blinker.run(self, msec, callafter)
def __init__(self, repaint, callafter=None): Blinker.__init__(self, 0.4, 0.8, 0.05, callback=repaint) self.coord = None self.callafter = callafter