Window.getDevicePositionDouble

gdk.window.Window getDevicePositionDouble(gdk.device.Device device, out double x, out double y, out gdk.types.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 window.

Parameters

devicepointer #GdkDevice to query to.
xreturn location for the X coordinate of device, or null.
yreturn location for the Y coordinate of device, or null.
maskreturn location for the modifier mask, or null.

Returns

The window underneath device

(as with [gdk.device.Device.getWindowAtPosition]), or null if the window is not known to GDK.