On 10/10/2014 19:51, cru...@gmail.com wrote:
Hello. I'm trying to make a colour blink when an event occurs.
But the program is displaying only the last colour:
self.bttn.bind('<ButtonRelease-Return>',blink)
def blink(self, event=None):
lbl['background'] = 'red'
sleep(0.5)
lbl.['background'] = 'SystemButtonFace'
Can you help?
Telling us what platform you're on, your OS, Python version and the
actual GUI helps in cases like this.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list