Flap.setSwipeToClose

void setSwipeToClose(bool swipeToClose)

Sets whether self can be closed with a swipe gesture.

The area that can be swiped depends on the adw.flap.Flap.transitionType value.

Parameters

swipeToClosewhether self can be closed with a swipe gesture

Deprecated