Device.getPositionDouble

Gets the current location of device in double precision. As a slave device's 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 gdk_device_grab().

class Device
void
getPositionDouble
(,
out double x
,
out double y
)

Parameters

screen Screen

location to store the GdkScreen the device is on, or NULL. out[transfer none][allow-none]

x double

location to store root window X coordinate of device, or NULL. out[allow-none]

y double

location to store root window Y coordinate of device, or NULL. out[allow-none] Since 3.10

Meta