How does one inject keystrokes in a gtk program? Let's say I'm writing a test case for a library written with gtk, the test case is going to be linked against the library (so I don't need this to work across processes), and the test case just wants to bring an existing window to the foreground and send a key to it. Does one just call g_signal_emit with http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#GtkWidget-key-press-event and then http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#GtkWidget-key-release-event ? _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list