get_window_at_position
Description:
[ Version ( since = "3.0" ) ]
public unowned Window? get_window_at_position (out int win_x, out int win_y)
public unowned Window? get_window_at_position (out int win_x, out int win_y)
Obtains the window underneath this, returning the location of the device in win_x and
win_y.
Returns null if the window tree under this is not known to GDK (for example, belongs to another application).
As a slave device coordinates are those of its master pointer, This function may not be called on devices of type gdk_device_type_slave, unless there is an ongoing grab on them, see grab.
Parameters:
| this |
pointer Device to query info to. |
| win_x |
return location for the X coordinate of the device location, relative to the window origin, or null. |
| win_y |
return location for the Y coordinate of the device location, relative to the window origin, or null. |
Returns:
|
the Window under the device position, or null. |