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 -- the 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 -- an double float with the x coordinate of the device
y -- an double float with the y coordinate of the device
mask -- the gdk-modifer-type flags

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

2021-9-25