Window.atPointer

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.

More...
class Window
static
atPointer
(
out int winX
,
out int winY
)

Parameters

winX int

return location for origin of the window under the pointer

winY int

return location for origin of the window under the pointer

Return Value

Type: gdk.window.Window

window under the mouse pointer

Detailed Description

Deprecated: Use gdk.device.Device.getWindowAtPosition instead.