Global HotKeys in Win & X11

I need to create a global hotkey for my application, and it should work under X11 and Windows.

+3
source share
2 answers

What GUI tool do you use? Typically, global hotkeys are handled by the Desktop or Window Manager. I do not believe that the Python built-in toolkit (tkinter) can create global hotkeys. You can see xlib for Unix and win lib for windows.

+4
source

Just an add-on - in windows, if you use wxpython in your application, you can register a hotkey . Example here

0

Source: https://habr.com/ru/post/1706758/


All Articles