Re: How can I emulate a mouse click event at a specific location in my code?
- Date: Fri, 9 Nov 2007 16:32:14 +0000
- From: jcupitt@xxxxxxxxx
- Subject: Re: How can I emulate a mouse click event at a specific location in my code?
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
- References:
- How can I emulate a mouse click event at a specific location in my code?
- From: ying lcs
- Re: How can I emulate a mouse click event at a specific location in my code?
- From: jcupitt
- Re: How can I emulate a mouse click event at a specific location in my code?
- From: ying lcs
- Re: How can I emulate a mouse click event at a specific location in my code?
- From: mmassonnet
- Re: How can I emulate a mouse click event at a specific location in my code?
- From: ying lcs
- How can I emulate a mouse click event at a specific location in my code?
- Prev by Date: Re: How can I emulate a mouse click event at a specific location in my code?
- Next by Date: Filechooser: enter dirs with one click
- Previous by thread: Re: How can I emulate a mouse click event at a specific location in my code?
- Next by thread: Re: gtk-list Digest, Vol 43, Issue 8
- Index(es):