Mysterious tkinter bug: tk.Button doesn't think it passed event <1>
ben.a.elam at gmail.com
Fri Jul 3 00:33:52 CEST 2015
I've stripped things down to the least amount of code necessary to reproduce the error. I can make tk.Button handle event '<3>' but not event '<1>'. That is, the function the event is passed to receives the event and can even print the address of the event object, but a callback later produces an error suggesting that no event was actually passed to the function. Also, tk.Label handles '<1>' without problem. What gives?
Code, errors, and slightly more details here:
I hope I'm just doing something dumb; any help would be much appreciated.
More information about the Python-list