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 in double precision.

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

Parameters:

this

pointer Device to query info to.

win_x

return location for the X coordinate of the device location, relative to the surface origin, or null.

win_y

return location for the Y coordinate of the device location, relative to the surface origin, or null.

Returns:

the Surface under the device position, or null.