Obtains the current device position and modifier state.
The position is given in coordinates relative to the upper left corner of this.
this |
a `GdkSurface` |
device |
pointer `GdkDevice` to query to |
x |
return location for the X coordinate of |
y |
return location for the Y coordinate of |
mask |
return location for the modifier mask |
true if the device is over the surface |