tkinter -- why doesn't this work?

Gabor Papp rod at inf.bme.hu
Fri Jun 9 04:10:27 EDT 2000


use frame.bind_all("<Key>", callback) instead of .bind
i don't know an exact explanation why it is needed,
but i think that a frame widget does not handle key events,
if you use bind on an entry widget which deals with keypresses
it works.
bye,
Gabor Papp



More information about the Python-list mailing list