get_device_position_double


Description:

[ Version ( since = "3.10" ) ]
public unowned Window? get_device_position_double (Device device, out double x, out double y, out ModifierType mask)

Obtains the current device position in doubles and modifier state.

The position is given in coordinates relative to the upper left corner of this.

Parameters:

this

a Window.

device

pointer Device to query to.

x

return location for the X coordinate of device, or null.

y

return location for the Y coordinate of device, or null.

mask

return location for the modifier mask, or null.

Returns:

The window underneath device (as with get_window_at_position), or null if the window is not known to GDK.