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
- getChildTransitionDuration
- getChildTransitionRunning
- getFolded
- getHomogeneous
- getInterpolateSize
- getModeTransitionDuration
- getTransitionType
- getVisibleChild
- getVisibleChildName
- insertChildAfter
- navigate
- new
- prepend
- reorderChildAfter
- setCanSwipeBack
- setCanSwipeForward
- setChildTransitionDuration
- setHomogeneous
- setInterpolateSize
- setModeTransitionDuration
- setTransitionType
- setVisibleChild
- setVisibleChildName
- Properties
No description available in the introspection data.
Synopsis
- newtype Leaflet = Leaflet (ManagedPtr Leaflet)
- class (GObject o, IsDescendantOf Leaflet o) => IsLeaflet o
- toLeaflet :: (MonadIO m, IsLeaflet o) => o -> m Leaflet
- leafletGetAdjacentChild :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> NavigationDirection -> m (Maybe Widget)
- leafletGetCanSwipeBack :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> m Bool
- leafletGetCanSwipeForward :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> m Bool
- leafletGetChildByName :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> Text -> m (Maybe Widget)
- leafletGetChildTransitionDuration :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> m Word32
- leafletGetChildTransitionRunning :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> m Bool
- leafletGetFolded :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> m Bool
- leafletGetHomogeneous :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> Bool -> Orientation -> m Bool
- leafletGetInterpolateSize :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> m Bool
- leafletGetModeTransitionDuration :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> m Word32
- leafletGetTransitionType :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> m LeafletTransitionType
- leafletGetVisibleChild :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> m Widget
- leafletGetVisibleChildName :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> m Text
- leafletInsertChildAfter :: (HasCallStack, MonadIO m, IsLeaflet a, IsWidget b, IsWidget c) => a -> b -> Maybe c -> m ()
- leafletNavigate :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> NavigationDirection -> m Bool
- leafletNew :: (HasCallStack, MonadIO m) => m Leaflet
- leafletPrepend :: (HasCallStack, MonadIO m, IsLeaflet a, IsWidget b) => a -> b -> m ()
- leafletReorderChildAfter :: (HasCallStack, MonadIO m, IsLeaflet a, IsWidget b, IsWidget c) => a -> b -> Maybe c -> m ()
- leafletSetCanSwipeBack :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> Bool -> m ()
- leafletSetCanSwipeForward :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> Bool -> m ()
- leafletSetChildTransitionDuration :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> Word32 -> m ()
- leafletSetHomogeneous :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> Bool -> Orientation -> Bool -> m ()
- leafletSetInterpolateSize :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> Bool -> m ()
- leafletSetModeTransitionDuration :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> Word32 -> m ()
- leafletSetTransitionType :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> LeafletTransitionType -> m ()
- leafletSetVisibleChild :: (HasCallStack, MonadIO m, IsLeaflet a, IsWidget b) => a -> b -> m ()
- leafletSetVisibleChildName :: (HasCallStack, MonadIO m, IsLeaflet a) => a -> Text -> m ()
- constructLeafletCanSwipeBack :: (IsLeaflet o, MonadIO m) => Bool -> m (GValueConstruct o)
- getLeafletCanSwipeBack :: (MonadIO m, IsLeaflet o) => o -> m Bool
- setLeafletCanSwipeBack :: (MonadIO m, IsLeaflet o) => o -> Bool -> m ()
- constructLeafletCanSwipeForward :: (IsLeaflet o, MonadIO m) => Bool -> m (GValueConstruct o)
- getLeafletCanSwipeForward :: (MonadIO m, IsLeaflet o) => o -> m Bool
- setLeafletCanSwipeForward :: (MonadIO m, IsLeaflet o) => o -> Bool -> m ()
- constructLeafletChildTransitionDuration :: (IsLeaflet o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getLeafletChildTransitionDuration :: (MonadIO m, IsLeaflet o) => o -> m Word32
- setLeafletChildTransitionDuration :: (MonadIO m, IsLeaflet o) => o -> Word32 -> m ()
- getLeafletChildTransitionRunning :: (MonadIO m, IsLeaflet o) => o -> m Bool
- getLeafletFolded :: (MonadIO m, IsLeaflet o) => o -> m Bool
- constructLeafletHhomogeneousFolded :: (IsLeaflet o, MonadIO m) => Bool -> m (GValueConstruct o)
- getLeafletHhomogeneousFolded :: (MonadIO m, IsLeaflet o) => o -> m Bool
- setLeafletHhomogeneousFolded :: (MonadIO m, IsLeaflet o) => o -> Bool -> m ()
- constructLeafletHhomogeneousUnfolded :: (IsLeaflet o, MonadIO m) => Bool -> m (GValueConstruct o)
- getLeafletHhomogeneousUnfolded :: (MonadIO m, IsLeaflet o) => o -> m Bool
- setLeafletHhomogeneousUnfolded :: (MonadIO m, IsLeaflet o) => o -> Bool -> m ()
- constructLeafletInterpolateSize :: (IsLeaflet o, MonadIO m) => Bool -> m (GValueConstruct o)
- getLeafletInterpolateSize :: (MonadIO m, IsLeaflet o) => o -> m Bool
- setLeafletInterpolateSize :: (MonadIO m, IsLeaflet o) => o -> Bool -> m ()
- constructLeafletModeTransitionDuration :: (IsLeaflet o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getLeafletModeTransitionDuration :: (MonadIO m, IsLeaflet o) => o -> m Word32
- setLeafletModeTransitionDuration :: (MonadIO m, IsLeaflet o) => o -> Word32 -> m ()
- constructLeafletTransitionType :: (IsLeaflet o, MonadIO m) => LeafletTransitionType -> m (GValueConstruct o)
- getLeafletTransitionType :: (MonadIO m, IsLeaflet o) => o -> m LeafletTransitionType
- setLeafletTransitionType :: (MonadIO m, IsLeaflet o) => o -> LeafletTransitionType -> m ()
- constructLeafletVhomogeneousFolded :: (IsLeaflet o, MonadIO m) => Bool -> m (GValueConstruct o)
- getLeafletVhomogeneousFolded :: (MonadIO m, IsLeaflet o) => o -> m Bool
- setLeafletVhomogeneousFolded :: (MonadIO m, IsLeaflet o) => o -> Bool -> m ()
- constructLeafletVhomogeneousUnfolded :: (IsLeaflet o, MonadIO m) => Bool -> m (GValueConstruct o)
- getLeafletVhomogeneousUnfolded :: (MonadIO m, IsLeaflet o) => o -> m Bool
- setLeafletVhomogeneousUnfolded :: (MonadIO m, IsLeaflet o) => o -> Bool -> m ()
- constructLeafletVisibleChild :: (IsLeaflet o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getLeafletVisibleChild :: (MonadIO m, IsLeaflet o) => o -> m Widget
- setLeafletVisibleChild :: (MonadIO m, IsLeaflet o, IsWidget a) => o -> a -> m ()
- constructLeafletVisibleChildName :: (IsLeaflet o, MonadIO m) => Text -> m (GValueConstruct o)
- getLeafletVisibleChildName :: (MonadIO m, IsLeaflet o) => o -> m Text
- setLeafletVisibleChildName :: (MonadIO m, IsLeaflet o) => o -> Text -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Leaflet Source # | |
GObject Leaflet Source # | |
Defined in GI.Handy.Objects.Leaflet | |
ManagedPtrNewtype Leaflet Source # | |
Defined in GI.Handy.Objects.Leaflet toManagedPtr :: Leaflet -> ManagedPtr Leaflet # | |
TypedObject Leaflet Source # | |
Defined in GI.Handy.Objects.Leaflet | |
HasParentTypes Leaflet Source # | |
Defined in GI.Handy.Objects.Leaflet | |
IsGValue (Maybe Leaflet) Source # | Convert |
Defined in GI.Handy.Objects.Leaflet | |
type ParentTypes Leaflet Source # | |
Defined in GI.Handy.Objects.Leaflet type ParentTypes Leaflet = '[Container, Widget, Object, ImplementorIface, Buildable, Orientable, Swipeable] |
class (GObject o, IsDescendantOf Leaflet o) => IsLeaflet o Source #
Instances
(GObject o, IsDescendantOf Leaflet o) => IsLeaflet o Source # | |
Defined in GI.Handy.Objects.Leaflet |
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, getChildTransitionDuration, getChildTransitionRunning, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDistance, getDoubleBuffered, getEvents, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFolded, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getHomogeneous, getInternalChild, getInterpolateSize, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModeTransitionDuration, 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, getTransitionType, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisibleChild, getVisibleChildName, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setCanSwipeBack, setCanSwipeForward, setChildTransitionDuration, 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, setModeTransitionDuration, setName, setNoShowAll, setOpacity, setOrientation, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setTransitionType, setValign, setVexpand, setVexpandSet, setVisible, setVisibleChild, setVisibleChildName, setVisual, setWindow.
getAdjacentChild
leafletGetAdjacentChild Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> NavigationDirection |
|
-> m (Maybe Widget) | Returns: the previous or next child, or
|
Gets the previous or next child that doesn't have 'navigatable' child
property set to False
, or Nothing
if it doesn't exist. This will be the same
widget leafletNavigate
will navigate to.
Since: 1.0
getCanSwipeBack
leafletGetCanSwipeBack Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether the Leaflet
allows swiping to the previous child.
Since: 0.0.12
getCanSwipeForward
leafletGetCanSwipeForward Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether the Leaflet
allows swiping to the next child.
Since: 0.0.12
getChildByName
leafletGetChildByName Source #
:: (HasCallStack, MonadIO m, IsLeaflet 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
getChildTransitionDuration
leafletGetChildTransitionDuration Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> m Word32 | Returns: the child transition duration |
Returns the amount of time (in milliseconds) that
transitions between children in self
will take.
getChildTransitionRunning
leafletGetChildTransitionRunning Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether self
is currently in a transition from one page to
another.
getFolded
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> m Bool | Returns: whether |
Gets whether self
is folded.
getHomogeneous
leafletGetHomogeneous Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> Bool |
|
-> Orientation |
|
-> m Bool | Returns: whether |
Gets whether self
is homogeneous for the given fold and orientation.
See leafletSetHomogeneous
.
getInterpolateSize
leafletGetInterpolateSize Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether the Leaflet
is set up to interpolate between
the sizes of children on page switch.
getModeTransitionDuration
leafletGetModeTransitionDuration Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> m Word32 | Returns: the mode transition duration |
Returns the amount of time (in milliseconds) that
transitions between modes in self
will take.
getTransitionType
leafletGetTransitionType Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> m LeafletTransitionType | Returns: the current transition type of |
Gets the type of animation that will be used
for transitions between modes and children in self
.
Since: 0.0.12
getVisibleChild
leafletGetVisibleChild Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> m Widget | Returns: the visible child widget |
Gets the visible child widget.
getVisibleChildName
leafletGetVisibleChildName Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> m Text | Returns: the name of the visible child |
Gets the name of the currently visible child widget.
insertChildAfter
leafletInsertChildAfter Source #
:: (HasCallStack, MonadIO m, IsLeaflet 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, IsLeaflet a) | |
=> a |
|
-> NavigationDirection |
|
-> m Bool | Returns: |
Switches to the previous or next child that doesn't have 'navigatable' child
property set to False
, similar to performing a swipe gesture to go in
direction
.
Since: 1.0
new
leafletNew :: (HasCallStack, MonadIO m) => m Leaflet Source #
No description available in the introspection data.
prepend
:: (HasCallStack, MonadIO m, IsLeaflet a, IsWidget b) | |
=> a |
|
-> b |
|
-> m () |
Inserts child
at the first position in self
.
Since: 1.2
reorderChildAfter
leafletReorderChildAfter Source #
:: (HasCallStack, MonadIO m, IsLeaflet 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
leafletSetCanSwipeBack Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether or not self
allows switching to the previous child that has
'navigatable' child property set to True
via a swipe gesture
Since: 0.0.12
setCanSwipeForward
leafletSetCanSwipeForward Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether or not self
allows switching to the next child that has
'navigatable' child property set to True
via a swipe gesture.
Since: 0.0.12
setChildTransitionDuration
leafletSetChildTransitionDuration Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> Word32 |
|
-> m () |
Sets the duration that transitions between children in self
will take.
setHomogeneous
leafletSetHomogeneous Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> Bool |
|
-> Orientation |
|
-> Bool |
|
-> m () |
Sets the Leaflet
to be homogeneous or not for the given fold and orientation.
If it is homogeneous, the Leaflet
will request the same
width or height for all its children depending on the orientation.
If it isn't and it is folded, the leaflet may change width or height
when a different child becomes visible.
setInterpolateSize
leafletSetInterpolateSize Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> Bool |
|
-> m () |
setModeTransitionDuration
leafletSetModeTransitionDuration Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> Word32 |
|
-> m () |
Sets the duration that transitions between modes in self
will take.
setTransitionType
leafletSetTransitionType Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> LeafletTransitionType |
|
-> m () |
Sets the type of animation that will be used for transitions between modes
and children in self
.
The transition type can be changed without problems at runtime, so it is possible to change the animation based on the mode or child that is about to become current.
Since: 0.0.12
setVisibleChild
leafletSetVisibleChild Source #
:: (HasCallStack, MonadIO m, IsLeaflet a, IsWidget b) | |
=> a |
|
-> b |
|
-> m () |
Makes visibleChild
visible using a transition determined by
HdyLeaflet:transition-type and HdyLeaflet:child-transition-duration. The
transition can be cancelled by the user, in which case visible child will
change back to the previously visible child.
setVisibleChildName
leafletSetVisibleChildName Source #
:: (HasCallStack, MonadIO m, IsLeaflet a) | |
=> a |
|
-> Text |
|
-> m () |
Makes the child with the name name
visible.
See leafletSetVisibleChild
for more details.
Properties
canSwipeBack
Whether or not the leaflet allows switching to the previous child that has
'navigatable' child property set to True
via a swipe gesture.
Since: 0.0.12
constructLeafletCanSwipeBack :: (IsLeaflet 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
.
getLeafletCanSwipeBack :: (MonadIO m, IsLeaflet o) => o -> m Bool Source #
Get the value of the “can-swipe-back
” property.
When overloading is enabled, this is equivalent to
get
leaflet #canSwipeBack
setLeafletCanSwipeBack :: (MonadIO m, IsLeaflet o) => o -> Bool -> m () Source #
Set the value of the “can-swipe-back
” property.
When overloading is enabled, this is equivalent to
set
leaflet [ #canSwipeBack:=
value ]
canSwipeForward
Whether or not the leaflet allows switching to the next child that has
'navigatable' child property set to True
via a swipe gesture.
Since: 0.0.12
constructLeafletCanSwipeForward :: (IsLeaflet 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
.
getLeafletCanSwipeForward :: (MonadIO m, IsLeaflet o) => o -> m Bool Source #
Get the value of the “can-swipe-forward
” property.
When overloading is enabled, this is equivalent to
get
leaflet #canSwipeForward
setLeafletCanSwipeForward :: (MonadIO m, IsLeaflet o) => o -> Bool -> m () Source #
Set the value of the “can-swipe-forward
” property.
When overloading is enabled, this is equivalent to
set
leaflet [ #canSwipeForward:=
value ]
childTransitionDuration
No description available in the introspection data.
constructLeafletChildTransitionDuration :: (IsLeaflet o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “child-transition-duration
” property. This is rarely needed directly, but it is used by new
.
getLeafletChildTransitionDuration :: (MonadIO m, IsLeaflet o) => o -> m Word32 Source #
Get the value of the “child-transition-duration
” property.
When overloading is enabled, this is equivalent to
get
leaflet #childTransitionDuration
setLeafletChildTransitionDuration :: (MonadIO m, IsLeaflet o) => o -> Word32 -> m () Source #
Set the value of the “child-transition-duration
” property.
When overloading is enabled, this is equivalent to
set
leaflet [ #childTransitionDuration:=
value ]
childTransitionRunning
No description available in the introspection data.
getLeafletChildTransitionRunning :: (MonadIO m, IsLeaflet o) => o -> m Bool Source #
Get the value of the “child-transition-running
” property.
When overloading is enabled, this is equivalent to
get
leaflet #childTransitionRunning
folded
True
if the leaflet is folded.
The leaflet will be folded if the size allocated to it is smaller than the sum of the natural size of its children, it will be unfolded otherwise.
getLeafletFolded :: (MonadIO m, IsLeaflet o) => o -> m Bool Source #
Get the value of the “folded
” property.
When overloading is enabled, this is equivalent to
get
leaflet #folded
hhomogeneousFolded
No description available in the introspection data.
constructLeafletHhomogeneousFolded :: (IsLeaflet o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “hhomogeneous-folded
” property. This is rarely needed directly, but it is used by new
.
getLeafletHhomogeneousFolded :: (MonadIO m, IsLeaflet o) => o -> m Bool Source #
Get the value of the “hhomogeneous-folded
” property.
When overloading is enabled, this is equivalent to
get
leaflet #hhomogeneousFolded
setLeafletHhomogeneousFolded :: (MonadIO m, IsLeaflet o) => o -> Bool -> m () Source #
Set the value of the “hhomogeneous-folded
” property.
When overloading is enabled, this is equivalent to
set
leaflet [ #hhomogeneousFolded:=
value ]
hhomogeneousUnfolded
No description available in the introspection data.
constructLeafletHhomogeneousUnfolded :: (IsLeaflet o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “hhomogeneous-unfolded
” property. This is rarely needed directly, but it is used by new
.
getLeafletHhomogeneousUnfolded :: (MonadIO m, IsLeaflet o) => o -> m Bool Source #
Get the value of the “hhomogeneous-unfolded
” property.
When overloading is enabled, this is equivalent to
get
leaflet #hhomogeneousUnfolded
setLeafletHhomogeneousUnfolded :: (MonadIO m, IsLeaflet o) => o -> Bool -> m () Source #
Set the value of the “hhomogeneous-unfolded
” property.
When overloading is enabled, this is equivalent to
set
leaflet [ #hhomogeneousUnfolded:=
value ]
interpolateSize
No description available in the introspection data.
constructLeafletInterpolateSize :: (IsLeaflet 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
.
getLeafletInterpolateSize :: (MonadIO m, IsLeaflet o) => o -> m Bool Source #
Get the value of the “interpolate-size
” property.
When overloading is enabled, this is equivalent to
get
leaflet #interpolateSize
setLeafletInterpolateSize :: (MonadIO m, IsLeaflet o) => o -> Bool -> m () Source #
Set the value of the “interpolate-size
” property.
When overloading is enabled, this is equivalent to
set
leaflet [ #interpolateSize:=
value ]
modeTransitionDuration
No description available in the introspection data.
constructLeafletModeTransitionDuration :: (IsLeaflet o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mode-transition-duration
” property. This is rarely needed directly, but it is used by new
.
getLeafletModeTransitionDuration :: (MonadIO m, IsLeaflet o) => o -> m Word32 Source #
Get the value of the “mode-transition-duration
” property.
When overloading is enabled, this is equivalent to
get
leaflet #modeTransitionDuration
setLeafletModeTransitionDuration :: (MonadIO m, IsLeaflet o) => o -> Word32 -> m () Source #
Set the value of the “mode-transition-duration
” property.
When overloading is enabled, this is equivalent to
set
leaflet [ #modeTransitionDuration:=
value ]
transitionType
The type of animation that will be used for transitions between modes and children.
The transition type can be changed without problems at runtime, so it is possible to change the animation based on the mode or child that is about to become current.
Since: 0.0.12
constructLeafletTransitionType :: (IsLeaflet o, MonadIO m) => LeafletTransitionType -> 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
.
getLeafletTransitionType :: (MonadIO m, IsLeaflet o) => o -> m LeafletTransitionType Source #
Get the value of the “transition-type
” property.
When overloading is enabled, this is equivalent to
get
leaflet #transitionType
setLeafletTransitionType :: (MonadIO m, IsLeaflet o) => o -> LeafletTransitionType -> m () Source #
Set the value of the “transition-type
” property.
When overloading is enabled, this is equivalent to
set
leaflet [ #transitionType:=
value ]
vhomogeneousFolded
No description available in the introspection data.
constructLeafletVhomogeneousFolded :: (IsLeaflet o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “vhomogeneous-folded
” property. This is rarely needed directly, but it is used by new
.
getLeafletVhomogeneousFolded :: (MonadIO m, IsLeaflet o) => o -> m Bool Source #
Get the value of the “vhomogeneous-folded
” property.
When overloading is enabled, this is equivalent to
get
leaflet #vhomogeneousFolded
setLeafletVhomogeneousFolded :: (MonadIO m, IsLeaflet o) => o -> Bool -> m () Source #
Set the value of the “vhomogeneous-folded
” property.
When overloading is enabled, this is equivalent to
set
leaflet [ #vhomogeneousFolded:=
value ]
vhomogeneousUnfolded
No description available in the introspection data.
constructLeafletVhomogeneousUnfolded :: (IsLeaflet o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “vhomogeneous-unfolded
” property. This is rarely needed directly, but it is used by new
.
getLeafletVhomogeneousUnfolded :: (MonadIO m, IsLeaflet o) => o -> m Bool Source #
Get the value of the “vhomogeneous-unfolded
” property.
When overloading is enabled, this is equivalent to
get
leaflet #vhomogeneousUnfolded
setLeafletVhomogeneousUnfolded :: (MonadIO m, IsLeaflet o) => o -> Bool -> m () Source #
Set the value of the “vhomogeneous-unfolded
” property.
When overloading is enabled, this is equivalent to
set
leaflet [ #vhomogeneousUnfolded:=
value ]
visibleChild
No description available in the introspection data.
constructLeafletVisibleChild :: (IsLeaflet 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
.
getLeafletVisibleChild :: (MonadIO m, IsLeaflet o) => o -> m Widget Source #
Get the value of the “visible-child
” property.
When overloading is enabled, this is equivalent to
get
leaflet #visibleChild
setLeafletVisibleChild :: (MonadIO m, IsLeaflet o, IsWidget a) => o -> a -> m () Source #
Set the value of the “visible-child
” property.
When overloading is enabled, this is equivalent to
set
leaflet [ #visibleChild:=
value ]
visibleChildName
No description available in the introspection data.
constructLeafletVisibleChildName :: (IsLeaflet 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
.
getLeafletVisibleChildName :: (MonadIO m, IsLeaflet o) => o -> m Text Source #
Get the value of the “visible-child-name
” property.
When overloading is enabled, this is equivalent to
get
leaflet #visibleChildName
setLeafletVisibleChildName :: (MonadIO m, IsLeaflet o) => o -> Text -> m () Source #
Set the value of the “visible-child-name
” property.
When overloading is enabled, this is equivalent to
set
leaflet [ #visibleChildName:=
value ]