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 |
- Exported types
- Methods
- getAdjacentChild
- getCanSwipeBack
- getCanSwipeForward
- getChildByName
- getHomogeneous
- getInterpolateSize
- getTransitionDuration
- getTransitionRunning
- getTransitionType
- getVisibleChild
- getVisibleChildName
- insertChildAfter
- navigate
- new
- prepend
- reorderChildAfter
- setCanSwipeBack
- setCanSwipeForward
- setHomogeneous
- setInterpolateSize
- setTransitionDuration
- setTransitionType
- setVisibleChild
- setVisibleChildName
- Properties
No description available in the introspection data.
Synopsis
- newtype Deck = Deck (ManagedPtr Deck)
- class (GObject o, IsDescendantOf Deck o) => IsDeck o
- toDeck :: (MonadIO m, IsDeck o) => o -> m Deck
- deckGetAdjacentChild :: (HasCallStack, MonadIO m, IsDeck a) => a -> NavigationDirection -> m (Maybe Widget)
- deckGetCanSwipeBack :: (HasCallStack, MonadIO m, IsDeck a) => a -> m Bool
- deckGetCanSwipeForward :: (HasCallStack, MonadIO m, IsDeck a) => a -> m Bool
- deckGetChildByName :: (HasCallStack, MonadIO m, IsDeck a) => a -> Text -> m (Maybe Widget)
- deckGetHomogeneous :: (HasCallStack, MonadIO m, IsDeck a) => a -> Orientation -> m Bool
- deckGetInterpolateSize :: (HasCallStack, MonadIO m, IsDeck a) => a -> m Bool
- deckGetTransitionDuration :: (HasCallStack, MonadIO m, IsDeck a) => a -> m Word32
- deckGetTransitionRunning :: (HasCallStack, MonadIO m, IsDeck a) => a -> m Bool
- deckGetTransitionType :: (HasCallStack, MonadIO m, IsDeck a) => a -> m DeckTransitionType
- deckGetVisibleChild :: (HasCallStack, MonadIO m, IsDeck a) => a -> m Widget
- deckGetVisibleChildName :: (HasCallStack, MonadIO m, IsDeck a) => a -> m Text
- deckInsertChildAfter :: (HasCallStack, MonadIO m, IsDeck a, IsWidget b, IsWidget c) => a -> b -> Maybe c -> m ()
- deckNavigate :: (HasCallStack, MonadIO m, IsDeck a) => a -> NavigationDirection -> m Bool
- deckNew :: (HasCallStack, MonadIO m) => m Deck
- deckPrepend :: (HasCallStack, MonadIO m, IsDeck a, IsWidget b) => a -> b -> m ()
- deckReorderChildAfter :: (HasCallStack, MonadIO m, IsDeck a, IsWidget b, IsWidget c) => a -> b -> Maybe c -> m ()
- deckSetCanSwipeBack :: (HasCallStack, MonadIO m, IsDeck a) => a -> Bool -> m ()
- deckSetCanSwipeForward :: (HasCallStack, MonadIO m, IsDeck a) => a -> Bool -> m ()
- deckSetHomogeneous :: (HasCallStack, MonadIO m, IsDeck a) => a -> Orientation -> Bool -> m ()
- deckSetInterpolateSize :: (HasCallStack, MonadIO m, IsDeck a) => a -> Bool -> m ()
- deckSetTransitionDuration :: (HasCallStack, MonadIO m, IsDeck a) => a -> Word32 -> m ()
- deckSetTransitionType :: (HasCallStack, MonadIO m, IsDeck a) => a -> DeckTransitionType -> m ()
- deckSetVisibleChild :: (HasCallStack, MonadIO m, IsDeck a, IsWidget b) => a -> b -> m ()
- deckSetVisibleChildName :: (HasCallStack, MonadIO m, IsDeck a) => a -> Text -> m ()
- constructDeckCanSwipeBack :: (IsDeck o, MonadIO m) => Bool -> m (GValueConstruct o)
- getDeckCanSwipeBack :: (MonadIO m, IsDeck o) => o -> m Bool
- setDeckCanSwipeBack :: (MonadIO m, IsDeck o) => o -> Bool -> m ()
- constructDeckCanSwipeForward :: (IsDeck o, MonadIO m) => Bool -> m (GValueConstruct o)
- getDeckCanSwipeForward :: (MonadIO m, IsDeck o) => o -> m Bool
- setDeckCanSwipeForward :: (MonadIO m, IsDeck o) => o -> Bool -> m ()
- constructDeckHhomogeneous :: (IsDeck o, MonadIO m) => Bool -> m (GValueConstruct o)
- getDeckHhomogeneous :: (MonadIO m, IsDeck o) => o -> m Bool
- setDeckHhomogeneous :: (MonadIO m, IsDeck o) => o -> Bool -> m ()
- constructDeckInterpolateSize :: (IsDeck o, MonadIO m) => Bool -> m (GValueConstruct o)
- getDeckInterpolateSize :: (MonadIO m, IsDeck o) => o -> m Bool
- setDeckInterpolateSize :: (MonadIO m, IsDeck o) => o -> Bool -> m ()
- constructDeckTransitionDuration :: (IsDeck o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getDeckTransitionDuration :: (MonadIO m, IsDeck o) => o -> m Word32
- setDeckTransitionDuration :: (MonadIO m, IsDeck o) => o -> Word32 -> m ()
- getDeckTransitionRunning :: (MonadIO m, IsDeck o) => o -> m Bool
- constructDeckTransitionType :: (IsDeck o, MonadIO m) => DeckTransitionType -> m (GValueConstruct o)
- getDeckTransitionType :: (MonadIO m, IsDeck o) => o -> m DeckTransitionType
- setDeckTransitionType :: (MonadIO m, IsDeck o) => o -> DeckTransitionType -> m ()
- constructDeckVhomogeneous :: (IsDeck o, MonadIO m) => Bool -> m (GValueConstruct o)
- getDeckVhomogeneous :: (MonadIO m, IsDeck o) => o -> m Bool
- setDeckVhomogeneous :: (MonadIO m, IsDeck o) => o -> Bool -> m ()
- constructDeckVisibleChild :: (IsDeck o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getDeckVisibleChild :: (MonadIO m, IsDeck o) => o -> m Widget
- setDeckVisibleChild :: (MonadIO m, IsDeck o, IsWidget a) => o -> a -> m ()
- constructDeckVisibleChildName :: (IsDeck o, MonadIO m) => Text -> m (GValueConstruct o)
- getDeckVisibleChildName :: (MonadIO m, IsDeck o) => o -> m Text
- setDeckVisibleChildName :: (MonadIO m, IsDeck o) => o -> Text -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Deck Source # | |
GObject Deck Source # | |
Defined in GI.Handy.Objects.Deck | |
ManagedPtrNewtype Deck Source # | |
Defined in GI.Handy.Objects.Deck toManagedPtr :: Deck -> ManagedPtr Deck # | |
TypedObject Deck Source # | |
Defined in GI.Handy.Objects.Deck | |
HasParentTypes Deck Source # | |
Defined in GI.Handy.Objects.Deck | |
IsGValue (Maybe Deck) Source # | Convert |
Defined in GI.Handy.Objects.Deck | |
type ParentTypes Deck Source # | |
Defined in GI.Handy.Objects.Deck type ParentTypes Deck = '[Container, Widget, Object, ImplementorIface, Buildable, Orientable, Swipeable] |
class (GObject o, IsDescendantOf Deck o) => IsDeck o Source #
Instances
(GObject o, IsDescendantOf Deck o) => IsDeck o Source # | |
Defined in GI.Handy.Objects.Deck |
Methods
Click to display all available methods, including inherited ones
Methods
activate, add, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, checkResize, childFocus, childGetProperty, childNotify, childNotifyByPspec, childSetProperty, childType, 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, emitChildSwitched, ensureStyle, errorBell, event, forall, forceFloating, foreach, freezeChildNotify, freezeNotify, getv, grabAdd, grabDefault, grabFocus, grabRemove, hasDefault, hasFocus, hasGrab, hasRcStyle, hasScreen, hasVisibleFocus, hide, hideOnDelete, inDestruction, initTemplate, inputShapeCombineRegion, insertActionGroup, insertChildAfter, intersect, isAncestor, isComposited, isDrawable, isFloating, isFocus, isSensitive, isToplevel, isVisible, keynavFailed, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, navigate, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parserFinished, path, prepend, propagateDraw, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reorderChildAfter, reparent, resetRcStyles, resetStyle, resizeChildren, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, switchChild, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetFocusChain, unsetStateFlags, watchClosure.
Getters
getAccessible, getActionGroup, getAdjacentChild, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getBorderWidth, getCanDefault, getCanFocus, getCanSwipeBack, getCanSwipeForward, getCancelProgress, getChildByName, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDistance, getDoubleBuffered, getEvents, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getHomogeneous, getInternalChild, getInterpolateSize, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getOrientation, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProgress, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizeMode, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getSnapPoints, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getSwipeArea, getSwipeTracker, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getTransitionDuration, getTransitionRunning, getTransitionType, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisibleChild, getVisibleChildName, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setCanSwipeBack, setCanSwipeForward, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setHomogeneous, setInterpolateSize, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setOrientation, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setTransitionDuration, setTransitionType, setValign, setVexpand, setVexpandSet, setVisible, setVisibleChild, setVisibleChildName, setVisual, setWindow.
getAdjacentChild
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> NavigationDirection |
|
-> m (Maybe Widget) | Returns: the previous or next child, or
|
Gets the previous or next child, or Nothing
if it doesn't exist. This will be
the same widget deckNavigate
will navigate to.
Since: 1.0
getCanSwipeBack
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether the Deck
allows swiping to the previous child.
Since: 1.0
getCanSwipeForward
deckGetCanSwipeForward Source #
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether the Deck
allows swiping to the next child.
Since: 1.0
getChildByName
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> Text |
|
-> m (Maybe Widget) | Returns: the requested child of |
Finds the child of self
with the name given as the argument. Returns Nothing
if there is no child with this name.
Since: 1.0
getHomogeneous
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> Orientation |
|
-> m Bool | Returns: whether |
Gets whether self
is homogeneous for the given orientation.
See deckSetHomogeneous
.
Since: 1.0
getInterpolateSize
deckGetInterpolateSize Source #
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether the Deck
is set up to interpolate between
the sizes of children on page switch.
Since: 1.0
getTransitionDuration
deckGetTransitionDuration Source #
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> m Word32 | Returns: the child transition duration |
Returns the amount of time (in milliseconds) that
transitions between children in self
will take.
Since: 1.0
getTransitionRunning
deckGetTransitionRunning Source #
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether self
is currently in a transition from one page to
another.
Since: 1.0
getTransitionType
deckGetTransitionType Source #
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> m DeckTransitionType | Returns: the current transition type of |
Gets the type of animation that will be used
for transitions between children in self
.
Since: 1.0
getVisibleChild
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> m Widget | Returns: the visible child widget |
Gets the visible child widget.
Since: 1.0
getVisibleChildName
deckGetVisibleChildName Source #
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> m Text | Returns: the name of the visible child |
Gets the name of the currently visible child widget.
Since: 1.0
insertChildAfter
:: (HasCallStack, MonadIO m, IsDeck a, IsWidget b, IsWidget c) | |
=> a |
|
-> b |
|
-> Maybe c |
|
-> m () |
Inserts child
in the position after sibling
in the list of children.
If sibling
is Nothing
, insert child
at the first position.
Since: 1.2
navigate
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> NavigationDirection |
|
-> m Bool | Returns: |
Switches to the previous or next child, similar to performing a swipe
gesture to go in direction
.
Since: 1.0
new
deckNew :: (HasCallStack, MonadIO m) => m Deck Source #
No description available in the introspection data.
prepend
:: (HasCallStack, MonadIO m, IsDeck a, IsWidget b) | |
=> a |
|
-> b |
|
-> m () |
Inserts child
at the first position in self
.
Since: 1.2
reorderChildAfter
deckReorderChildAfter Source #
:: (HasCallStack, MonadIO m, IsDeck a, IsWidget b, IsWidget c) | |
=> a |
|
-> b |
|
-> Maybe c |
|
-> m () |
Moves child
to the position after sibling
in the list of children.
If sibling
is Nothing
, move child
to the first position.
Since: 1.2
setCanSwipeBack
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether or not self
allows switching to the previous child via a swipe
gesture.
Since: 1.0
setCanSwipeForward
deckSetCanSwipeForward Source #
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether or not self
allows switching to the next child via a swipe
gesture.
Since: 1.0
setHomogeneous
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> Orientation |
|
-> Bool |
|
-> m () |
setInterpolateSize
deckSetInterpolateSize Source #
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether or not self
will interpolate its size when
changing the visible child. If the Deck
:interpolate-size
property is set to True
, self
will interpolate its size between
the current one and the one it'll take after changing the
visible child, according to the set transition duration.
Since: 1.0
setTransitionDuration
deckSetTransitionDuration Source #
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> Word32 |
|
-> m () |
Sets the duration that transitions between children in self
will take.
Since: 1.0
setTransitionType
deckSetTransitionType Source #
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> DeckTransitionType |
|
-> m () |
Sets the type of animation that will be used for transitions between children
in self
.
The transition type can be changed without problems at runtime, so it is possible to change the animation based on the child that is about to become current.
Since: 1.0
setVisibleChild
:: (HasCallStack, MonadIO m, IsDeck a, IsWidget b) | |
=> a |
|
-> b |
|
-> m () |
Makes visibleChild
visible using a transition determined by
HdyDeck:transition-type and HdyDeck:transition-duration. The transition can
be cancelled by the user, in which case visible child will change back to
the previously visible child.
Since: 1.0
setVisibleChildName
deckSetVisibleChildName Source #
:: (HasCallStack, MonadIO m, IsDeck a) | |
=> a |
|
-> Text |
|
-> m () |
Properties
canSwipeBack
Whether or not the deck allows switching to the previous child via a swipe gesture.
Since: 1.0
constructDeckCanSwipeBack :: (IsDeck o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “can-swipe-back
” property. This is rarely needed directly, but it is used by new
.
getDeckCanSwipeBack :: (MonadIO m, IsDeck o) => o -> m Bool Source #
Get the value of the “can-swipe-back
” property.
When overloading is enabled, this is equivalent to
get
deck #canSwipeBack
setDeckCanSwipeBack :: (MonadIO m, IsDeck o) => o -> Bool -> m () Source #
Set the value of the “can-swipe-back
” property.
When overloading is enabled, this is equivalent to
set
deck [ #canSwipeBack:=
value ]
canSwipeForward
Whether or not the deck allows switching to the next child via a swipe gesture.
Since: 1.0
constructDeckCanSwipeForward :: (IsDeck o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “can-swipe-forward
” property. This is rarely needed directly, but it is used by new
.
getDeckCanSwipeForward :: (MonadIO m, IsDeck o) => o -> m Bool Source #
Get the value of the “can-swipe-forward
” property.
When overloading is enabled, this is equivalent to
get
deck #canSwipeForward
setDeckCanSwipeForward :: (MonadIO m, IsDeck o) => o -> Bool -> m () Source #
Set the value of the “can-swipe-forward
” property.
When overloading is enabled, this is equivalent to
set
deck [ #canSwipeForward:=
value ]
hhomogeneous
Horizontally homogeneous sizing.
Since: 1.0
constructDeckHhomogeneous :: (IsDeck o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “hhomogeneous
” property. This is rarely needed directly, but it is used by new
.
getDeckHhomogeneous :: (MonadIO m, IsDeck o) => o -> m Bool Source #
Get the value of the “hhomogeneous
” property.
When overloading is enabled, this is equivalent to
get
deck #hhomogeneous
setDeckHhomogeneous :: (MonadIO m, IsDeck o) => o -> Bool -> m () Source #
Set the value of the “hhomogeneous
” property.
When overloading is enabled, this is equivalent to
set
deck [ #hhomogeneous:=
value ]
interpolateSize
Whether or not the size should smoothly change when changing between differently sized children.
Since: 1.0
constructDeckInterpolateSize :: (IsDeck o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “interpolate-size
” property. This is rarely needed directly, but it is used by new
.
getDeckInterpolateSize :: (MonadIO m, IsDeck o) => o -> m Bool Source #
Get the value of the “interpolate-size
” property.
When overloading is enabled, this is equivalent to
get
deck #interpolateSize
setDeckInterpolateSize :: (MonadIO m, IsDeck o) => o -> Bool -> m () Source #
Set the value of the “interpolate-size
” property.
When overloading is enabled, this is equivalent to
set
deck [ #interpolateSize:=
value ]
transitionDuration
The transition animation duration, in milliseconds.
Since: 1.0
constructDeckTransitionDuration :: (IsDeck o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “transition-duration
” property. This is rarely needed directly, but it is used by new
.
getDeckTransitionDuration :: (MonadIO m, IsDeck o) => o -> m Word32 Source #
Get the value of the “transition-duration
” property.
When overloading is enabled, this is equivalent to
get
deck #transitionDuration
setDeckTransitionDuration :: (MonadIO m, IsDeck o) => o -> Word32 -> m () Source #
Set the value of the “transition-duration
” property.
When overloading is enabled, this is equivalent to
set
deck [ #transitionDuration:=
value ]
transitionRunning
Whether or not the transition is currently running.
Since: 1.0
getDeckTransitionRunning :: (MonadIO m, IsDeck o) => o -> m Bool Source #
Get the value of the “transition-running
” property.
When overloading is enabled, this is equivalent to
get
deck #transitionRunning
transitionType
The type of animation that will be used for transitions between children.
The transition type can be changed without problems at runtime, so it is possible to change the animation based on the child that is about to become current.
Since: 1.0
constructDeckTransitionType :: (IsDeck o, MonadIO m) => DeckTransitionType -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “transition-type
” property. This is rarely needed directly, but it is used by new
.
getDeckTransitionType :: (MonadIO m, IsDeck o) => o -> m DeckTransitionType Source #
Get the value of the “transition-type
” property.
When overloading is enabled, this is equivalent to
get
deck #transitionType
setDeckTransitionType :: (MonadIO m, IsDeck o) => o -> DeckTransitionType -> m () Source #
Set the value of the “transition-type
” property.
When overloading is enabled, this is equivalent to
set
deck [ #transitionType:=
value ]
vhomogeneous
Vertically homogeneous sizing.
Since: 1.0
constructDeckVhomogeneous :: (IsDeck o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “vhomogeneous
” property. This is rarely needed directly, but it is used by new
.
getDeckVhomogeneous :: (MonadIO m, IsDeck o) => o -> m Bool Source #
Get the value of the “vhomogeneous
” property.
When overloading is enabled, this is equivalent to
get
deck #vhomogeneous
setDeckVhomogeneous :: (MonadIO m, IsDeck o) => o -> Bool -> m () Source #
Set the value of the “vhomogeneous
” property.
When overloading is enabled, this is equivalent to
set
deck [ #vhomogeneous:=
value ]
visibleChild
The widget currently visible.
Since: 1.0
constructDeckVisibleChild :: (IsDeck o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “visible-child
” property. This is rarely needed directly, but it is used by new
.
getDeckVisibleChild :: (MonadIO m, IsDeck o) => o -> m Widget Source #
Get the value of the “visible-child
” property.
When overloading is enabled, this is equivalent to
get
deck #visibleChild
setDeckVisibleChild :: (MonadIO m, IsDeck o, IsWidget a) => o -> a -> m () Source #
Set the value of the “visible-child
” property.
When overloading is enabled, this is equivalent to
set
deck [ #visibleChild:=
value ]
visibleChildName
The name of the widget currently visible.
Since: 1.0
constructDeckVisibleChildName :: (IsDeck o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “visible-child-name
” property. This is rarely needed directly, but it is used by new
.
getDeckVisibleChildName :: (MonadIO m, IsDeck o) => o -> m Text Source #
Get the value of the “visible-child-name
” property.
When overloading is enabled, this is equivalent to
get
deck #visibleChildName
setDeckVisibleChildName :: (MonadIO m, IsDeck o) => o -> Text -> m () Source #
Set the value of the “visible-child-name
” property.
When overloading is enabled, this is equivalent to
set
deck [ #visibleChildName:=
value ]