On 11/9/07, ying lcs <[EMAIL PROTECTED]> 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
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to