SwipeTracker
A swipe tracker used in class@Carousel, class@NavigationView and class@OverlaySplitView.
The AdwSwipeTracker object can be used for implementing widgets with swipe gestures. It supports touch-based swipes, pointer dragging, and touchpad scrolling.
The widgets will probably want to expose the property@SwipeTracker:enabled property. If they expect to use horizontal orientation, property@SwipeTracker:reversed can be used for supporting RTL text direction.
Constructors
Properties
Whether to allow swiping for more than one snap point at a time.
Whether to allow dragging with mouse pointer.
Whether to allow touchscreen swiping from GtkWindowHandle.
Whether to allow swiping past the first available snap point.
Whether to allow swiping past the last available snap point.
Functions
Emits the "begin-swipe" signal. See onBeginSwipe.
Emits the "end-swipe" signal. See onEndSwipe.
Emits the "prepare" signal. See onPrepare.
Emits the "update-swipe" signal. See onUpdateSwipe.
This signal is emitted right before a swipe will be started, after the drag threshold has been passed.
This signal is emitted as soon as the gesture has stopped.
This signal is emitted when a possible swipe is detected.
This signal is emitted every time the progress value changes.
Moves the current progress value by @delta.