HdyCarouselIndicatorLines

HdyCarouselIndicatorLines — A lines indicator for HdyCarousel

Functions

Properties

HdyCarousel * carousel Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkDrawingArea
                ╰── HdyCarouselIndicatorLines

Implemented Interfaces

HdyCarouselIndicatorLines implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Description

The HdyCarouselIndicatorLines widget can be used to show a set of thin and long rectangles for each page of a given HdyCarousel. The carousel's active page is shown with another rectangle that moves between them to match the carousel's position.

CSS nodes

HdyCarouselIndicatorLines has a single CSS node with name carouselindicatorlines.

Functions

hdy_carousel_indicator_lines_new ()

GtkWidget *
hdy_carousel_indicator_lines_new (void);

Create a new HdyCarouselIndicatorLines widget.

Returns

The newly created HdyCarouselIndicatorLines widget.

[transfer full]

Since: 1.0


hdy_carousel_indicator_lines_get_carousel ()

HdyCarousel *
hdy_carousel_indicator_lines_get_carousel
                               (HdyCarouselIndicatorLines *self);

Get the HdyCarousel the indicator uses.

See: hdy_carousel_indicator_lines_set_carousel()

Parameters

Returns

the HdyCarousel, or NULL if none has been set.

[nullable][transfer none]

Since: 1.0


hdy_carousel_indicator_lines_set_carousel ()

void
hdy_carousel_indicator_lines_set_carousel
                               (HdyCarouselIndicatorLines *self,
                                HdyCarousel *carousel);

Sets the HdyCarousel to use.

Parameters

self

a HdyCarouselIndicatorLines

 

carousel

a HdyCarousel.

[nullable]

Since: 1.0

Types and Values

HDY_TYPE_CAROUSEL_INDICATOR_LINES

#define HDY_TYPE_CAROUSEL_INDICATOR_LINES (hdy_carousel_indicator_lines_get_type())

HdyCarouselIndicatorLines

typedef struct _HdyCarouselIndicatorLines HdyCarouselIndicatorLines;

Property Details

The “carousel” property

  “carousel”                 HdyCarousel *

The HdyCarousel the indicator uses.

Flags: Read / Write

Since: 1.0

See Also

HdyCarousel, HdyCarouselIndicatorDots