device position, or null.
Device.getWindowAtPosition
gdk.window.Window getWindowAtPosition(out int winX, out int winY)Obtains the window underneath device, returning the location of the device in win_x and win_y. Returns null if the window tree under device is not known to GDK (for example, belongs to another application).
As a slave device coordinates are those of its master pointer, This function may not be called on devices of type gdk.types.DeviceType.Slave, unless there is an ongoing grab on them, see gdk.device.Device.grab.
Parameters
winX | return location for the X coordinate of the device location, relative to the window origin, or null. |
winY | return location for the Y coordinate of the device location, relative to the window origin, or null. |
Returns
the #GdkWindow under the