pointer GdkDevice to query to.
return location for the X coordinate of device, or NULL. out[allow-none]
return location for the Y coordinate of device, or NULL. out[allow-none]
return location for the modifier mask, or NULL. out[allow-none]
The window underneath device (as with gdk_device_get_window_at_position()), or NULL if the window is not known to GDK. [transfer none] Since 3.0
Obtains the current device position and modifier state. The position is given in coordinates relative to the upper left corner of window. Use gdk_window_get_device_position_double() if you need subpixel precision.