Mysterious tkinter bug: tk.Button doesn't think it passed event <1>

Ben Elam ben.a.elam at gmail.com
Thu Jul 2 22:59:32 EDT 2015


On Thursday, July 2, 2015 at 5:54:50 PM UTC-5, Terry Reedy wrote:
> On 7/2/2015 6:33 PM, Ben Elam wrote:
> > 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:
> >
> > http://ingcake.github.io/2015/07/02/tkinter-feature-request---clickable-button/
> 
> This page has 'slightly more details' but no code or error messages and 
> no clickable links, just some red highlights for a few things like 
> buttons.py. So I cannot investigate.
> 
> -- 
> Terry Jan Reedy

Are you running, say NoScript? You'll need to allow javascript from github.




More information about the Python-list mailing list