Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A dots indicator for Carousel
.
The AdwCarouselIndicatorDots
widget shows a set of dots for each page of a
given 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 CarouselIndicatorLines
.
CSS nodes
AdwCarouselIndicatorDots
has a single CSS node with name
carouselindicatordots
.
Since: 1.0
Synopsis
- newtype CarouselIndicatorDots = CarouselIndicatorDots (ManagedPtr CarouselIndicatorDots)
- class (GObject o, IsDescendantOf CarouselIndicatorDots o) => IsCarouselIndicatorDots o
- toCarouselIndicatorDots :: (MonadIO m, IsCarouselIndicatorDots o) => o -> m CarouselIndicatorDots
- carouselIndicatorDotsGetCarousel :: (HasCallStack, MonadIO m, IsCarouselIndicatorDots a) => a -> m (Maybe Carousel)
- carouselIndicatorDotsNew :: (HasCallStack, MonadIO m) => m CarouselIndicatorDots
- carouselIndicatorDotsSetCarousel :: (HasCallStack, MonadIO m, IsCarouselIndicatorDots a, IsCarousel b) => a -> Maybe b -> m ()
- clearCarouselIndicatorDotsCarousel :: (MonadIO m, IsCarouselIndicatorDots o) => o -> m ()
- constructCarouselIndicatorDotsCarousel :: (IsCarouselIndicatorDots o, MonadIO m, IsCarousel a) => a -> m (GValueConstruct o)
- getCarouselIndicatorDotsCarousel :: (MonadIO m, IsCarouselIndicatorDots o) => o -> m (Maybe Carousel)
- setCarouselIndicatorDotsCarousel :: (MonadIO m, IsCarouselIndicatorDots o, IsCarousel a) => o -> a -> m ()
Exported types
newtype CarouselIndicatorDots Source #
Memory-managed wrapper type.
Instances
Eq CarouselIndicatorDots Source # | |
Defined in GI.Adw.Objects.CarouselIndicatorDots (==) :: CarouselIndicatorDots -> CarouselIndicatorDots -> Bool # (/=) :: CarouselIndicatorDots -> CarouselIndicatorDots -> Bool # | |
GObject CarouselIndicatorDots Source # | |
Defined in GI.Adw.Objects.CarouselIndicatorDots | |
ManagedPtrNewtype CarouselIndicatorDots Source # | |
TypedObject CarouselIndicatorDots Source # | |
Defined in GI.Adw.Objects.CarouselIndicatorDots | |
HasParentTypes CarouselIndicatorDots Source # | |
Defined in GI.Adw.Objects.CarouselIndicatorDots | |
IsGValue (Maybe CarouselIndicatorDots) Source # | Convert |
Defined in GI.Adw.Objects.CarouselIndicatorDots gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe CarouselIndicatorDots -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe CarouselIndicatorDots) # | |
type ParentTypes CarouselIndicatorDots Source # | |
Defined in GI.Adw.Objects.CarouselIndicatorDots |
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
(GObject o, IsDescendantOf CarouselIndicatorDots o) => IsCarouselIndicatorDots o Source # | |
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
Methods
actionSetEnabled, activate, activateAction, activateDefault, addController, addCssClass, addMnemonicLabel, addTickCallback, allocate, bindProperty, bindPropertyFull, childFocus, computeBounds, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, 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 #
:: (HasCallStack, MonadIO m, IsCarouselIndicatorDots a) | |
=> a |
|
-> m (Maybe Carousel) | Returns: the displayed carousel |
Gets the displayed carousel.
Since: 1.0
new
carouselIndicatorDotsNew Source #
:: (HasCallStack, MonadIO m) | |
=> m CarouselIndicatorDots | Returns: the newly created |
Creates a new AdwCarouselIndicatorDots
.
Since: 1.0
setCarousel
carouselIndicatorDotsSetCarousel Source #
:: (HasCallStack, MonadIO m, IsCarouselIndicatorDots a, IsCarousel b) | |
=> a |
|
-> Maybe b |
|
-> 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 ]