Package: gdk

Function gdk:device-surface-at-position

Lambda List

gdk:device-surface-at-position (device)

Syntax

(gdk:device-surface-at-postion device) => surface, xwin, ywin

Arguments

device -- a gdk:device object
surface -- a gdk:surface object under the device position
xwin -- a double float for the x coordinate of the device location
ywin -- a double float for the y coordinate of the device location

Details

Obtains the surface underneath device, returning the location of the device in xwin and ywin in double precision. Returns nil if the surface tree under device is not known to GDK, for example, belongs to another application.
 

See also

2025-07-31