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 lines indicator for [classcarousel
].
The HdyCarouselIndicatorLines
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
HdyCarouselIndicatorLines
has a single CSS node with name
carouselindicatorlines
.
Since: 1.0
Synopsis
- newtype CarouselIndicatorLines = CarouselIndicatorLines (ManagedPtr CarouselIndicatorLines)
- class (GObject o, IsDescendantOf CarouselIndicatorLines o) => IsCarouselIndicatorLines o
- toCarouselIndicatorLines :: (MonadIO m, IsCarouselIndicatorLines o) => o -> m CarouselIndicatorLines
- carouselIndicatorLinesGetCarousel :: (HasCallStack, MonadIO m, IsCarouselIndicatorLines a) => a -> m (Maybe Carousel)
- carouselIndicatorLinesNew :: (HasCallStack, MonadIO m) => m CarouselIndicatorLines
- carouselIndicatorLinesSetCarousel :: (HasCallStack, MonadIO m, IsCarouselIndicatorLines a, IsCarousel b) => a -> Maybe b -> m ()
- clearCarouselIndicatorLinesCarousel :: (MonadIO m, IsCarouselIndicatorLines o) => o -> m ()
- constructCarouselIndicatorLinesCarousel :: (IsCarouselIndicatorLines o, MonadIO m, IsCarousel a) => a -> m (GValueConstruct o)
- getCarouselIndicatorLinesCarousel :: (MonadIO m, IsCarouselIndicatorLines o) => o -> m (Maybe Carousel)
- setCarouselIndicatorLinesCarousel :: (MonadIO m, IsCarouselIndicatorLines o, IsCarousel a) => o -> a -> m ()
Exported types
newtype CarouselIndicatorLines Source #
Memory-managed wrapper type.
CarouselIndicatorLines (ManagedPtr CarouselIndicatorLines) |
Instances
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
(GObject o, IsDescendantOf CarouselIndicatorLines o) => IsCarouselIndicatorLines o Source # | |
Defined in GI.Handy.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
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
carouselIndicatorLinesGetCarousel Source #
:: (HasCallStack, MonadIO m, IsCarouselIndicatorLines a) | |
=> a |
|
-> m (Maybe Carousel) | Returns: the displayed carousel |
Gets the displayed carousel.
Since: 1.0
new
carouselIndicatorLinesNew Source #
:: (HasCallStack, MonadIO m) | |
=> m CarouselIndicatorLines | Returns: the newly created |
Creates a new HdyCarouselIndicatorLines
.
Since: 1.0
setCarousel
carouselIndicatorLinesSetCarousel Source #
:: (HasCallStack, MonadIO m, IsCarouselIndicatorLines a, IsCarousel b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Sets the [classcarousel
] to use.
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 ]