Adw.CarouselIndicatorDots¶
- 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.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
AdwCarouselIndicatorDots
widget 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
AdwCarouselIndicatorDots
has 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.Carousel
orNone
Gets the displayed carousel.
- set_carousel(carousel)¶
- Parameters:
carousel (
Adw.Carousel
orNone
) – a carousel
Sets the displayed carousel.
Property Details¶
- Adw.CarouselIndicatorDots.props.carousel¶
- Name:
carousel
- Type:
- Default Value:
- Flags:
The displayed carousel.