You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think keypress bindings work properly in
Tkinter. When I bind "<Any-KeyPress>" to a method of a
Frame-derived class, it does not work under Windows XP
(not sure about other OSes).
Here is a code snippet I am using. Please, see the file
attached for the actual code.
the canvas doesn't have keyboard focus, so all keyboard
events goes elsewhere. to move focus to the canvas, call
self.canvas.focus_set() at the appropriate place (e.g. in the
onButton1 handler)
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: