Re: What key is now pressed?



Jan wrote:
The main idea to know that key press or down in whole system,
not only if my window have focus.

I think this is as close as it gets using GTK+:
http://developer.gnome.org/doc/API/2.0/gtk/gtk-General.html#gtk-key-snooper-install

This callback will be called for every key
press /that gets delivered to your application/ so it isn't
system wide.

Cheers,
                                 -Tristan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]