Device.getPositionDouble
void getPositionDouble(out gdk.screen.Screen screen, out double x, out double y)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.types.DeviceType.Slave, unless there is an ongoing grab on them. See gdk.device.Device.grab.
Parameters
screen | location to store the #GdkScreen the device is on, or null. |
x | location to store root window X coordinate of device, or null. |
y | location to store root window Y coordinate of device, or null. |