Skip to content
Advertisement

Tag: numpad

Cannot bind NumPad minus key on Linux with Tkinter

I encountered an issue regarding KeyPress binds in tkinter when switching between Windows and Linux while using a NumPad. Using self.bind(“-“, function) works on Windows, however is not triggered on Linux. With the following code snippet I found out that the events of a keyboard-minus differs from a numpad-minus. Code: Output: Is there a way to make Linux recognize the

Advertisement