at_pointer


Description:

[ Version ( deprecated = true , deprecated_since = "3.0" ) ]
public static weak Window at_pointer (out int win_x, out int win_y)

Warning: at_pointer is deprecated since "3.0".

Obtains the window underneath the mouse pointer, returning the location of that window in win_x, win_y.

Note:

Use get_window_at_position instead.

Returns null if the window under the mouse pointer is not known to GDK (if the window belongs to another application and a Window hasn’t been created for it with gdk_window_foreign_new )

NOTE: For multihead-aware widgets or applications use get_window_at_pointer instead.

Parameters:

win_x

return location for origin of the window under the pointer

win_y

return location for origin of the window under the pointer

Returns:

window under the mouse pointer