Re: Simulating mouse input with gdk_event_put()?

2009-10-01 Thread Dan Kegel
On Sun, Jun 28, 2009 at 8:20 AM, Dan Kegel d...@kegel.com wrote: I have figured out how to inject synthetic, or fake, keyboard events using gdk_event_put(), but I'm having trouble generating mock mouse events.  The function I'm trying to implement should take the X and Y coordinates of the

Re: Simulating mouse input with gdk_event_put()?

2009-07-07 Thread neoTheSavior
! - Dan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- View this message in context: http://www.nabble.com/Simulating-mouse-input-with-gdk_event_put%28%29

Simulating mouse input with gdk_event_put()?

2009-06-28 Thread Dan Kegel
I have figured out how to inject synthetic, or fake, keyboard events using gdk_event_put(), but I'm having trouble generating mock mouse events. The function I'm trying to implement should take the X and Y coordinates of the click relative to the app's window, and generate a click sufficient to