Vasek has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
Could someone help me in how to catch the simultaneous pressing of AltGr (or left Alt + Control) and any other character in a Tk application? Specifically, I want to catch the asterisk (*) character, even if it is not pressed on NumPad. If I print out the character codes (or texts) with XEvent, I see the AltGr and minus key codes (or texts) /keysym=Alt_R, numberic=65514 and keysym=minus, numberic=45/ in sequence.Something like "<KeyPress-Asterisk>" would be best, but unfortunately there is no such thing ("bad event type or keysym").
Thanks in advance for your help!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Binding AltGr + minus key (=asterisk)
by choroba (Cardinal) on May 01, 2024 at 21:36 UTC | |
by Anonymous Monk on May 01, 2024 at 23:00 UTC |