Re: Injecting input inside a gtk program?



On Thu, Jun 18, 2009 at 5:46 PM, Dan Kegel<dank kegel com> wrote:
> How does one inject keystrokes in a gtk program?

http://mail.gnome.org/archives/gtk-app-devel-list/2004-July/msg00016.html
shows how to do it with
gdk_keymap_get_entries_for_keyval() and gtk_main_do_event().

(Presumably if you want to send input to a specific window
you would call that window's methods instead, but
that doesn't work if you want the keystrokes to
be processed via IME's, etc.)


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