Handy.CarouselIndicatorLines

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.DrawingArea Gtk.DrawingArea Handy.CarouselIndicatorLines Handy.CarouselIndicatorLines Gtk.DrawingArea->Handy.CarouselIndicatorLines Gtk.Orientable->Handy.CarouselIndicatorLines Gtk.Widget->Gtk.DrawingArea

Subclasses:

None

Methods

Inherited:

Gtk.DrawingArea (1), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)

Structs:

Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new ()

get_carousel ()

set_carousel (carousel)

Virtual Methods

Inherited:

Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Widget (39), Gtk.Orientable (1)

Name

Type

Flags

Short Description

carousel

Handy.Carousel

r/w/en

Carousel

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Widget (69), GObject.Object (1)

Class Details

class Handy.CarouselIndicatorLines(**kwargs)
Bases:

Gtk.DrawingArea, Gtk.Orientable

Abstract:

No

Structure:

Handy.CarouselIndicatorLinesClass

A lines indicator for [class`Carousel`].

The HdyCarouselIndicatorLines 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

HdyCarouselIndicatorLines has a single CSS node with name carouselindicatorlines.

New in version 1.0.

classmethod new()
Returns:

the newly created HdyCarouselIndicatorLines

Return type:

Gtk.Widget

Creates a new HdyCarouselIndicatorLines.

New in version 1.0.

Returns:

the displayed carousel

Return type:

Handy.Carousel or None

Gets the displayed carousel.

New in version 1.0.

Parameters:

carousel (Handy.Carousel or None) – a carousel

Sets the [class`Carousel`] to use.

New in version 1.0.

Property Details

Handy.CarouselIndicatorLines.props.carousel
Name:

carousel

Type:

Handy.Carousel

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The displayed carousel.

New in version 1.0.