Obtains the current pointer position and modifier state. The position is given in coordinates relative to the upper left corner of window.
return location for X coordinate of pointer or NULL to not return the X coordinate
return location for Y coordinate of pointer or NULL to not return the Y coordinate
return location for modifier mask or NULL to not return the modifier mask
the window containing the pointer (as with Window.atPointer), or NULL if the window containing the pointer isn’t known to GDK
Deprecated: Use Window.getDevicePosition instead.