[ Version ( deprecated = true , deprecated_since = "3.0" , since = "2.2" ) ]
public unowned Window? get_window_at_pointer (out int win_x, out int win_y)
Warning: get_window_at_pointer is deprecated since 3.0.
Obtains the window underneath the mouse pointer, returning the location of the pointer in that window in win_x
, win_y
for screen
.
Use 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).
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 |
the window under the mouse pointer, or null |