(as with [gdk.device.Device.getWindowAtPosition]), or null if the window is not known to GDK.
Window.getDevicePosition
gdk.window.Window getDevicePosition(gdk.device.Device device, out int x, out int y, out gdk.types.ModifierType mask)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.Window.getDevicePositionDouble] if you need subpixel precision.
Parameters
device | pointer #GdkDevice 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