Fine Tkinter Question

Rony rony.steelandt at bucodi.com
Fri Feb 8 03:10:59 EST 2002


Mariano Corsunsky <core.lists.python at core-sdi.com> wrote in message news:<mailman.1013104932.12965.python-list at python.org>...
> Hi there!
> 
> I have a Tkinter window which opens a 2nd one in which I want to close 
> it
> when you hit the <"Return"> key upon the "Close" button. But..... isn't
> working.
> ...

What you're saying in your text is you want to hit the 'Return' key on
the BUTTON, so IMHO you have to bind the return-key event on the
BUTTON...

Rony



More information about the Python-list mailing list