I'm looking for something like
---------
display = gdk_display_get_default ();
screen = gdk_display_get_default_screen (display);
/* get cursor position */
gdk_display_get_pointer (display, NULL, &x, &y, NULL);
/* set new cusor position */
x += xadd;
y += yadd;
gdk_display_warp_pointer (display, screen, x, y);
On Wed, Aug 17, 2011 at 11:52 PM, Benjamin Root <[email protected]> wrote:
>
>
> On Wednesday, August 17, 2011, Mathew Yeates <[email protected]> wrote:
>> Does anyone have an example showing how to change the cursor position
>> using the key pad instead of the mouse?
>>
>>
>> -Mathew
>>
>
> Are you talking about externally to mpl or within mpl? I have some code
> from a couple of months ago that automated graph interaction that allowed me
> to exactly reproduce various actions so I could profile the execution.
>
> It uses the Gtk accessibility framework to control the mouse.
>
> Ben Root
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users