[wx 2.6.3, Linux Fedora 5, gcc version 4.1.1] Hooking keyboard

David Hart google.groups.DavidHart at dfgh.net
Mon Sep 4 07:42:13 PDT 2006


"Marcio Andrey Oliveira" wrote:
> Thanks by your answer.
>
> I did find a function in Xlib (XGrabKeyboard) that I will try to use.
>
> Now I would like call Xlib from wxWidgets programs. Does anyone can
> point me some documents that show how to do this?
> //snip

You just #include the headers you need. There's an example of this in
.../wxGTK-2.6.3/src/unix/utilsx11.cpp

Regards,

David







More information about the wx-users mailing list