Package: gdk
Accessor gdk-event-scroll-direction
Lambda Listgdk-event-scroll-direction (instance) SyntaxArgumentsDetails Accessor of the direction slot of the gdk-event-scroll
structure. The gdk-scroll-direction function extracts the scroll direction from a
scroll event. If you wish to handle both discrete and smooth scrolling, you should check the return value of this function, or of the gdk-event-scroll-deltas function. For instance: GdkScrollDirection direction; double vscroll_factor = 0.0; double x_scroll, y_scroll; | See also |
2021-12-13