Re: [Java-gnome-developer] How to send key press event using java?
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2013-01-21 03:37:58
|
<http://java-gnome.sourceforge.net/doc/api/4.1/org/gnome/gtk/Test.html#sendKey(org.gnome.gtk.Widget, org.gnome.gdk.Keyval, org.gnome.gdk.ModifierType)> might be what you want, though, as mentioned that's very much for testing. If you're trying to "make something happen" that's bound to a keystroke, then you might be better off with Actions and triggering the action() directly. AfC Sydney |