-
Beta Was this translation helpful? Give feedback.
Answered by
Gasiro
Jun 18, 2024
Replies: 1 comment 3 replies
-
try replacing root1.bind("<Command_W>", on_closing)
root1.bind("<Command_A>", cmd_a) Hope it worked. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems not work either, but I found solution here, by using tkinter menubar to actually bind the command-w successfully:
https://stackoverflow.com/questions/71606975/tkinter-bind-mac-os-commandq