Re: How to capture keystrokes when GTK menu is open?



On Wed, 2007-02-21 at 08:27 +1100, Justin Clift wrote:
[...]
Unsure if it gives keyboard events for the whole window system or not,
but I'll play with it and find out!

Heh no it wont, David pointed out one way of getting at "all" keyboard
events - basically you need permission from the X server - as a GUI
application - its not in your rights to recieve all keyboard events,
you only get keyboard events when a window in your application has
keyboard focus, this is not a limitation of GTK+ but a limitation
of the X server (the server just wont send the events to the client).

Cheers,
                  -Tristan





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