Re: How to simulate a key down/up event with gtk+?



jiang wrote:

Hi,

I am trying to simulate a key down/up event with gtk+? How can I do
that? Is there something equivalent to keybd_event() in Windows?

Thanks a lot in advance!

Richard

Hello,
You can simulate events with gdk_event_put():
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Events.html

I dont know what the 'keybd_event()' is (it's probably not Win32 API call)...

Olexiy





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