CarouselIndicatorLines

class CarouselIndicatorLines(**properties: Any)

Superclasses: Widget, InitiallyUnowned, Object

Implemented Interfaces: Accessible, Buildable, ConstraintTarget, Orientable

A lines indicator for Carousel.

https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1-latest/carousel-indicator-lines.png

The AdwCarouselIndicatorLines widget shows a set of lines for each page of a given Carousel. The carousel’s active page is shown as another line that moves between them to match the carousel’s position.

See also CarouselIndicatorDots.

CSS nodes

AdwCarouselIndicatorLines has a single CSS node with name carouselindicatorlines.

Constructors

class CarouselIndicatorLines
classmethod new() Widget

Creates a new AdwCarouselIndicatorLines.

Methods

class CarouselIndicatorLines

Gets the displayed carousel.

Sets the displayed carousel.

Parameters:

carousel – a carousel

Properties

class CarouselIndicatorLines
props.carousel: Carousel

The displayed carousel.