Package: gdk

Function gdk:device-surface-at-position

Lambda List

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

Arguments

device -- a gdk:device object

Return Value

surface -- a gdk:surface object under the device position
xwin -- a double float with the x coordinate of the device location
ywin -- a double float with 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

2024-1-7