gi-adwaita-1.0.7: Adwaita bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Adw.Enums

Description

 
Synopsis

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].

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

Instances details
Enum AnimationState Source # 
Instance details

Defined in GI.Adw.Enums

Show AnimationState Source # 
Instance details

Defined in GI.Adw.Enums

Eq AnimationState Source # 
Instance details

Defined in GI.Adw.Enums

Ord AnimationState Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum AnimationState Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject AnimationState Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes AnimationState Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes AnimationState Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes AnimationState = '[] :: [Type]

BreakpointConditionLengthType

data BreakpointConditionLengthType Source #

Describes length types for [structbreakpointCondition].

See [ctorbreakpointCondition.new_length].

New values may be added to this enumeration over time.

Since: 1.4

Constructors

BreakpointConditionLengthTypeMinWidth

true if the width is greater than or equal to the condition value

BreakpointConditionLengthTypeMaxWidth

true if the width is less than or equal to the condition value

BreakpointConditionLengthTypeMinHeight

true if the height is greater than or equal to the condition value

BreakpointConditionLengthTypeMaxHeight

true if the height is less than or equal to the condition value

AnotherBreakpointConditionLengthType Int

Catch-all for unknown values

Instances

Instances details
Enum BreakpointConditionLengthType Source # 
Instance details

Defined in GI.Adw.Enums

Show BreakpointConditionLengthType Source # 
Instance details

Defined in GI.Adw.Enums

Eq BreakpointConditionLengthType Source # 
Instance details

Defined in GI.Adw.Enums

Ord BreakpointConditionLengthType Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum BreakpointConditionLengthType Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject BreakpointConditionLengthType Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes BreakpointConditionLengthType Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes BreakpointConditionLengthType Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes BreakpointConditionLengthType = '[] :: [Type]

BreakpointConditionRatioType

data BreakpointConditionRatioType Source #

Describes ratio types for [structbreakpointCondition].

See [ctorbreakpointCondition.new_ratio].

New values may be added to this enumeration over time.

Since: 1.4

Constructors

BreakpointConditionRatioTypeMinAspectRatio

true if the aspect ratio is greater than or equal to the condition value

BreakpointConditionRatioTypeMaxAspectRatio

true if the aspect ratio is less than or equal to the condition value

AnotherBreakpointConditionRatioType Int

Catch-all for unknown values

Instances

Instances details
Enum BreakpointConditionRatioType Source # 
Instance details

Defined in GI.Adw.Enums

Show BreakpointConditionRatioType Source # 
Instance details

Defined in GI.Adw.Enums

Eq BreakpointConditionRatioType Source # 
Instance details

Defined in GI.Adw.Enums

Ord BreakpointConditionRatioType Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum BreakpointConditionRatioType Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject BreakpointConditionRatioType Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes BreakpointConditionRatioType Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes BreakpointConditionRatioType Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes BreakpointConditionRatioType = '[] :: [Type]

CenteringPolicy

data CenteringPolicy Source #

Describes title centering behavior of a [classheaderBar] widget.

Constructors

CenteringPolicyLoose

Keep the title centered when possible

CenteringPolicyStrict

Keep the title centered at all cost

AnotherCenteringPolicy Int

Catch-all for unknown values

Instances

Instances details
Enum CenteringPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Show CenteringPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Eq CenteringPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Ord CenteringPolicy Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum CenteringPolicy Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject CenteringPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes CenteringPolicy Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes CenteringPolicy Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes CenteringPolicy = '[] :: [Type]

ColorScheme

data ColorScheme Source #

Application color schemes for [propertystyleManager:color-scheme].

Constructors

ColorSchemeDefault

Inherit the parent color-scheme. When set on the AdwStyleManager returned by StyleManager.get_default, it's equivalent to ADW_COLOR_SCHEME_PREFER_LIGHT.

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

Instances details
Enum ColorScheme Source # 
Instance details

Defined in GI.Adw.Enums

Show ColorScheme Source # 
Instance details

Defined in GI.Adw.Enums

Eq ColorScheme Source # 
Instance details

Defined in GI.Adw.Enums

Ord ColorScheme Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum ColorScheme Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject ColorScheme Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes ColorScheme Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes ColorScheme Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes ColorScheme = '[] :: [Type]

DialogPresentationMode

data DialogPresentationMode Source #

Describes the available presentation modes for [classdialog].

New values may be added to this enumeration over time.

See [propertydialog:presentation-mode].

Since: 1.5

Constructors

DialogPresentationModeAuto

Switch between ADW_DIALOG_FLOATING and ADW_DIALOG_BOTTOM_SHEET depending on available size.

DialogPresentationModeFloating

Present dialog as a centered floating window.

DialogPresentationModeBottomSheet

Present dialog as a bottom sheet.

AnotherDialogPresentationMode Int

Catch-all for unknown values

Instances

Instances details
Enum DialogPresentationMode Source # 
Instance details

Defined in GI.Adw.Enums

Show DialogPresentationMode Source # 
Instance details

Defined in GI.Adw.Enums

Eq DialogPresentationMode Source # 
Instance details

Defined in GI.Adw.Enums

Ord DialogPresentationMode Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum DialogPresentationMode Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject DialogPresentationMode Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes DialogPresentationMode Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes DialogPresentationMode Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes DialogPresentationMode = '[] :: [Type]

Easing

data Easing Source #

Describes the available easing functions for use with [classtimedAnimation].

New values may be added to this enumeration over time.

Constructors

EasingLinear

Linear tweening.

EasingEaseInQuad

Quadratic tweening.

EasingEaseOutQuad

Quadratic tweening, inverse of ADW_EASE_IN_QUAD.

EasingEaseInOutQuad

Quadratic tweening, combining ADW_EASE_IN_QUAD and ADW_EASE_OUT_QUAD.

EasingEaseInCubic

Cubic tweening.

EasingEaseOutCubic

Cubic tweening, inverse of ADW_EASE_IN_CUBIC.

EasingEaseInOutCubic

Cubic tweening, combining ADW_EASE_IN_CUBIC and ADW_EASE_OUT_CUBIC.

EasingEaseInQuart

Quartic tweening.

EasingEaseOutQuart

Quartic tweening, inverse of ADW_EASE_IN_QUART.

EasingEaseInOutQuart

Quartic tweening, combining ADW_EASE_IN_QUART and ADW_EASE_OUT_QUART.

EasingEaseInQuint

Quintic tweening.

EasingEaseOutQuint

Quintic tweening, inverse of ADW_EASE_IN_QUINT.

EasingEaseInOutQuint

Quintic tweening, combining ADW_EASE_IN_QUINT and ADW_EASE_OUT_QUINT.

EasingEaseInSine

Sine wave tweening.

EasingEaseOutSine

Sine wave tweening, inverse of ADW_EASE_IN_SINE.

EasingEaseInOutSine

Sine wave tweening, combining ADW_EASE_IN_SINE and ADW_EASE_OUT_SINE.

EasingEaseInExpo

Exponential tweening.

EasingEaseOutExpo

Exponential tweening, inverse of ADW_EASE_IN_EXPO.

EasingEaseInOutExpo

Exponential tweening, combining ADW_EASE_IN_EXPO and ADW_EASE_OUT_EXPO.

EasingEaseInCirc

Circular tweening.

EasingEaseOutCirc

Circular tweening, inverse of ADW_EASE_IN_CIRC.

EasingEaseInOutCirc

Circular tweening, combining ADW_EASE_IN_CIRC and ADW_EASE_OUT_CIRC.

EasingEaseInElastic

Elastic tweening, with offshoot on start.

EasingEaseOutElastic

Elastic tweening, with offshoot on end, inverse of ADW_EASE_IN_ELASTIC.

EasingEaseInOutElastic

Elastic tweening, with offshoot on both ends, combining ADW_EASE_IN_ELASTIC and ADW_EASE_OUT_ELASTIC.

EasingEaseInBack

Overshooting cubic tweening, with backtracking on start.

EasingEaseOutBack

Overshooting cubic tweening, with backtracking on end, inverse of ADW_EASE_IN_BACK.

EasingEaseInOutBack

Overshooting cubic tweening, with backtracking on both ends, combining ADW_EASE_IN_BACK and ADW_EASE_OUT_BACK.

EasingEaseInBounce

Exponentially decaying parabolic (bounce) tweening, on start.

EasingEaseOutBounce

Exponentially decaying parabolic (bounce) tweening, with bounce on end, inverse of ADW_EASE_IN_BOUNCE.

EasingEaseInOutBounce

Exponentially decaying parabolic (bounce) tweening, with bounce on both ends, combining ADW_EASE_IN_BOUNCE and ADW_EASE_OUT_BOUNCE.

AnotherEasing Int

Catch-all for unknown values

Instances

Instances details
Enum Easing Source # 
Instance details

Defined in GI.Adw.Enums

Show Easing Source # 
Instance details

Defined in GI.Adw.Enums

Eq Easing Source # 
Instance details

Defined in GI.Adw.Enums

Methods

(==) :: Easing -> Easing -> Bool #

(/=) :: Easing -> Easing -> Bool #

Ord Easing Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum Easing Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject Easing Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes Easing Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes Easing Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes Easing = '[] :: [Type]

FlapFoldPolicy

data FlapFoldPolicy Source #

Deprecated: (Since version 1.4)See the migration guide

Describes the possible folding behavior of a [classflap] widget.

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

Instances details
Enum FlapFoldPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Show FlapFoldPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Eq FlapFoldPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Ord FlapFoldPolicy Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum FlapFoldPolicy Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject FlapFoldPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes FlapFoldPolicy Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes FlapFoldPolicy Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes FlapFoldPolicy = '[] :: [Type]

FlapTransitionType

data FlapTransitionType Source #

Deprecated: (Since version 1.4)See the migration guide

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].

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

Instances details
Enum FlapTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

Show FlapTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

Eq FlapTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

Ord FlapTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum FlapTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject FlapTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes FlapTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes FlapTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes FlapTransitionType = '[] :: [Type]

FoldThresholdPolicy

data FoldThresholdPolicy Source #

Deprecated: (Since version 1.4)Stop using AdwLeaflet and AdwFlap

Determines when [classflap] and [classleaflet] will fold.

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

Instances details
Enum FoldThresholdPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Show FoldThresholdPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Eq FoldThresholdPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Ord FoldThresholdPolicy Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum FoldThresholdPolicy Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject FoldThresholdPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes FoldThresholdPolicy Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes FoldThresholdPolicy Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes FoldThresholdPolicy = '[] :: [Type]

LeafletTransitionType

data LeafletTransitionType Source #

Deprecated: (Since version 1.4)See the migration guide

Describes the possible transitions in a [classleaflet] widget.

New values may be added to this enumeration over time.

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

Instances details
Enum LeafletTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

Show LeafletTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

Eq LeafletTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

Ord LeafletTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum LeafletTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject LeafletTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes LeafletTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes LeafletTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes LeafletTransitionType = '[] :: [Type]

LengthUnit

data LengthUnit Source #

Describes length units.

| Unit | Regular Text | Large Text | | ---- | ------------ | ---------- | | 1px | 1px | 1px | | 1pt | 1.333333px | 1.666667px | | 1sp | 1px | 1.25px |

New values may be added to this enumeration over time.

Since: 1.4

Constructors

LengthUnitPx

pixels

LengthUnitPt

points, changes with text scale factor

LengthUnitSp

scale independent pixels, changes with text scale factor

AnotherLengthUnit Int

Catch-all for unknown values

Instances

Instances details
Enum LengthUnit Source # 
Instance details

Defined in GI.Adw.Enums

Show LengthUnit Source # 
Instance details

Defined in GI.Adw.Enums

Eq LengthUnit Source # 
Instance details

Defined in GI.Adw.Enums

Ord LengthUnit Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum LengthUnit Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject LengthUnit Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes LengthUnit Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes LengthUnit Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes LengthUnit = '[] :: [Type]

NavigationDirection

data NavigationDirection Source #

Describes the direction of a swipe navigation gesture.

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

Instances details
Enum NavigationDirection Source # 
Instance details

Defined in GI.Adw.Enums

Show NavigationDirection Source # 
Instance details

Defined in GI.Adw.Enums

Eq NavigationDirection Source # 
Instance details

Defined in GI.Adw.Enums

Ord NavigationDirection Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum NavigationDirection Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject NavigationDirection Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes NavigationDirection Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes NavigationDirection Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes NavigationDirection = '[] :: [Type]

ResponseAppearance

data ResponseAppearance Source #

Describes the possible styles of [classalertDialog] response buttons.

See [methodalertDialog.set_response_appearance].

Since: 1.2

Constructors

ResponseAppearanceDefault

the default appearance.

ResponseAppearanceSuggested

used to denote important responses such as the affirmative action.

ResponseAppearanceDestructive

used to draw attention to the potentially damaging consequences of using the response. This appearance acts as a warning to the user.

AnotherResponseAppearance Int

Catch-all for unknown values

Instances

Instances details
Enum ResponseAppearance Source # 
Instance details

Defined in GI.Adw.Enums

Show ResponseAppearance Source # 
Instance details

Defined in GI.Adw.Enums

Eq ResponseAppearance Source # 
Instance details

Defined in GI.Adw.Enums

Ord ResponseAppearance Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum ResponseAppearance Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject ResponseAppearance Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes ResponseAppearance Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes ResponseAppearance Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes ResponseAppearance = '[] :: [Type]

SqueezerTransitionType

data SqueezerTransitionType Source #

Deprecated: (Since version 1.4)See the migration guide

Describes the possible transitions in a [classsqueezer] widget.

Constructors

SqueezerTransitionTypeNone

No transition

SqueezerTransitionTypeCrossfade

A cross-fade

AnotherSqueezerTransitionType Int

Catch-all for unknown values

Instances

Instances details
Enum SqueezerTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

Show SqueezerTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

Eq SqueezerTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

Ord SqueezerTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum SqueezerTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject SqueezerTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes SqueezerTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes SqueezerTransitionType Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes SqueezerTransitionType = '[] :: [Type]

ToastPriority

data ToastPriority Source #

classtoast
behavior when another toast is already displayed.

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

Instances details
Enum ToastPriority Source # 
Instance details

Defined in GI.Adw.Enums

Show ToastPriority Source # 
Instance details

Defined in GI.Adw.Enums

Eq ToastPriority Source # 
Instance details

Defined in GI.Adw.Enums

Ord ToastPriority Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum ToastPriority Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject ToastPriority Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes ToastPriority Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes ToastPriority Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes ToastPriority = '[] :: [Type]

ToolbarStyle

data ToolbarStyle Source #

Describes the possible top or bottom bar styles in an [classtoolbarView] widget.

ADW_TOOLBAR_FLAT is suitable for simple content, such as [classstatusPage] or [classpreferencesPage], where the background at the top and bottom parts of the page is uniform. Additionally, windows with sidebars should always use this style.

<picture style="min-width: 33%; display: inline-block;"> <source srcset="toolbar-view-flat-1-dark.png" media="(prefers-color-scheme: dark)"> <img src="toolbar-view-flat-1.png" alt="toolbar-view-flat-1"> </picture> <picture style="min-width: 33%; display: inline-block;"> <source srcset="toolbar-view-flat-2-dark.png" media="(prefers-color-scheme: dark)"> <img src="toolbar-view-flat-2.png" alt="toolbar-view-flat-2"> </picture>

ADW_TOOLBAR_RAISED style is suitable for content such as utility panes, where some elements are directly adjacent to the top/bottom bars, or [classtabView], where each page can have a different background.

ADW_TOOLBAR_RAISED_BORDER style is similar to ADW_TOOLBAR_RAISED, but with the shadow replaced with a more subtle border. It's intended to be used in applications like image viewers, where a shadow over the content might be undesired.

<picture style="min-width: 33%; display: inline-block;"> <source srcset="toolbar-view-raised-dark.png" media="(prefers-color-scheme: dark)"> <img src="toolbar-view-raised.png" alt="toolbar-view-raised"> </picture> <picture style="min-width: 33%; display: inline-block;"> <source srcset="toolbar-view-raised-border-dark.png" media="(prefers-color-scheme: dark)"> <img src="toolbar-view-raised-border.png" alt="toolbar-view-raised-border"> </picture>

See [propertytoolbarView:top-bar-style] and [propertytoolbarView:bottom-bar-style].

New values may be added to this enumeration over time.

Since: 1.4

Constructors

ToolbarStyleFlat

No background, shadow only for scrolled content

ToolbarStyleRaised

Opaque background with a persistent shadow

ToolbarStyleRaisedBorder

Opaque background with a persistent border

AnotherToolbarStyle Int

Catch-all for unknown values

Instances

Instances details
Enum ToolbarStyle Source # 
Instance details

Defined in GI.Adw.Enums

Show ToolbarStyle Source # 
Instance details

Defined in GI.Adw.Enums

Eq ToolbarStyle Source # 
Instance details

Defined in GI.Adw.Enums

Ord ToolbarStyle Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum ToolbarStyle Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject ToolbarStyle Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes ToolbarStyle Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes ToolbarStyle Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes ToolbarStyle = '[] :: [Type]

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

Instances

Instances details
Enum ViewSwitcherPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Show ViewSwitcherPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Eq ViewSwitcherPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Ord ViewSwitcherPolicy Source # 
Instance details

Defined in GI.Adw.Enums

BoxedEnum ViewSwitcherPolicy Source # 
Instance details

Defined in GI.Adw.Enums

TypedObject ViewSwitcherPolicy Source # 
Instance details

Defined in GI.Adw.Enums

Methods

glibType :: IO GType

HasParentTypes ViewSwitcherPolicy Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes ViewSwitcherPolicy Source # 
Instance details

Defined in GI.Adw.Enums

type ParentTypes ViewSwitcherPolicy = '[] :: [Type]