Carousel
A paginated scrolling widget.
The AdwCarousel
widget can be used to display a set of pages with swipe-based navigation between them.
class@CarouselIndicatorDots and class@CarouselIndicatorLines can be used to provide page indicators for AdwCarousel
.
CSS nodes
AdwCarousel
has a single CSS node with name carousel
.
Constructors
Properties
Whether to allow swiping for more than one page at a time.
Sets whether the AdwCarousel
can be dragged with mouse pointer.
Whether the widget will respond to scroll wheel events.
Whether the carousel can be navigated.
Page reveal duration, in milliseconds.
Scroll animation spring parameters.
Functions
This signal is emitted after a page has been changed.
Gets whether to allow swiping for more than one page at a time.
Sets whether @self can be dragged with mouse pointer.
Gets whether @self will respond to scroll wheel events.
Gets the progress @self will snap back to after the gesture is canceled.
Gets the swipe distance of @self.
Gets whether @self can be navigated.
Gets the page at position @n.
Gets current scroll position in @self, unitless.
Gets the current progress of @self.
Gets the page reveal duration, in milliseconds.
Gets the scroll animation spring parameters for @self.
Gets spacing between pages in pixels.
Gets the area @self can start a swipe from for the given direction and gesture type.
Sets whether to allow swiping for more than one page at a time.
Sets whether @self can be dragged with mouse pointer.
Sets whether @self will respond to scroll wheel events.
Sets whether @self can be navigated.
Sets the page reveal duration, in milliseconds.
Sets the scroll animation spring parameters for @self.
Sets spacing between pages in pixels.