PyGTK has a function gtk.gdk.get_pointer()
which will capture the x and y position of the mouse pointer, but I cannot find a functon to move the pointer to a desired position. Any help in this matter will be appreciated. A small code snippet that will cause the mouse pointer to position itself at (0,0) >> upper left corner of the window would be awesome.
which will capture the x and y position of the mouse pointer, but I cannot find a functon to move the pointer to a desired position. Any help in this matter will be appreciated. A small code snippet that will cause the mouse pointer to position itself at (0,0) >> upper left corner of the window would be awesome.