Obtains the current device position and modifier state.
The position is given in coordinates relative to the upper left corner of @surface.
pointer GdkDevice to query to
return locatio for the X coordinate of @device, or %NULL
return location for the Y coordinate of @device, or %NULL
return location for the modifier mask, or %NULL
%TRUE if the device is over the surface
See Implementation
Obtains the current device position and modifier state.
The position is given in coordinates relative to the upper left corner of @surface.