| 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 |
GI.Adw.Enums
Description
Synopsis
- data AnimationState
- data CenteringPolicy
- data ColorScheme
- data Easing
- = EasingLinear
- | EasingEaseInQuad
- | EasingEaseOutQuad
- | EasingEaseInOutQuad
- | EasingEaseInCubic
- | EasingEaseOutCubic
- | EasingEaseInOutCubic
- | EasingEaseInQuart
- | EasingEaseOutQuart
- | EasingEaseInOutQuart
- | EasingEaseInQuint
- | EasingEaseOutQuint
- | EasingEaseInOutQuint
- | EasingEaseInSine
- | EasingEaseOutSine
- | EasingEaseInOutSine
- | EasingEaseInExpo
- | EasingEaseOutExpo
- | EasingEaseInOutExpo
- | EasingEaseInCirc
- | EasingEaseOutCirc
- | EasingEaseInOutCirc
- | EasingEaseInElastic
- | EasingEaseOutElastic
- | EasingEaseInOutElastic
- | EasingEaseInBack
- | EasingEaseOutBack
- | EasingEaseInOutBack
- | EasingEaseInBounce
- | EasingEaseOutBounce
- | EasingEaseInOutBounce
- | AnotherEasing Int
- data FlapFoldPolicy
- data FlapTransitionType
- data FoldThresholdPolicy
- data LeafletTransitionType
- data NavigationDirection
- data SqueezerTransitionType
- data ToastPriority
- data ViewSwitcherPolicy
Enumerations
AnimationState
data AnimationState Source #
Describes the possible states of an [classanimation].
The state can be controlled with [methodanimation.play],
[methodanimation.pause], [methodanimation.resume],
[methodanimation.reset] and [methodanimation.skip].
Since: 1.0
Constructors
| AnimationStateIdle | The animation hasn't started yet. |
| AnimationStatePaused | The animation has been paused. |
| AnimationStatePlaying | The animation is currently playing. |
| AnimationStateFinished | The animation has finished. |
| AnotherAnimationState Int | Catch-all for unknown values |
Instances
CenteringPolicy
data CenteringPolicy Source #
Describes title centering behavior of a [classheaderBar] widget.
Since: 1.0
Constructors
| CenteringPolicyLoose | Keep the title centered when possible |
| CenteringPolicyStrict | Keep the title centered at all cost |
| AnotherCenteringPolicy Int | Catch-all for unknown values |
Instances
ColorScheme
data ColorScheme Source #
Application color schemes for [propertystyleManager:color-scheme].
Since: 1.0
Constructors
| ColorSchemeDefault | Inherit the parent color-scheme. When set on the
|
| ColorSchemeForceLight | Always use light appearance. |
| ColorSchemePreferLight | Use light appearance unless the system prefers dark colors. |
| ColorSchemePreferDark | Use dark appearance unless the system prefers prefers light colors. |
| ColorSchemeForceDark | Always use dark appearance. |
| AnotherColorScheme Int | Catch-all for unknown values |
Instances
Easing
Describes the available easing functions for use with
[classtimedAnimation].
New values may be added to this enumeration over time.
Since: 1.0
Constructors
| EasingLinear | Linear tweening. |
| EasingEaseInQuad | Quadratic tweening. |
| EasingEaseOutQuad | Quadratic tweening, inverse of |
| EasingEaseInOutQuad | Quadratic tweening, combining |
| EasingEaseInCubic | Cubic tweening. |
| EasingEaseOutCubic | Cubic tweening, inverse of |
| EasingEaseInOutCubic | Cubic tweening, combining |
| EasingEaseInQuart | Quartic tweening. |
| EasingEaseOutQuart | Quartic tweening, inverse of |
| EasingEaseInOutQuart | Quartic tweening, combining |
| EasingEaseInQuint | Quintic tweening. |
| EasingEaseOutQuint | Quintic tweening, inverse of |
| EasingEaseInOutQuint | Quintic tweening, combining |
| EasingEaseInSine | Sine wave tweening. |
| EasingEaseOutSine | Sine wave tweening, inverse of |
| EasingEaseInOutSine | Sine wave tweening, combining |
| EasingEaseInExpo | Exponential tweening. |
| EasingEaseOutExpo | Exponential tweening, inverse of |
| EasingEaseInOutExpo | Exponential tweening, combining |
| EasingEaseInCirc | Circular tweening. |
| EasingEaseOutCirc | Circular tweening, inverse of |
| EasingEaseInOutCirc | Circular tweening, combining |
| EasingEaseInElastic | Elastic tweening, with offshoot on start. |
| EasingEaseOutElastic | Elastic tweening, with offshoot on end, inverse of
|
| EasingEaseInOutElastic | Elastic tweening, with offshoot on both ends,
combining |
| EasingEaseInBack | Overshooting cubic tweening, with backtracking on start. |
| EasingEaseOutBack | Overshooting cubic tweening, with backtracking on end,
inverse of |
| EasingEaseInOutBack | Overshooting cubic tweening, with backtracking on both
ends, combining |
| EasingEaseInBounce | Exponentially decaying parabolic (bounce) tweening, on start. |
| EasingEaseOutBounce | Exponentially decaying parabolic (bounce) tweening,
with bounce on end, inverse of |
| EasingEaseInOutBounce | Exponentially decaying parabolic (bounce) tweening,
with bounce on both ends, combining |
| AnotherEasing Int | Catch-all for unknown values |
Instances
| Enum Easing Source # | |
Defined in GI.Adw.Enums | |
| Show Easing Source # | |
| Eq Easing Source # | |
| Ord Easing Source # | |
| BoxedEnum Easing Source # | |
Defined in GI.Adw.Enums | |
| TypedObject Easing Source # | |
Defined in GI.Adw.Enums | |
| HasParentTypes Easing Source # | |
Defined in GI.Adw.Enums | |
| type ParentTypes Easing Source # | |
Defined in GI.Adw.Enums | |
FlapFoldPolicy
data FlapFoldPolicy Source #
Describes the possible folding behavior of a [classflap] widget.
Since: 1.0
Constructors
| FlapFoldPolicyNever | Disable folding, the flap cannot reach narrow sizes. |
| FlapFoldPolicyAlways | Keep the flap always folded. |
| FlapFoldPolicyAuto | Fold and unfold the flap based on available space. |
| AnotherFlapFoldPolicy Int | Catch-all for unknown values |
Instances
FlapTransitionType
data FlapTransitionType Source #
Describes transitions types of a [classflap] widget.
It determines the type of animation when transitioning between children in a
[classflap] widget, as well as which areas can be swiped via
[propertyflap:swipe-to-open] and [propertyflap:swipe-to-close].
New values may be added to this enum over time.
Since: 1.0
Constructors
| FlapTransitionTypeOver | The flap slides over the content, which is dimmed. When folded, only the flap can be swiped. |
| FlapTransitionTypeUnder | The content slides over the flap. Only the content can be swiped. |
| FlapTransitionTypeSlide | The flap slides offscreen when hidden, neither the flap nor content overlap each other. Both widgets can be swiped. |
| AnotherFlapTransitionType Int | Catch-all for unknown values |
Instances
FoldThresholdPolicy
data FoldThresholdPolicy Source #
Determines when [classflap] and [classleaflet] will fold.
Since: 1.0
Constructors
| FoldThresholdPolicyMinimum | Folding is based on the minimum size |
| FoldThresholdPolicyNatural | Folding is based on the natural size |
| AnotherFoldThresholdPolicy Int | Catch-all for unknown values |
Instances
LeafletTransitionType
data LeafletTransitionType Source #
Describes the possible transitions in a [classleaflet] widget.
New values may be added to this enumeration over time.
Since: 1.0
Constructors
| LeafletTransitionTypeOver | Cover the old page or uncover the new page, sliding from or towards the end according to orientation, text direction and children order |
| LeafletTransitionTypeUnder | Uncover the new page or cover the old page, sliding from or towards the start according to orientation, text direction and children order |
| LeafletTransitionTypeSlide | Slide from left, right, up or down according to the orientation, text direction and the children order |
| AnotherLeafletTransitionType Int | Catch-all for unknown values |
Instances
NavigationDirection
data NavigationDirection Source #
Describes the direction of a swipe navigation gesture.
Since: 1.0
Constructors
| NavigationDirectionBack | Corresponds to start or top, depending on orientation and text direction |
| NavigationDirectionForward | Corresponds to end or bottom, depending on orientation and text direction |
| AnotherNavigationDirection Int | Catch-all for unknown values |
Instances
SqueezerTransitionType
data SqueezerTransitionType Source #
Describes the possible transitions in a [classsqueezer] widget.
Since: 1.0
Constructors
| SqueezerTransitionTypeNone | No transition |
| SqueezerTransitionTypeCrossfade | A cross-fade |
| AnotherSqueezerTransitionType Int | Catch-all for unknown values |
Instances
ToastPriority
data ToastPriority Source #
- class
toast - behavior when another toast is already displayed.
Since: 1.0
Constructors
| ToastPriorityNormal | the toast will be queued if another toast is already displayed. |
| ToastPriorityHigh | the toast will be displayed immediately, pushing the previous toast into the queue instead. |
| AnotherToastPriority Int | Catch-all for unknown values |
Instances
ViewSwitcherPolicy
data ViewSwitcherPolicy Source #
Describes the adaptive modes of [classviewSwitcher].
Constructors
| ViewSwitcherPolicyNarrow | Force the narrow mode |
| ViewSwitcherPolicyWide | Force the wide mode |
| AnotherViewSwitcherPolicy Int | Catch-all for unknown values |