Adw.CarouselIndicatorLines¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Gtk.Orientable (2)
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Adw.CarouselIndicatorLines(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A lines indicator for [class`Carousel`].
<picture> <source srcset=”carousel-indicator-dots-lines.png” media=”(prefers-color-scheme: dark)”> <img src=”carousel-indicator-lines.png” alt=”carousel-indicator-lines”> </picture>
The
AdwCarouselIndicatorLines
widget shows a set of lines for each page of a given [class`Carousel`]. The carousel’s active page is shown as another line that moves between them to match the carousel’s position.See also [class`CarouselIndicatorDots`].
- CSS nodes
AdwCarouselIndicatorLines
has a single CSS node with namecarouselindicatorlines
.- classmethod new()¶
- Returns:
the newly created
AdwCarouselIndicatorLines
- Return type:
Creates a new
AdwCarouselIndicatorLines
.
- get_carousel()¶
- Returns:
the displayed carousel
- Return type:
Adw.Carousel
orNone
Gets the displayed carousel.
- set_carousel(carousel)¶
- Parameters:
carousel (
Adw.Carousel
orNone
) – a carousel
Sets the displayed carousel.
Property Details¶
- Adw.CarouselIndicatorLines.props.carousel¶
- Name:
carousel
- Type:
- Default Value:
- Flags:
The displayed carousel.