get_window_at_pointer


Description:

public unowned Window get_window_at_pointer (int win_x, int win_y)

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

Note:

Use gdk_device_get_window_at_position instead.

Returns null if the window under the mouse pointer is not known to GDK (for example, belongs to another application).

Parameters:

this

a Display

win_x

return location for x coordinate of the pointer location relative to the window origin, or null

win_y

return location for y coordinate of the pointer location relative & to the window origin, or null

Returns:

the window under the mouse pointer, or null