Window.atPointer

Warning gdk_window_at_pointer has been deprecated since version 3.0 and should not be used in newly-written code. Use gdk_device_get_window_at_position() instead. 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.

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

Parameters

winX int

return location for origin of the window under the pointer. out[allow-none]

winY int

return location for origin of the window under the pointer. out[allow-none]

Return Value

Type: Window

window under the mouse pointer. [transfer none]

Meta