:right-sidebar: True CarouselIndicatorDots =================================================================== .. currentmodule:: gi.repository.Adw .. class:: CarouselIndicatorDots(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.Widget`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gtk.Accessible`, :class:`~gi.repository.Gtk.Buildable`, :class:`~gi.repository.Gtk.ConstraintTarget`, :class:`~gi.repository.Gtk.Orientable` A dots indicator for :obj:`~gi.repository.Adw.Carousel`\. .. image:: https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1-latest/carousel-indicator-dots.png The ``AdwCarouselIndicatorDots`` widget shows a set of dots for each page of a given :obj:`~gi.repository.Adw.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 :obj:`~gi.repository.Adw.CarouselIndicatorLines`\. CSS nodes -------------------------------------------------------------------------------- ``AdwCarouselIndicatorDots`` has a single CSS node with name ``carouselindicatordots``\. Constructors ------------ .. rst-class:: interim-class .. class:: CarouselIndicatorDots :no-index: .. classmethod:: new() -> ~gi.repository.Gtk.Widget Creates a new ``AdwCarouselIndicatorDots``\. Methods ------- .. rst-class:: interim-class .. class:: CarouselIndicatorDots :no-index: .. method:: get_carousel() -> ~gi.repository.Adw.Carousel | None Gets the displayed carousel. .. method:: set_carousel(carousel: ~gi.repository.Adw.Carousel | None = None) -> None Sets the displayed carousel. :param carousel: a carousel Properties ---------- .. rst-class:: interim-class .. class:: CarouselIndicatorDots :no-index: .. attribute:: props.carousel :type: ~gi.repository.Adw.Carousel The type of the None singleton.