Carousel


Object Hierarchy:

Adw.Carousel Adw.Carousel Adw.Carousel Gtk.Widget Gtk.Widget Gtk.Widget->Adw.Carousel GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Adw.Carousel Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Adw.Carousel Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Adw.Carousel Gtk.ConstraintTarget->Gtk.Widget Adw.Swipeable Adw.Swipeable Adw.Swipeable->Adw.Carousel Gtk.Orientable Gtk.Orientable Gtk.Orientable->Adw.Carousel

Description:

[ CCode ( type_id = "adw_carousel_get_type ()" ) ]
public sealed class Carousel : Widget, Swipeable, Accessible, Buildable, ConstraintTarget, Orientable

A paginated scrolling widget.

<picture> <source srcset="carousel-dark.png" media="(prefers-color-scheme: dark)"> <img src="carousel.png" alt="carousel"> </picture>

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`.


Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Adw.Swipeable
All known members inherited from interface Gtk.Orientable