get_surface_at_position


Description:

public unowned Surface? get_surface_at_position (out double win_x, out double win_y)

Obtains the surface underneath this, returning the location of the device in win_x and win_y.

Returns null if the surface tree under this is not known to GDK (for example, belongs to another application).

Parameters:

this

pointer `GdkDevice` to query info to

win_x

return location for the X coordinate of the device location relative to the surface origin

win_y

return location for the Y coordinate of the device location relative to the surface origin

Returns:

the `GdkSurface` under the device position