Pike v8.1 release 6

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.