Re: XGrabKey



Alex Levin wrote:
Hi Mario.  I did something very similar in my app.  Now that you are
using X functions to process those keys, you need to handle them with X
instead of GTK.  So, keep your GTK key handler for regular keys, but for
the keys you've grabbed use something like the following.

I'm not sure if it's equivalent (I think its pretty much the same),
but if you want to stick to the GTK+ api, you can use:

http://developer.gnome.org/doc/API/2.0/gtk/gtk-General.html#gtk-key-snooper-install

Cheers,
                     -Tristan



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