Package: gdk

Function gdk:window-device-position-double

Lambda List

gdk:window-device-position-double (window device)

Arguments

window -- a gdk:window object
device -- a gdk:device object to query to

Return Value

win -- a gdk:window object underneath device, as with the gdk:device-window-at-position function, or nil if the window is not known to GDK
x -- a double float with the x coordinate of the device
y -- a double float with the y coordinate of the device
mask -- a gdk:modifier-type value

Details

Obtains the current device position in doubles and the modifier state. The position is given in coordinates relative to the upper left corner of the window.
 

See also

#2023-2-26