get_window_at_position_double


Description:

[ Version ( since = "3.0" ) ]
public unowned Window? get_window_at_position_double (out double win_x, out double win_y)

Obtains the window underneath this, returning the location of the device in win_x and win_y in double precision.

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.




2022 vala-language.org