Swipeable

An interface for swipeable widgets.

The adw.swipeable.Swipeable interface is implemented by all swipeable widgets.

See class@SwipeTracker for details about implementing it.

Members

Functions

getCancelProgress
double getCancelProgress()

Gets the progress self will snap back to after the gesture is canceled.

getDistance
double getDistance()

Gets the swipe distance of self.

getProgress
double getProgress()

Gets the current progress of self.

getSnapPoints
double[] getSnapPoints()

Gets the snap points of self.

getSwipeArea
void getSwipeArea(adw.types.NavigationDirection navigationDirection, bool isDrag, gdk.rectangle.Rectangle rect)

Gets the area self can start a swipe from for the given direction and gesture type.