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 gdk.Window hasn’t been created for it with Window.foreignNew)

NOTE: For multihead-aware widgets or applications use 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: Window

window under the mouse pointer

Detailed Description

Deprecated: Use Device.getWindowAtPosition instead.