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.CarouselIndicatorLines

Description

A lines indicator for [classcarousel].

<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 [classcarousel]. The carousel's active page is shown as another line that moves between them to match the carousel's position.

See also [classcarouselIndicatorDots].

CSS nodes

AdwCarouselIndicatorLines has a single CSS node with name carouselindicatorlines.

Since: 1.0

Synopsis

Exported types

newtype CarouselIndicatorLines Source #

Memory-managed wrapper type.

Instances

Instances details
Eq CarouselIndicatorLines Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorLines

GObject CarouselIndicatorLines Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorLines

ManagedPtrNewtype CarouselIndicatorLines Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorLines

TypedObject CarouselIndicatorLines Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorLines

Methods

glibType :: IO GType

HasParentTypes CarouselIndicatorLines Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorLines

IsGValue (Maybe CarouselIndicatorLines) Source #

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

Instance details

Defined in GI.Adw.Objects.CarouselIndicatorLines

type ParentTypes CarouselIndicatorLines Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorLines

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

class (GObject o, IsDescendantOf CarouselIndicatorLines o) => IsCarouselIndicatorLines o Source #

Type class for types which can be safely cast to CarouselIndicatorLines, for instance with toCarouselIndicatorLines.

Instances

Instances details
(GObject o, IsDescendantOf CarouselIndicatorLines o) => IsCarouselIndicatorLines o Source # 
Instance details

Defined in GI.Adw.Objects.CarouselIndicatorLines

toCarouselIndicatorLines :: (MonadIO m, IsCarouselIndicatorLines o) => o -> m CarouselIndicatorLines Source #

Cast to CarouselIndicatorLines, 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

carouselIndicatorLinesGetCarousel Source #

Arguments

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

self: an indicator

-> m (Maybe Carousel)

Returns: the displayed carousel

Gets the displayed carousel.

Since: 1.0

new

carouselIndicatorLinesNew Source #

Arguments

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

Returns: the newly created AdwCarouselIndicatorLines

Creates a new AdwCarouselIndicatorLines.

Since: 1.0

setCarousel

carouselIndicatorLinesSetCarousel Source #

Arguments

:: (HasCallStack, MonadIO m, IsCarouselIndicatorLines 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

clearCarouselIndicatorLinesCarousel :: (MonadIO m, IsCarouselIndicatorLines o) => o -> m () Source #

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

clear #carousel

constructCarouselIndicatorLinesCarousel :: (IsCarouselIndicatorLines 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.

getCarouselIndicatorLinesCarousel :: (MonadIO m, IsCarouselIndicatorLines o) => o -> m (Maybe Carousel) Source #

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

get carouselIndicatorLines #carousel

setCarouselIndicatorLinesCarousel :: (MonadIO m, IsCarouselIndicatorLines o, IsCarousel a) => o -> a -> m () Source #

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

set carouselIndicatorLines [ #carousel := value ]