Re: How can I emulate a mouse click event at a specific location in my code?

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

 



On 11/9/07, ying lcs <yinglcs@xxxxxxxxx> wrote:
> Thank you. But i only have ' GtkWidget  *',   How can I get a get a
> GdkWindow in order to use XTestFakeMotionEvent?

You can use gtk_widget_get_toplevel() to get the GtkWindow that's
enclosing your GtkWidget, then (as long as the window is realized),
use GTK_WINDOW()->window to get the GdkWindow.

John
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux