gi-adwaita-1.0.3: Adwaita bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Adw.Objects.CarouselIndicatorDots

Description

A dots indicator for [classcarousel].

<picture> <source srcset="carousel-indicator-dots-dark.png" media="(prefers-color-scheme: dark)"> <img src="carousel-indicator-dots.png" alt="carousel-indicator-dots"> </picture>

The AdwCarouselIndicatorDots widget shows a set of dots for each page of a given [classcarousel]. 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 [classcarouselIndicatorLines].

CSS nodes

AdwCarouselIndicatorDots has a single CSS node with name carouselindicatordots.

Since: 1.0

Synopsis

Exported types

newtype CarouselIndicatorDots Source #

Memory-managed wrapper type.

Constructors

CarouselIndicatorDots (ManagedPtr CarouselIndicatorDots) 

Instances

Instances details
Eq CarouselIndicatorDots Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorDots

GObject CarouselIndicatorDots Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorDots

ManagedPtrNewtype CarouselIndicatorDots Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorDots

TypedObject CarouselIndicatorDots Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorDots

Methods

glibType :: IO GType

HasParentTypes CarouselIndicatorDots Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorDots

IsGValue (Maybe CarouselIndicatorDots) Source #

Convert CarouselIndicatorDots to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Adw.Objects.CarouselIndicatorDots

type ParentTypes CarouselIndicatorDots Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorDots

type ParentTypes CarouselIndicatorDots = '[Widget, Object, Accessible, Buildable, ConstraintTarget, Orientable]

class (GObject o, IsDescendantOf CarouselIndicatorDots o) => IsCarouselIndicatorDots o Source #

Type class for types which can be safely cast to CarouselIndicatorDots, for instance with toCarouselIndicatorDots.

Instances

Instances details
(GObject o, IsDescendantOf CarouselIndicatorDots o) => IsCarouselIndicatorDots o Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorDots

toCarouselIndicatorDots :: (MonadIO m, IsCarouselIndicatorDots o) => o -> m CarouselIndicatorDots Source #

Cast to CarouselIndicatorDots, for types for which this is known to be safe. For general casts, use castTo.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

actionSetEnabled, activate, activateAction, activateDefault, addController, addCssClass, addMnemonicLabel, addTickCallback, allocate, bindProperty, bindPropertyFull, childFocus, computeBounds, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, disposeTemplate, dragCheckThreshold, errorBell, forceFloating, freezeNotify, getv, grabFocus, hasCssClass, hasDefault, hasFocus, hasVisibleFocus, hide, inDestruction, initTemplate, insertActionGroup, insertAfter, insertBefore, isAncestor, isDrawable, isFloating, isFocus, isSensitive, isVisible, keynavFailed, listMnemonicLabels, map, measure, mnemonicActivate, notify, notifyByPspec, observeChildren, observeControllers, pick, queueAllocate, queueDraw, queueResize, realize, ref, refSink, removeController, removeCssClass, removeMnemonicLabel, removeTickCallback, resetProperty, resetRelation, resetState, runDispose, shouldLayout, show, sizeAllocate, snapshotChild, stealData, stealQdata, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unsetStateFlags, updateProperty, updateRelation, updateState, watchClosure.

Getters

getAccessibleRole, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getBuildableId, getCanFocus, getCanTarget, getCarousel, getChildVisible, getClipboard, getCssClasses, getCssName, getCursor, getData, getDirection, getDisplay, getFirstChild, getFocusChild, getFocusOnClick, getFocusable, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHeight, getHexpand, getHexpandSet, getLastChild, getLayoutManager, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getName, getNative, getNextSibling, getOpacity, getOrientation, getOverflow, getPangoContext, getParent, getPreferredSize, getPrevSibling, getPrimaryClipboard, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRoot, getScaleFactor, getSensitive, getSettings, getSize, getSizeRequest, getStateFlags, getStyleContext, getTemplateChild, getTooltipMarkup, getTooltipText, getValign, getVexpand, getVexpandSet, getVisible, getWidth.

Setters

setCanFocus, setCanTarget, setCarousel, setChildVisible, setCssClasses, setCursor, setCursorFromName, setData, setDataFull, setDirection, setFocusChild, setFocusOnClick, setFocusable, setFontMap, setFontOptions, setHalign, setHasTooltip, setHexpand, setHexpandSet, setLayoutManager, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setName, setOpacity, setOrientation, setOverflow, setParent, setProperty, setReceivesDefault, setSensitive, setSizeRequest, setStateFlags, setTooltipMarkup, setTooltipText, setValign, setVexpand, setVexpandSet, setVisible.

getCarousel

carouselIndicatorDotsGetCarousel Source #

Arguments

:: (HasCallStack, MonadIO m, IsCarouselIndicatorDots a) 
=> a

self: an indicator

-> m (Maybe Carousel)

Returns: the displayed carousel

Gets the displayed carousel.

Since: 1.0

new

carouselIndicatorDotsNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m CarouselIndicatorDots

Returns: the newly created AdwCarouselIndicatorDots

Creates a new AdwCarouselIndicatorDots.

Since: 1.0

setCarousel

carouselIndicatorDotsSetCarousel Source #

Arguments

:: (HasCallStack, MonadIO m, IsCarouselIndicatorDots a, IsCarousel b) 
=> a

self: an indicator

-> Maybe b

carousel: a carousel

-> m () 

Sets the displayed carousel.

Since: 1.0

Properties

carousel

The displayed carousel.

Since: 1.0

clearCarouselIndicatorDotsCarousel :: (MonadIO m, IsCarouselIndicatorDots o) => o -> m () Source #

Set the value of the “carousel” property to Nothing. When overloading is enabled, this is equivalent to

clear #carousel

constructCarouselIndicatorDotsCarousel :: (IsCarouselIndicatorDots o, MonadIO m, IsCarousel a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “carousel” property. This is rarely needed directly, but it is used by new.

getCarouselIndicatorDotsCarousel :: (MonadIO m, IsCarouselIndicatorDots o) => o -> m (Maybe Carousel) Source #

Get the value of the “carousel” property. When overloading is enabled, this is equivalent to

get carouselIndicatorDots #carousel

setCarouselIndicatorDotsCarousel :: (MonadIO m, IsCarouselIndicatorDots o, IsCarousel a) => o -> a -> m () Source #

Set the value of the “carousel” property. When overloading is enabled, this is equivalent to

set carouselIndicatorDots [ #carousel := value ]