Problem binding <Up> and <Down> events

j_mckitrick j_mckitrick at bigfoot.com
Tue May 4 14:27:17 EDT 2004


> if a keyboard binding doesn't work as you expect it to, it's usually because
> focus is somewhere else.  when in doubt, add a widget.focus_set() call to
> the appropriate location.

It turns out I had to bind the event to the Toplevel container, not
the listbox.  Not sure why that is the case, but it works now.

Thanks



More information about the Python-list mailing list