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_get_window_at_pointer() 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: window under the mouse pointer

Detailed Description

Deprecated: Use gdk_device_get_window_at_position() instead.

Meta