How do I get the full name of an event? For example, Event.keysym only shows “c” for an event triggered by "<Control-c>". How can I get the “Control” too?
How do I get the full name of an event? For example, Event.keysym only
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Event.state holds the OR’d together states of the modifier keys. So you could try something like:
See here for more details.