[ Version ( since = "3.0" ) ]
public unowned Window? get_device_position (Device device, out int x, out int y, out ModifierType mask)
Obtains the current device position and modifier state.
The position is given in coordinates relative to the upper left corner of this.
Use get_device_position_double if you need subpixel precision.
this |
a Window. |
device |
pointer Device 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, or null. |
The window underneath |