Re: Is there a function to move the cursor to a specific x, y ?
- From: "Timothy M. Shead" <tshead k-3d com>
- To: hopeye cfl rr com
- Cc: GTK+ mailing list <gtk-app-devel-list gnome org>
- Subject: Re: Is there a function to move the cursor to a specific x, y ?
- Date: 11 Jan 2002 09:18:27 -0800
On Fri, 2002-01-11 at 07:27, Jim Parker wrote:
G'Day !
I looked thru the obvious gdk header files and the gdk reference manual,
but nothing seemed to do the job.
I am trying to move the cursor to a specific x, y location on a gtkglarea.
Looking for something like:
gdk_move_cursor(GtkWidget *widget, gfloat x, gfloat y);
Does such a function exist ?
You'll have to use XWarpPointer() from xlib. If you use C++, the SDPGTK
library, http://www.k-3d.com, includes several portable methods for
doing this and simulating user input.
Tim Shead
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]