Re: Injecting input inside a gtk program?

On Fri, Jun 26, 2009 at 5:38 AM, Dan Kegel<dank kegel com> wrote:
>>> How does one inject keystrokes in a gtk program?
>> shows how to do it with
>> gdk_keymap_get_entries_for_keyval() and gtk_main_do_event().
> Only that doesn't work in general, because gtk_main_do_event
> immediately ignores the event if it's not associated with
> a window.  Injecting via gdk_event_put() seems to work
> better for me.
seems to have a lot of interesting bits along that line...

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