Class CarouselIndicatorLines

All Implemented Interfaces:
PointerInterface

public class CarouselIndicatorLines extends Widget
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 name
`carouselindicatorlines`.

https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.CarouselIndicatorLines.html

  • Constructor Details

    • CarouselIndicatorLines

      public CarouselIndicatorLines(PointerContainer pointer)
    • CarouselIndicatorLines

      public CarouselIndicatorLines()
      Creates a new `AdwCarouselIndicatorLines`.
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getCarousel

      public Carousel getCarousel()
      Gets the displayed carousel.
      Returns:
      the displayed carousel
    • setCarousel

      public void setCarousel(@Nullable Carousel carousel)
      Sets the displayed carousel.
      Parameters:
      carousel - a carousel
    • asAccessible

      public Accessible asAccessible()
      Implements interface Accessible. Call this to get access to interface functions.
      Overrides:
      asAccessible in class Widget
      Returns:
      Accessible
    • asBuildable

      public Buildable asBuildable()
      Implements interface Buildable. Call this to get access to interface functions.
      Overrides:
      asBuildable in class Widget
      Returns:
      Buildable
    • asConstraintTarget

      public ConstraintTarget asConstraintTarget()
      Implements interface ConstraintTarget. Call this to get access to interface functions.
      Overrides:
      asConstraintTarget in class Widget
      Returns:
      ConstraintTarget
    • asOrientable

      public Orientable asOrientable()
      Implements interface Orientable. Call this to get access to interface functions.
      Returns:
      Orientable
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()