Package: gdk

Function gdk:scroll-event-deltas

Lambda List

gdk:scroll-event-deltas (event)

Syntax

(gdk:scroll-event-deltas event) => xdelta, ydelta

Arguments

event -- a gdk:event instance
xdelta -- a double float for the x scroll delta
ydelta -- a double float for the y scroll delta

Details

Extracts the scroll deltas of a scroll event. The deltas will be zero unless the scroll direction is the :smooth value of the gdk:scroll-direction enumeration.
 

See also

#2025-07-19