How can you check if a key is currently pressed using Tkinter in Python? -
Is there a way to find the currently pressed keys by using the tanker? If possible, I do not want to use additional libraries. I can already know when the key is pressed, but I can check at any time what key is being pressed at this time.
I think you need to keep track of events about pressing keys And continue (maintaining its own set of currently pressed "key") - I do not think it is so that keep track of it for you (and the tikenator actually adds very little to the top of the buck, This is mostly its direct interface).
Comments
Post a Comment