window <->
smooth_scroll: boolIf @on, every
scroll step of a trackpad or high resolution wheel over this window
generates a wheel or horizontal_wheel event. The
event<-rotation of such an event may be a
fraction of a notch (15). If @off
(default), steps are added up and an event is generated for each whole
notch. The built-in handlers add up the fractions as well: the window
scrolls in whole pixels, an editor or list_browser in whole lines. Code
that handles wheel events itself should do the same, or use the precise event<-dy
and
event<-dx. The default comes from the
class variable
window.smooth_scroll.
- See also
- class wheel_data