[pygtk] Receive events without focus

Thomas Guettler guettli at thomas-guettler.de
Fri May 31 16:44:54 WST 2013


Hi,

I write a native GUI with gtk, which needs to receive keyboard events although the window does not have the focus.

The gtk window should be minified and run in background. If the user types a shortcut, the window should get on the 
foreground and get the focus.

Up to now the shortcut does not matter. It should be easy and fast to be entered and should not clash with a shortcut 
which is already in use.

The GUI should run on linux and windows.

How to implement this?

I guess this needs to be implemented in a platform specific way. If you know the answer for one platform, let me know.

I asked the same question here: http://stackoverflow.com/questions/16834326/receive-shortcuts-without-focus

  Thanks,
    Thomas

-- 
Thomas Guettler http://www.thomas-guettler.de/


More information about the pygtk mailing list