Package: gdk

Function gdk:surface-device-position

Lambda List

gdk:surface-device-position (surface device)

Arguments

surface -- a gdk:surface object
device -- a gdk:device object

Return Value

x -- a double float with the x coordinate of device
y -- a double float with the y coordinate of device
mask -- a gdk:modifier-type value

Details

Obtains the current device position in doubles and modifier state. The position is given in coordinates relative to the upper left corner of surface. Returns false if the device is not over the surface.
 

See also

#2023-4-8