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 [classcarousel
].
The HdyCarouselIndicatorDots
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
HdyCarouselIndicatorDots
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.
CarouselIndicatorDots (ManagedPtr CarouselIndicatorDots) |
Instances
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.Handy.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
activate, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, childFocus, childNotify, classPath, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, destroy, destroyed, deviceIsShadowed, dragBegin, dragBeginWithCoordinates, dragCheckThreshold, dragDestAddImageTargets, dragDestAddTextTargets, dragDestAddUriTargets, dragDestFindTarget, dragDestGetTargetList, dragDestGetTrackMotion, dragDestSet, dragDestSetProxy, dragDestSetTargetList, dragDestSetTrackMotion, dragDestUnset, dragGetData, dragHighlight, dragSourceAddImageTargets, dragSourceAddTextTargets, dragSourceAddUriTargets, dragSourceGetTargetList, dragSourceSet, dragSourceSetIconGicon, dragSourceSetIconName, dragSourceSetIconPixbuf, dragSourceSetIconStock, dragSourceSetTargetList, dragSourceUnset, dragUnhighlight, draw, ensureStyle, errorBell, event, forceFloating, freezeChildNotify, freezeNotify, getv, grabAdd, grabDefault, grabFocus, grabRemove, hasDefault, hasFocus, hasGrab, hasRcStyle, hasScreen, hasVisibleFocus, hide, hideOnDelete, inDestruction, initTemplate, inputShapeCombineRegion, insertActionGroup, intersect, isAncestor, isComposited, isDrawable, isFloating, isFocus, isSensitive, isToplevel, isVisible, keynavFailed, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parserFinished, path, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetStateFlags, watchClosure.
Getters
getAccessible, getActionGroup, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getCanDefault, getCanFocus, getCarousel, getChildRequisition, getChildVisible, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEvents, getFocusOnClick, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getInternalChild, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getOrientation, getPangoContext, getParent, getParentWindow, getPath, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setBuildableProperty, setCanDefault, setCanFocus, setCarousel, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocusOnClick, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setOrientation, setParent, setParentWindow, setProperty, setRealized, setReceivesDefault, setRedrawOnAllocate, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
getCarousel
carouselIndicatorDotsGetCarousel Source #
:: (HasCallStack, MonadIO m, IsCarouselIndicatorDots a) | |
=> a |
|
-> m (Maybe Carousel) | Returns: the [class |
Get the [classcarousel
] the indicator uses.
Since: 1.0
new
carouselIndicatorDotsNew Source #
:: (HasCallStack, MonadIO m) | |
=> m CarouselIndicatorDots | Returns: The newly created |
Creates a new HdyCarouselIndicatorDots
.
Since: 1.0
setCarousel
carouselIndicatorDotsSetCarousel Source #
:: (HasCallStack, MonadIO m, IsCarouselIndicatorDots a, IsCarousel b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Sets the [classcarousel
] to use.
Since: 1.0
Properties
carousel
The [classcarousel
] the indicator uses.
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 ]