Adw.CarouselIndicatorDots¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (17), 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.CarouselIndicatorDots(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A dots indicator for [class`Carousel`].
<picture> <source srcset=”carousel-indicator-dots-dark.png” media=”(prefers-color-scheme: dark)”> <img src=”carousel-indicator-dots.png” alt=”carousel-indicator-dots”> </picture>
The
AdwCarouselIndicatorDotswidget shows a set of dots for each page of a given [class`Carousel`]. The dot representing the carousel’s active page is larger and more opaque than the others, the transition to the active and inactive state is gradual to match the carousel’s position.See also [class`CarouselIndicatorLines`].
- CSS nodes
AdwCarouselIndicatorDotshas a single CSS node with namecarouselindicatordots.- classmethod new()¶
- Returns:
the newly created
AdwCarouselIndicatorDots- Return type:
Creates a new
AdwCarouselIndicatorDots.
- get_carousel()¶
- Returns:
the displayed carousel
- Return type:
Adw.CarouselorNone
Gets the displayed carousel.
- set_carousel(carousel)¶
- Parameters:
carousel (
Adw.CarouselorNone) – a carousel
Sets the displayed carousel.
Property Details¶
- Adw.CarouselIndicatorDots.props.carousel¶
- Name:
carousel- Type:
- Default Value:
- Flags:
The displayed carousel.