Window.atPointer

gdk.window.Window atPointer(out int winX, out int winY)

Obtains the window underneath the mouse pointer, returning the location of that window in win_x, win_y. Returns null if the window under the mouse pointer is not known to GDK (if the window belongs to another application and a #GdkWindow hasn’t been created for it with gdk_window_foreign_new())

NOTE: For multihead-aware widgets or applications use gdk.display.Display.getWindowAtPointer instead.

Parameters

winXreturn location for origin of the window under the pointer
winYreturn location for origin of the window under the pointer

Returns

window under the mouse pointer

Deprecated