Handy.CarouselIndicatorDots

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.CarouselIndicatorDots Handy.CarouselIndicatorDots Gtk.DrawingArea->Handy.CarouselIndicatorDots Gtk.Orientable->Handy.CarouselIndicatorDots 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.CarouselIndicatorDots(**kwargs)
Bases:

Gtk.DrawingArea, Gtk.Orientable

Abstract:

No

Structure:

Handy.CarouselIndicatorDotsClass

A dots indicator for [class`Carousel`].

The HdyCarouselIndicatorDots widget shows a set of dots for each page of a given [class`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 [class`CarouselIndicatorLines`].

CSS nodes

HdyCarouselIndicatorDots has a single CSS node with name carouselindicatordots.

New in version 1.0.

classmethod new()
Returns:

The newly created HdyCarouselIndicatorDots

Return type:

Gtk.Widget

Creates a new HdyCarouselIndicatorDots.

New in version 1.0.

Returns:

the [class`Carousel`]

Return type:

Handy.Carousel or None

Get the [class`Carousel`] the indicator uses.

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.CarouselIndicatorDots.props.carousel
Name:

carousel

Type:

Handy.Carousel

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The [class`Carousel`] the indicator uses.

New in version 1.0.