adw.swipeable
Module for [Swipeable] interface
Types 2
interfaceSwipeable
An interface for swipeable widgets.
The [adw.swipeable.Swipeable] interface is implemented by all swipeable widgets.
See class@SwipeTracker for details about implementing it.
Methods
double getCancelProgress()Gets the progress self will snap back to after the gesture is canceled. Returns: the cancel progress, unitlessdouble getDistance()Gets the swipe distance of self.double getProgress()Gets the current progress of self. Returns: the current progress, unitlessdouble[] getSnapPoints()Gets the snap points of self.void getSwipeArea(adw.types.NavigationDirection navigationDirection, bool isDrag, out gdk.rectangle.Rectangle rect)Gets the area self can start a swipe from for the given direction and gesture type.interfaceSwipeableGidBuilderImpl(T)