get_device_position


Description:

public bool get_device_position (Device device, out double x, out double y, out ModifierType mask)

Obtains the current device position and modifier state.

The position is given in coordinates relative to the upper left corner of this.

Parameters:

this

a `GdkSurface`

device

pointer `GdkDevice` to query to

x

return locatio for the X coordinate of device, or null

y

return location for the Y coordinate of device, or null

mask

return location for the modifier mask, or null

Returns:

true if the device is over the surface