Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.GdkDisplay

Method GTK2.GdkDisplay()->warp_pointer()


Method warp_pointer

GDK2.Display warp_pointer(GTK2.GdkScreen screen, int x, int y)

Description

Warps the pointer to the point x,y on the screen, unless the pointer is confined to a window by a grab, in which case it will be moved as far as allowed by the grab. Warping the pointer creates events as if the user had moved the mouse instantaneously to the destination.