[Java-gnome-developer] How to send key press event using java?
Brought to you by:
afcowie
From: Niranjan R. <nh...@gm...> - 2013-01-21 01:39:03
|
Greetings, I would like to do something similar to http://stackoverflow.com/questions/6796191/how-to-send-key-events-to-webkit-webview-control or similar to copied answer from stack overflow question. I could see the handlers for receiving events, but could not see anything that can emit the events. How can I achieve this? event = gtk.gdk.Event(gtk.gdk.KEY_PRESS) event.keyval = gtk.keysyms.Return event.time = 0 browser.emit('key-press-event', event) Regards, Niranjan |