:right-sidebar: True CarouselIndicatorLines =================================================================== .. currentmodule:: gi.repository.Adw .. class:: CarouselIndicatorLines(**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 lines indicator for :obj:`~gi.repository.Adw.Carousel`\. .. image:: 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 :obj:`~gi.repository.Adw.Carousel`\. The carousel's active page is shown as another line that moves between them to match the carousel's position. See also :obj:`~gi.repository.Adw.CarouselIndicatorDots`\. CSS nodes -------------------------------------------------------------------------------- ``AdwCarouselIndicatorLines`` has a single CSS node with name ``carouselindicatorlines``\. Constructors ------------ .. rst-class:: interim-class .. class:: CarouselIndicatorLines :no-index: .. classmethod:: new() -> ~gi.repository.Gtk.Widget Creates a new ``AdwCarouselIndicatorLines``\. Methods ------- .. rst-class:: interim-class .. class:: CarouselIndicatorLines :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:: CarouselIndicatorLines :no-index: .. attribute:: props.carousel :type: ~gi.repository.Adw.Carousel The type of the None singleton.