Package: gdk

Function gdk-device-state

Lambda List

gdk-device-state (device window)

Arguments

device -- a gdk-device object
window -- a gdk-window object

Return Value

axes -- a list of :double numbers with the axes value
mask -- a value of the gdk-modifier-type flags, or nil

Details

Gets the current state of a pointer device relative to the window. As a slave device coordinates are those of its master pointer. This function may not be called on devices of type :slave, unless there is an ongoing grab on them. See the function gdk-device-grab.
 

See also

2021-12-13