gi-gtk4-4.0.12: Gtk 4.x bindings

Copyright | Will Thompson and Iñaki García Etxebarria
License | LGPL-2.1
Maintainer | Iñaki García Etxebarria
Safe Haskell | None
Language | Haskell2010

GI.Gtk.Flags

Contents

- Flags
  - ApplicationInhibitFlags
  - BuilderClosureFlags
  - CellRendererState
  - DebugFlags
  - DialogFlags
  - EventControllerScrollFlags
  - FontChooserLevel
  - IconLookupFlags
  - InputHints
  - ListScrollFlags
  - PickFlags
  - PopoverMenuFlags
  - PrintCapabilities
  - ShortcutActionFlags
  - StateFlags
  - StyleContextPrintFlags
  - SvgFeatures
  - TextBufferNotifyFlags
  - TextSearchFlags
  - TreeModelFlags

Description

Synopsis

- data ApplicationInhibitFlags
  - = ApplicationInhibitFlagsLogout
  - | ApplicationInhibitFlagsSwitch
  - | ApplicationInhibitFlagsSuspend
  - | ApplicationInhibitFlagsIdle
  - | AnotherApplicationInhibitFlags Int
- data BuilderClosureFlags
  - = BuilderClosureFlagsSwapped
  - | AnotherBuilderClosureFlags Int
- data CellRendererState
  - = CellRendererStateSelected
  - | CellRendererStatePrelit
  - | CellRendererStateInsensitive
  - | CellRendererStateSorted
  - | CellRendererStateFocused
  - | CellRendererStateExpandable
  - | CellRendererStateExpanded
  - | AnotherCellRendererState Int
- data DebugFlags
  - = DebugFlagsText
  - | DebugFlagsTree
  - | DebugFlagsKeybindings
  - | DebugFlagsModules
  - | DebugFlagsGeometry
  - | DebugFlagsIcontheme
  - | DebugFlagsPrinting
  - | DebugFlagsBuilderTrace
  - | DebugFlagsSizeRequest
  - | DebugFlagsNoCssCache
  - | DebugFlagsInteractive
  - | DebugFlagsTouchscreen
  - | DebugFlagsActions
  - | DebugFlagsLayout
  - | DebugFlagsSnapshot
  - | DebugFlagsConstraints
  - | DebugFlagsBuilderObjects
  - | DebugFlagsA11y
  - | DebugFlagsIconfallback
  - | DebugFlagsInvertTextDir
  - | DebugFlagsCss
  - | DebugFlagsBuilder
  - | DebugFlagsSession
  - | DebugFlagsGeneralInfo
  - | AnotherDebugFlags Int
- data DialogFlags
  - = DialogFlagsModal
  - | DialogFlagsDestroyWithParent
  - | DialogFlagsUseHeaderBar
  - | AnotherDialogFlags Int
- data EventControllerScrollFlags
  - = EventControllerScrollFlagsNone
  - | EventControllerScrollFlagsVertical
  - | EventControllerScrollFlagsHorizontal
  - | EventControllerScrollFlagsDiscrete
  - | EventControllerScrollFlagsKinetic
  - | EventControllerScrollFlagsPhysicalDirection
  - | EventControllerScrollFlagsBothAxes
  - | AnotherEventControllerScrollFlags Int
- data FontChooserLevel
  - = FontChooserLevelFamily
  - | FontChooserLevelStyle
  - | FontChooserLevelSize
  - | FontChooserLevelVariations
  - | FontChooserLevelFeatures
  - | AnotherFontChooserLevel Int
- data IconLookupFlags
  - = IconLookupFlagsNone
  - | IconLookupFlagsForceRegular
  - | IconLookupFlagsForceSymbolic
  - | IconLookupFlagsPreload
  - | AnotherIconLookupFlags Int
- data InputHints
  - = InputHintsNone
  - | InputHintsSpellcheck
  - | InputHintsNoSpellcheck
  - | InputHintsWordCompletion
  - | InputHintsLowercase
  - | InputHintsUppercaseChars
  - | InputHintsUppercaseWords
  - | InputHintsUppercaseSentences
  - | InputHintsInhibitOsk
  - | InputHintsVerticalWriting
  - | InputHintsEmoji
  - | InputHintsNoEmoji
  - | InputHintsPrivate
  - | AnotherInputHints Int
- data ListScrollFlags
  - = ListScrollFlagsNone
  - | ListScrollFlagsFocus
  - | ListScrollFlagsSelect
  - | AnotherListScrollFlags Int
- data PickFlags
  - = PickFlagsDefault
  - | PickFlagsInsensitive
  - | PickFlagsNonTargetable
  - | AnotherPickFlags Int
- data PopoverMenuFlags
  - = PopoverMenuFlagsSliding
  - | PopoverMenuFlagsNested
  - | AnotherPopoverMenuFlags Int
- data PrintCapabilities
  - = PrintCapabilitiesPageSet
  - | PrintCapabilitiesCopies
  - | PrintCapabilitiesCollate
  - | PrintCapabilitiesReverse
  - | PrintCapabilitiesScale
  - | PrintCapabilitiesGeneratePdf
  - | PrintCapabilitiesGeneratePs
  - | PrintCapabilitiesPreview
  - | PrintCapabilitiesNumberUp
  - | PrintCapabilitiesNumberUpLayout
  - | AnotherPrintCapabilities Int
- data ShortcutActionFlags
  - = ShortcutActionFlagsExclusive
  - | AnotherShortcutActionFlags Int
- data StateFlags
  - = StateFlagsNormal
  - | StateFlagsActive
  - | StateFlagsPrelight
  - | StateFlagsSelected
  - | StateFlagsInsensitive
  - | StateFlagsInconsistent
  - | StateFlagsFocused
  - | StateFlagsBackdrop
  - | StateFlagsDirLtr
  - | StateFlagsDirRtl
  - | StateFlagsLink
  - | StateFlagsVisited
  - | StateFlagsChecked
  - | StateFlagsDropActive
  - | StateFlagsFocusVisible
  - | StateFlagsFocusWithin
  - | AnotherStateFlags Int
- data StyleContextPrintFlags
  - = StyleContextPrintFlagsNone
  - | StyleContextPrintFlagsRecurse
  - | StyleContextPrintFlagsShowStyle
  - | StyleContextPrintFlagsShowChange
  - | AnotherStyleContextPrintFlags Int
- data SvgFeatures
  - = SvgFeaturesAnimations
  - | SvgFeaturesSystemResources
  - | SvgFeaturesExternalResources
  - | SvgFeaturesExtensions
  - | SvgFeaturesTraditionalSymbolic
  - | AnotherSvgFeatures Int
- data TextBufferNotifyFlags
  - = TextBufferNotifyFlagsBeforeInsert
  - | TextBufferNotifyFlagsAfterInsert
  - | TextBufferNotifyFlagsBeforeDelete
  - | TextBufferNotifyFlagsAfterDelete
  - | AnotherTextBufferNotifyFlags Int
- data TextSearchFlags
  - = TextSearchFlagsVisibleOnly
  - | TextSearchFlagsTextOnly
  - | TextSearchFlagsCaseInsensitive
  - | AnotherTextSearchFlags Int
- data TreeModelFlags
  - = TreeModelFlagsItersPersist
  - | TreeModelFlagsListOnly
  - | AnotherTreeModelFlags Int

# Flags

## ApplicationInhibitFlags

data ApplicationInhibitFlags Source #

Types of user actions that may be blocked by `GtkApplication`.

See `applicationInhibit`.

Constructors

ApplicationInhibitFlagsLogout | Inhibit ending the user session by logging out or by shutting down the computer
ApplicationInhibitFlagsSwitch | Inhibit user switching
ApplicationInhibitFlagsSuspend | Inhibit suspending the session or computer
ApplicationInhibitFlagsIdle | Inhibit the session being marked as idle (and possibly locked)
AnotherApplicationInhibitFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum ApplicationInhibitFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: ApplicationInhibitFlags -> ApplicationInhibitFlags Source #

pred :: ApplicationInhibitFlags -> ApplicationInhibitFlags Source #

toEnum :: Int -> ApplicationInhibitFlags Source #

fromEnum :: ApplicationInhibitFlags -> Int Source #

enumFrom :: ApplicationInhibitFlags -> [ApplicationInhibitFlags] Source #

enumFromThen :: ApplicationInhibitFlags -> ApplicationInhibitFlags -> [ApplicationInhibitFlags] Source #

enumFromTo :: ApplicationInhibitFlags -> ApplicationInhibitFlags -> [ApplicationInhibitFlags] Source #

enumFromThenTo :: ApplicationInhibitFlags -> ApplicationInhibitFlags -> ApplicationInhibitFlags -> [ApplicationInhibitFlags] Source #

Show ApplicationInhibitFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> ApplicationInhibitFlags -> ShowS Source # show :: ApplicationInhibitFlags -> String Source # showList :: [ApplicationInhibitFlags] -> ShowS Source #
Eq ApplicationInhibitFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: ApplicationInhibitFlags -> ApplicationInhibitFlags -> Bool Source # (/=) :: ApplicationInhibitFlags -> ApplicationInhibitFlags -> Bool Source #
Ord ApplicationInhibitFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: ApplicationInhibitFlags -> ApplicationInhibitFlags -> Ordering Source #

(<) :: ApplicationInhibitFlags -> ApplicationInhibitFlags -> Bool Source #

(<=) :: ApplicationInhibitFlags -> ApplicationInhibitFlags -> Bool Source #

(>) :: ApplicationInhibitFlags -> ApplicationInhibitFlags -> Bool Source #

(>=) :: ApplicationInhibitFlags -> ApplicationInhibitFlags -> Bool Source #

max :: ApplicationInhibitFlags -> ApplicationInhibitFlags -> ApplicationInhibitFlags Source #

min :: ApplicationInhibitFlags -> ApplicationInhibitFlags -> ApplicationInhibitFlags Source #

BoxedFlags ApplicationInhibitFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag ApplicationInhibitFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject ApplicationInhibitFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes ApplicationInhibitFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes ApplicationInhibitFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes ApplicationInhibitFlags = '[] :: [Type]

## BuilderClosureFlags

data BuilderClosureFlags Source #

The list of flags that can be passed to `builderCreateClosure`.

New values may be added in the future for new features, so external implementations of `BuilderScope` should test the flags for unknown values and raise a `BuilderErrorInvalidAttribute` error when they encounter one.

Constructors

BuilderClosureFlagsSwapped | The closure should be created swapped. See `g_cclosure_new_swap()` for details.
AnotherBuilderClosureFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum BuilderClosureFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: BuilderClosureFlags -> BuilderClosureFlags Source #

pred :: BuilderClosureFlags -> BuilderClosureFlags Source #

toEnum :: Int -> BuilderClosureFlags Source #

fromEnum :: BuilderClosureFlags -> Int Source #

enumFrom :: BuilderClosureFlags -> [BuilderClosureFlags] Source #

enumFromThen :: BuilderClosureFlags -> BuilderClosureFlags -> [BuilderClosureFlags] Source #

enumFromTo :: BuilderClosureFlags -> BuilderClosureFlags -> [BuilderClosureFlags] Source #

enumFromThenTo :: BuilderClosureFlags -> BuilderClosureFlags -> BuilderClosureFlags -> [BuilderClosureFlags] Source #

Show BuilderClosureFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> BuilderClosureFlags -> ShowS Source # show :: BuilderClosureFlags -> String Source # showList :: [BuilderClosureFlags] -> ShowS Source #
Eq BuilderClosureFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: BuilderClosureFlags -> BuilderClosureFlags -> Bool Source # (/=) :: BuilderClosureFlags -> BuilderClosureFlags -> Bool Source #
Ord BuilderClosureFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: BuilderClosureFlags -> BuilderClosureFlags -> Ordering Source #

(<) :: BuilderClosureFlags -> BuilderClosureFlags -> Bool Source #

(<=) :: BuilderClosureFlags -> BuilderClosureFlags -> Bool Source #

(>) :: BuilderClosureFlags -> BuilderClosureFlags -> Bool Source #

(>=) :: BuilderClosureFlags -> BuilderClosureFlags -> Bool Source #

max :: BuilderClosureFlags -> BuilderClosureFlags -> BuilderClosureFlags Source #

min :: BuilderClosureFlags -> BuilderClosureFlags -> BuilderClosureFlags Source #

BoxedFlags BuilderClosureFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag BuilderClosureFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject BuilderClosureFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes BuilderClosureFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes BuilderClosureFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes BuilderClosureFlags = '[] :: [Type]

## CellRendererState

data CellRendererState Source #

Deprecated: (Since version 4.20)There is no replacement.

Tells how a cell is to be rendered.

Constructors

CellRendererStateSelected | The cell is currently selected, and probably has a selection colored background to render to.
CellRendererStatePrelit | The mouse is hovering over the cell.
CellRendererStateInsensitive | The cell is drawn in an insensitive manner
CellRendererStateSorted | The cell is in a sorted row
CellRendererStateFocused | The cell is in the focus row.
CellRendererStateExpandable | The cell is in a row that can be expanded
CellRendererStateExpanded | The cell is in a row that is expanded
AnotherCellRendererState Int | Catch-all for unknown values

#### Instances

Instances details

Enum CellRendererState Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: CellRendererState -> CellRendererState Source #

pred :: CellRendererState -> CellRendererState Source #

toEnum :: Int -> CellRendererState Source #

fromEnum :: CellRendererState -> Int Source #

enumFrom :: CellRendererState -> [CellRendererState] Source #

enumFromThen :: CellRendererState -> CellRendererState -> [CellRendererState] Source #

enumFromTo :: CellRendererState -> CellRendererState -> [CellRendererState] Source #

enumFromThenTo :: CellRendererState -> CellRendererState -> CellRendererState -> [CellRendererState] Source #

Show CellRendererState Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> CellRendererState -> ShowS Source # show :: CellRendererState -> String Source # showList :: [CellRendererState] -> ShowS Source #
Eq CellRendererState Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: CellRendererState -> CellRendererState -> Bool Source # (/=) :: CellRendererState -> CellRendererState -> Bool Source #
Ord CellRendererState Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: CellRendererState -> CellRendererState -> Ordering Source #

(<) :: CellRendererState -> CellRendererState -> Bool Source #

(<=) :: CellRendererState -> CellRendererState -> Bool Source #

(>) :: CellRendererState -> CellRendererState -> Bool Source #

(>=) :: CellRendererState -> CellRendererState -> Bool Source #

max :: CellRendererState -> CellRendererState -> CellRendererState Source #

min :: CellRendererState -> CellRendererState -> CellRendererState Source #

BoxedFlags CellRendererState Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag CellRendererState Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject CellRendererState Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes CellRendererState Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes CellRendererState Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes CellRendererState = '[] :: [Type]

## DebugFlags

data DebugFlags Source #

Flags to use with `setDebugFlags`.

Settings these flags causes GTK to print out different types of debugging information. Some of these flags are only available when GTK has been configured with `-Ddebug=true`.

Constructors

DebugFlagsText | Information about GtkTextView
DebugFlagsTree | Information about GtkTreeView
DebugFlagsKeybindings | Information about keyboard shortcuts
DebugFlagsModules | Information about modules and extensions
DebugFlagsGeometry | Information about size allocation
DebugFlagsIcontheme | Information about icon themes
DebugFlagsPrinting | Information about printing
DebugFlagsBuilderTrace | Trace GtkBuilder operation
DebugFlagsSizeRequest | Information about size requests
DebugFlagsNoCssCache | Disable the style property cache
DebugFlagsInteractive | Open the GTK inspector
DebugFlagsTouchscreen | Show touch UI elements for pointer events. Since: 4.20
DebugFlagsActions | Information about actions and menu models
DebugFlagsLayout | Information from layout managers
DebugFlagsSnapshot | Include debug render nodes in the generated snapshots
DebugFlagsConstraints | Information from the constraints solver
DebugFlagsBuilderObjects | Log unused GtkBuilder objects
DebugFlagsA11y | Information about accessibility state changes
DebugFlagsIconfallback | Information about icon fallback. Since: 4.2
DebugFlagsInvertTextDir | Inverts the default text-direction. Since: 4.8
DebugFlagsCss | Information about deprecated CSS features. Since: 4.16
DebugFlagsBuilder | Information about deprecated GtkBuilder features. Since: 4.18
DebugFlagsSession | Information about session saving. Since: 4.22
DebugFlagsGeneralInfo | Print information from the GTK inspector 'general' page, in markdown format. Since: 4.24
AnotherDebugFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum DebugFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: DebugFlags -> DebugFlags Source #

pred :: DebugFlags -> DebugFlags Source #

toEnum :: Int -> DebugFlags Source #

fromEnum :: DebugFlags -> Int Source #

enumFrom :: DebugFlags -> [DebugFlags] Source #

enumFromThen :: DebugFlags -> DebugFlags -> [DebugFlags] Source #

enumFromTo :: DebugFlags -> DebugFlags -> [DebugFlags] Source #

enumFromThenTo :: DebugFlags -> DebugFlags -> DebugFlags -> [DebugFlags] Source #

Show DebugFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> DebugFlags -> ShowS Source # show :: DebugFlags -> String Source # showList :: [DebugFlags] -> ShowS Source #
Eq DebugFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: DebugFlags -> DebugFlags -> Bool Source # (/=) :: DebugFlags -> DebugFlags -> Bool Source #
Ord DebugFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: DebugFlags -> DebugFlags -> Ordering Source #

(<) :: DebugFlags -> DebugFlags -> Bool Source #

(<=) :: DebugFlags -> DebugFlags -> Bool Source #

(>) :: DebugFlags -> DebugFlags -> Bool Source #

(>=) :: DebugFlags -> DebugFlags -> Bool Source #

max :: DebugFlags -> DebugFlags -> DebugFlags Source #

min :: DebugFlags -> DebugFlags -> DebugFlags Source #

BoxedFlags DebugFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag DebugFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject DebugFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes DebugFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes DebugFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes DebugFlags = '[] :: [Type]

## DialogFlags

data DialogFlags Source #

Deprecated: (Since version 4.20)There is no replacement.

Flags used to influence dialog construction.

Constructors

DialogFlagsModal | Make the constructed dialog modal
DialogFlagsDestroyWithParent | Destroy the dialog when its parent is destroyed
DialogFlagsUseHeaderBar | Create dialog with actions in header bar instead of action area
AnotherDialogFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum DialogFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: DialogFlags -> DialogFlags Source #

pred :: DialogFlags -> DialogFlags Source #

toEnum :: Int -> DialogFlags Source #

fromEnum :: DialogFlags -> Int Source #

enumFrom :: DialogFlags -> [DialogFlags] Source #

enumFromThen :: DialogFlags -> DialogFlags -> [DialogFlags] Source #

enumFromTo :: DialogFlags -> DialogFlags -> [DialogFlags] Source #

enumFromThenTo :: DialogFlags -> DialogFlags -> DialogFlags -> [DialogFlags] Source #

Show DialogFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> DialogFlags -> ShowS Source # show :: DialogFlags -> String Source # showList :: [DialogFlags] -> ShowS Source #
Eq DialogFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: DialogFlags -> DialogFlags -> Bool Source # (/=) :: DialogFlags -> DialogFlags -> Bool Source #
Ord DialogFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: DialogFlags -> DialogFlags -> Ordering Source #

(<) :: DialogFlags -> DialogFlags -> Bool Source #

(<=) :: DialogFlags -> DialogFlags -> Bool Source #

(>) :: DialogFlags -> DialogFlags -> Bool Source #

(>=) :: DialogFlags -> DialogFlags -> Bool Source #

max :: DialogFlags -> DialogFlags -> DialogFlags Source #

min :: DialogFlags -> DialogFlags -> DialogFlags Source #

BoxedFlags DialogFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag DialogFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject DialogFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes DialogFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes DialogFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes DialogFlags = '[] :: [Type]

## EventControllerScrollFlags

data EventControllerScrollFlags Source #

Describes the behavior of a `GtkEventControllerScroll`.

Constructors

EventControllerScrollFlagsNone | Don't emit scroll.
EventControllerScrollFlagsVertical | Emit scroll with vertical deltas.
EventControllerScrollFlagsHorizontal | Emit scroll with horizontal deltas.
EventControllerScrollFlagsDiscrete | Only emit deltas that are multiples of 1.
EventControllerScrollFlagsKinetic | Emit decelerate after continuous scroll finishes.
EventControllerScrollFlagsPhysicalDirection | A `EventControllerScrollFlags` value to prefer physical direction over logical direction (i.e. oblivious to natural scroll). Since: 4.20
EventControllerScrollFlagsBothAxes | Emit scroll on both axes.
AnotherEventControllerScrollFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum EventControllerScrollFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: EventControllerScrollFlags -> EventControllerScrollFlags Source #

pred :: EventControllerScrollFlags -> EventControllerScrollFlags Source #

toEnum :: Int -> EventControllerScrollFlags Source #

fromEnum :: EventControllerScrollFlags -> Int Source #

enumFrom :: EventControllerScrollFlags -> [EventControllerScrollFlags] Source #

enumFromThen :: EventControllerScrollFlags -> EventControllerScrollFlags -> [EventControllerScrollFlags] Source #

enumFromTo :: EventControllerScrollFlags -> EventControllerScrollFlags -> [EventControllerScrollFlags] Source #

enumFromThenTo :: EventControllerScrollFlags -> EventControllerScrollFlags -> EventControllerScrollFlags -> [EventControllerScrollFlags] Source #

Show EventControllerScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> EventControllerScrollFlags -> ShowS Source # show :: EventControllerScrollFlags -> String Source # showList :: [EventControllerScrollFlags] -> ShowS Source #
Eq EventControllerScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: EventControllerScrollFlags -> EventControllerScrollFlags -> Bool Source # (/=) :: EventControllerScrollFlags -> EventControllerScrollFlags -> Bool Source #
Ord EventControllerScrollFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: EventControllerScrollFlags -> EventControllerScrollFlags -> Ordering Source #

(<) :: EventControllerScrollFlags -> EventControllerScrollFlags -> Bool Source #

(<=) :: EventControllerScrollFlags -> EventControllerScrollFlags -> Bool Source #

(>) :: EventControllerScrollFlags -> EventControllerScrollFlags -> Bool Source #

(>=) :: EventControllerScrollFlags -> EventControllerScrollFlags -> Bool Source #

max :: EventControllerScrollFlags -> EventControllerScrollFlags -> EventControllerScrollFlags Source #

min :: EventControllerScrollFlags -> EventControllerScrollFlags -> EventControllerScrollFlags Source #

BoxedFlags EventControllerScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag EventControllerScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject EventControllerScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes EventControllerScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes EventControllerScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes EventControllerScrollFlags = '[] :: [Type]

## FontChooserLevel

data FontChooserLevel Source #

Deprecated: (Since version 4.20)There is no replacement.

Specifies the granularity of font selection that is desired in a `GtkFontChooser`.

This enumeration may be extended in the future; applications should ignore unknown values.

Constructors

FontChooserLevelFamily | Allow selecting a font family
FontChooserLevelStyle | Allow selecting a specific font face
FontChooserLevelSize | Allow selecting a specific font size
FontChooserLevelVariations | Allow changing OpenType font variation axes
FontChooserLevelFeatures | Allow selecting specific OpenType font features
AnotherFontChooserLevel Int | Catch-all for unknown values

#### Instances

Instances details

Enum FontChooserLevel Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: FontChooserLevel -> FontChooserLevel Source #

pred :: FontChooserLevel -> FontChooserLevel Source #

toEnum :: Int -> FontChooserLevel Source #

fromEnum :: FontChooserLevel -> Int Source #

enumFrom :: FontChooserLevel -> [FontChooserLevel] Source #

enumFromThen :: FontChooserLevel -> FontChooserLevel -> [FontChooserLevel] Source #

enumFromTo :: FontChooserLevel -> FontChooserLevel -> [FontChooserLevel] Source #

enumFromThenTo :: FontChooserLevel -> FontChooserLevel -> FontChooserLevel -> [FontChooserLevel] Source #

Show FontChooserLevel Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> FontChooserLevel -> ShowS Source # show :: FontChooserLevel -> String Source # showList :: [FontChooserLevel] -> ShowS Source #
Eq FontChooserLevel Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: FontChooserLevel -> FontChooserLevel -> Bool Source # (/=) :: FontChooserLevel -> FontChooserLevel -> Bool Source #
Ord FontChooserLevel Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: FontChooserLevel -> FontChooserLevel -> Ordering Source #

(<) :: FontChooserLevel -> FontChooserLevel -> Bool Source #

(<=) :: FontChooserLevel -> FontChooserLevel -> Bool Source #

(>) :: FontChooserLevel -> FontChooserLevel -> Bool Source #

(>=) :: FontChooserLevel -> FontChooserLevel -> Bool Source #

max :: FontChooserLevel -> FontChooserLevel -> FontChooserLevel Source #

min :: FontChooserLevel -> FontChooserLevel -> FontChooserLevel Source #

BoxedFlags FontChooserLevel Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag FontChooserLevel Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject FontChooserLevel Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes FontChooserLevel Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes FontChooserLevel Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes FontChooserLevel = '[] :: [Type]

## IconLookupFlags

data IconLookupFlags Source #

Used to specify options for `iconThemeLookupIcon`.

Constructors

IconLookupFlagsNone | Perform a regular lookup. Since: 4.18
IconLookupFlagsForceRegular | Try to always load regular icons, even when symbolic icon names are given
IconLookupFlagsForceSymbolic | Try to always load symbolic icons, even when regular icon names are given
IconLookupFlagsPreload | Starts loading the texture in the background so it is ready when later needed.
AnotherIconLookupFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum IconLookupFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: IconLookupFlags -> IconLookupFlags Source #

pred :: IconLookupFlags -> IconLookupFlags Source #

toEnum :: Int -> IconLookupFlags Source #

fromEnum :: IconLookupFlags -> Int Source #

enumFrom :: IconLookupFlags -> [IconLookupFlags] Source #

enumFromThen :: IconLookupFlags -> IconLookupFlags -> [IconLookupFlags] Source #

enumFromTo :: IconLookupFlags -> IconLookupFlags -> [IconLookupFlags] Source #

enumFromThenTo :: IconLookupFlags -> IconLookupFlags -> IconLookupFlags -> [IconLookupFlags] Source #

Show IconLookupFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> IconLookupFlags -> ShowS Source # show :: IconLookupFlags -> String Source # showList :: [IconLookupFlags] -> ShowS Source #
Eq IconLookupFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: IconLookupFlags -> IconLookupFlags -> Bool Source # (/=) :: IconLookupFlags -> IconLookupFlags -> Bool Source #
Ord IconLookupFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: IconLookupFlags -> IconLookupFlags -> Ordering Source #

(<) :: IconLookupFlags -> IconLookupFlags -> Bool Source #

(<=) :: IconLookupFlags -> IconLookupFlags -> Bool Source #

(>) :: IconLookupFlags -> IconLookupFlags -> Bool Source #

(>=) :: IconLookupFlags -> IconLookupFlags -> Bool Source #

max :: IconLookupFlags -> IconLookupFlags -> IconLookupFlags Source #

min :: IconLookupFlags -> IconLookupFlags -> IconLookupFlags Source #

BoxedFlags IconLookupFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag IconLookupFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject IconLookupFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes IconLookupFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes IconLookupFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes IconLookupFlags = '[] :: [Type]

## InputHints

data InputHints Source #

Describes hints that might be taken into account by input methods or applications.

Note that input methods may already tailor their behaviour according to the [enum`inputPurpose`] of the entry.

Some common sense is expected when using these flags - mixing `InputHintsLowercase` with any of the uppercase hints makes no sense.

This enumeration may be extended in the future; input methods should ignore unknown values.

Constructors

InputHintsNone | No special behaviour suggested
InputHintsSpellcheck | Suggest checking for typos
InputHintsNoSpellcheck | Suggest not checking for typos
InputHintsWordCompletion | Suggest word completion
InputHintsLowercase | Suggest to convert all text to lowercase
InputHintsUppercaseChars | Suggest to capitalize all text
InputHintsUppercaseWords | Suggest to capitalize the first character of each word
InputHintsUppercaseSentences | Suggest to capitalize the first word of each sentence
InputHintsInhibitOsk | Suggest to not show an onscreen keyboard (e.g for a calculator that already has all the keys).
InputHintsVerticalWriting | The text is vertical
InputHintsEmoji | Suggest offering Emoji support
InputHintsNoEmoji | Suggest not offering Emoji support
InputHintsPrivate | Request that the input method should not update personalized data (like typing history)
AnotherInputHints Int | Catch-all for unknown values

#### Instances

Instances details

Enum InputHints Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: InputHints -> InputHints Source #

pred :: InputHints -> InputHints Source #

toEnum :: Int -> InputHints Source #

fromEnum :: InputHints -> Int Source #

enumFrom :: InputHints -> [InputHints] Source #

enumFromThen :: InputHints -> InputHints -> [InputHints] Source #

enumFromTo :: InputHints -> InputHints -> [InputHints] Source #

enumFromThenTo :: InputHints -> InputHints -> InputHints -> [InputHints] Source #

Show InputHints Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> InputHints -> ShowS Source # show :: InputHints -> String Source # showList :: [InputHints] -> ShowS Source #
Eq InputHints Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: InputHints -> InputHints -> Bool Source # (/=) :: InputHints -> InputHints -> Bool Source #
Ord InputHints Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: InputHints -> InputHints -> Ordering Source #

(<) :: InputHints -> InputHints -> Bool Source #

(<=) :: InputHints -> InputHints -> Bool Source #

(>) :: InputHints -> InputHints -> Bool Source #

(>=) :: InputHints -> InputHints -> Bool Source #

max :: InputHints -> InputHints -> InputHints Source #

min :: InputHints -> InputHints -> InputHints Source #

BoxedFlags InputHints Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag InputHints Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject InputHints Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes InputHints Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes InputHints Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes InputHints = '[] :: [Type]

## ListScrollFlags

data ListScrollFlags Source #

List of actions to perform when scrolling to items in a list widget.

Since: 4.12

Constructors

ListScrollFlagsNone | Don't do anything extra
ListScrollFlagsFocus | Focus the target item
ListScrollFlagsSelect | Select the target item and unselect all other items.
AnotherListScrollFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum ListScrollFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: ListScrollFlags -> ListScrollFlags Source #

pred :: ListScrollFlags -> ListScrollFlags Source #

toEnum :: Int -> ListScrollFlags Source #

fromEnum :: ListScrollFlags -> Int Source #

enumFrom :: ListScrollFlags -> [ListScrollFlags] Source #

enumFromThen :: ListScrollFlags -> ListScrollFlags -> [ListScrollFlags] Source #

enumFromTo :: ListScrollFlags -> ListScrollFlags -> [ListScrollFlags] Source #

enumFromThenTo :: ListScrollFlags -> ListScrollFlags -> ListScrollFlags -> [ListScrollFlags] Source #

Show ListScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> ListScrollFlags -> ShowS Source # show :: ListScrollFlags -> String Source # showList :: [ListScrollFlags] -> ShowS Source #
Eq ListScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: ListScrollFlags -> ListScrollFlags -> Bool Source # (/=) :: ListScrollFlags -> ListScrollFlags -> Bool Source #
Ord ListScrollFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: ListScrollFlags -> ListScrollFlags -> Ordering Source #

(<) :: ListScrollFlags -> ListScrollFlags -> Bool Source #

(<=) :: ListScrollFlags -> ListScrollFlags -> Bool Source #

(>) :: ListScrollFlags -> ListScrollFlags -> Bool Source #

(>=) :: ListScrollFlags -> ListScrollFlags -> Bool Source #

max :: ListScrollFlags -> ListScrollFlags -> ListScrollFlags Source #

min :: ListScrollFlags -> ListScrollFlags -> ListScrollFlags Source #

BoxedFlags ListScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag ListScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject ListScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes ListScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes ListScrollFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes ListScrollFlags = '[] :: [Type]

## PickFlags

data PickFlags Source #

Flags that influence the behavior of [method`widget`.pick].

Constructors

PickFlagsDefault | The default behavior, include widgets that are receiving events
PickFlagsInsensitive | Include widgets that are insensitive
PickFlagsNonTargetable | Include widgets that are marked as non-targetable. See [property`widget`:can-target]
AnotherPickFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum PickFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: PickFlags -> PickFlags Source #

pred :: PickFlags -> PickFlags Source #

toEnum :: Int -> PickFlags Source #

fromEnum :: PickFlags -> Int Source #

enumFrom :: PickFlags -> [PickFlags] Source #

enumFromThen :: PickFlags -> PickFlags -> [PickFlags] Source #

enumFromTo :: PickFlags -> PickFlags -> [PickFlags] Source #

enumFromThenTo :: PickFlags -> PickFlags -> PickFlags -> [PickFlags] Source #

Show PickFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> PickFlags -> ShowS Source # show :: PickFlags -> String Source # showList :: [PickFlags] -> ShowS Source #
Eq PickFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: PickFlags -> PickFlags -> Bool Source # (/=) :: PickFlags -> PickFlags -> Bool Source #
Ord PickFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods compare :: PickFlags -> PickFlags -> Ordering Source # (<) :: PickFlags -> PickFlags -> Bool Source # (<=) :: PickFlags -> PickFlags -> Bool Source # (>) :: PickFlags -> PickFlags -> Bool Source # (>=) :: PickFlags -> PickFlags -> Bool Source # max :: PickFlags -> PickFlags -> PickFlags Source # min :: PickFlags -> PickFlags -> PickFlags Source #
BoxedFlags PickFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag PickFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject PickFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes PickFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes PickFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes PickFlags = '[] :: [Type]

## PopoverMenuFlags

data PopoverMenuFlags Source #

Flags that affect how `PopoverMenu` widgets built from a `MenuModel` are created and displayed.

Constructors

PopoverMenuFlagsSliding | Submenus are presented as sliding submenus that replace the main menu. Since: 4.14
PopoverMenuFlagsNested | Submenus are presented as traditional, nested popovers.
AnotherPopoverMenuFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum PopoverMenuFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: PopoverMenuFlags -> PopoverMenuFlags Source #

pred :: PopoverMenuFlags -> PopoverMenuFlags Source #

toEnum :: Int -> PopoverMenuFlags Source #

fromEnum :: PopoverMenuFlags -> Int Source #

enumFrom :: PopoverMenuFlags -> [PopoverMenuFlags] Source #

enumFromThen :: PopoverMenuFlags -> PopoverMenuFlags -> [PopoverMenuFlags] Source #

enumFromTo :: PopoverMenuFlags -> PopoverMenuFlags -> [PopoverMenuFlags] Source #

enumFromThenTo :: PopoverMenuFlags -> PopoverMenuFlags -> PopoverMenuFlags -> [PopoverMenuFlags] Source #

Show PopoverMenuFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> PopoverMenuFlags -> ShowS Source # show :: PopoverMenuFlags -> String Source # showList :: [PopoverMenuFlags] -> ShowS Source #
Eq PopoverMenuFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: PopoverMenuFlags -> PopoverMenuFlags -> Bool Source # (/=) :: PopoverMenuFlags -> PopoverMenuFlags -> Bool Source #
Ord PopoverMenuFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: PopoverMenuFlags -> PopoverMenuFlags -> Ordering Source #

(<) :: PopoverMenuFlags -> PopoverMenuFlags -> Bool Source #

(<=) :: PopoverMenuFlags -> PopoverMenuFlags -> Bool Source #

(>) :: PopoverMenuFlags -> PopoverMenuFlags -> Bool Source #

(>=) :: PopoverMenuFlags -> PopoverMenuFlags -> Bool Source #

max :: PopoverMenuFlags -> PopoverMenuFlags -> PopoverMenuFlags Source #

min :: PopoverMenuFlags -> PopoverMenuFlags -> PopoverMenuFlags Source #

BoxedFlags PopoverMenuFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag PopoverMenuFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject PopoverMenuFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes PopoverMenuFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes PopoverMenuFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes PopoverMenuFlags = '[] :: [Type]

## PrintCapabilities

data PrintCapabilities Source #

Specifies which features the print dialog should offer.

If neither `PrintCapabilitiesGeneratePdf` nor `PrintCapabilitiesGeneratePs` is specified, GTK assumes that all formats are supported.

Constructors

PrintCapabilitiesPageSet | Print dialog will offer printing even/odd pages.
PrintCapabilitiesCopies | Print dialog will allow to print multiple copies.
PrintCapabilitiesCollate | Print dialog will allow to collate multiple copies.
PrintCapabilitiesReverse | Print dialog will allow to print pages in reverse order.
PrintCapabilitiesScale | Print dialog will allow to scale the output.
PrintCapabilitiesGeneratePdf | The program will send the document to the printer in PDF format
PrintCapabilitiesGeneratePs | The program will send the document to the printer in Postscript format
PrintCapabilitiesPreview | Print dialog will offer a preview
PrintCapabilitiesNumberUp | Print dialog will offer printing multiple pages per sheet
PrintCapabilitiesNumberUpLayout | Print dialog will allow to rearrange pages when printing multiple pages per sheet
AnotherPrintCapabilities Int | Catch-all for unknown values

#### Instances

Instances details

Enum PrintCapabilities Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: PrintCapabilities -> PrintCapabilities Source #

pred :: PrintCapabilities -> PrintCapabilities Source #

toEnum :: Int -> PrintCapabilities Source #

fromEnum :: PrintCapabilities -> Int Source #

enumFrom :: PrintCapabilities -> [PrintCapabilities] Source #

enumFromThen :: PrintCapabilities -> PrintCapabilities -> [PrintCapabilities] Source #

enumFromTo :: PrintCapabilities -> PrintCapabilities -> [PrintCapabilities] Source #

enumFromThenTo :: PrintCapabilities -> PrintCapabilities -> PrintCapabilities -> [PrintCapabilities] Source #

Show PrintCapabilities Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> PrintCapabilities -> ShowS Source # show :: PrintCapabilities -> String Source # showList :: [PrintCapabilities] -> ShowS Source #
Eq PrintCapabilities Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: PrintCapabilities -> PrintCapabilities -> Bool Source # (/=) :: PrintCapabilities -> PrintCapabilities -> Bool Source #
Ord PrintCapabilities Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: PrintCapabilities -> PrintCapabilities -> Ordering Source #

(<) :: PrintCapabilities -> PrintCapabilities -> Bool Source #

(<=) :: PrintCapabilities -> PrintCapabilities -> Bool Source #

(>) :: PrintCapabilities -> PrintCapabilities -> Bool Source #

(>=) :: PrintCapabilities -> PrintCapabilities -> Bool Source #

max :: PrintCapabilities -> PrintCapabilities -> PrintCapabilities Source #

min :: PrintCapabilities -> PrintCapabilities -> PrintCapabilities Source #

BoxedFlags PrintCapabilities Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag PrintCapabilities Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject PrintCapabilities Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes PrintCapabilities Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes PrintCapabilities Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes PrintCapabilities = '[] :: [Type]

## ShortcutActionFlags

data ShortcutActionFlags Source #

Flags that can be passed to action activation.

More flags may be added in the future.

Constructors

ShortcutActionFlagsExclusive | The action is the only action that can be activated. If this flag is not set, a future activation may select a different action.
AnotherShortcutActionFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum ShortcutActionFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: ShortcutActionFlags -> ShortcutActionFlags Source #

pred :: ShortcutActionFlags -> ShortcutActionFlags Source #

toEnum :: Int -> ShortcutActionFlags Source #

fromEnum :: ShortcutActionFlags -> Int Source #

enumFrom :: ShortcutActionFlags -> [ShortcutActionFlags] Source #

enumFromThen :: ShortcutActionFlags -> ShortcutActionFlags -> [ShortcutActionFlags] Source #

enumFromTo :: ShortcutActionFlags -> ShortcutActionFlags -> [ShortcutActionFlags] Source #

enumFromThenTo :: ShortcutActionFlags -> ShortcutActionFlags -> ShortcutActionFlags -> [ShortcutActionFlags] Source #

Show ShortcutActionFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> ShortcutActionFlags -> ShowS Source # show :: ShortcutActionFlags -> String Source # showList :: [ShortcutActionFlags] -> ShowS Source #
Eq ShortcutActionFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: ShortcutActionFlags -> ShortcutActionFlags -> Bool Source # (/=) :: ShortcutActionFlags -> ShortcutActionFlags -> Bool Source #
Ord ShortcutActionFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: ShortcutActionFlags -> ShortcutActionFlags -> Ordering Source #

(<) :: ShortcutActionFlags -> ShortcutActionFlags -> Bool Source #

(<=) :: ShortcutActionFlags -> ShortcutActionFlags -> Bool Source #

(>) :: ShortcutActionFlags -> ShortcutActionFlags -> Bool Source #

(>=) :: ShortcutActionFlags -> ShortcutActionFlags -> Bool Source #

max :: ShortcutActionFlags -> ShortcutActionFlags -> ShortcutActionFlags Source #

min :: ShortcutActionFlags -> ShortcutActionFlags -> ShortcutActionFlags Source #

BoxedFlags ShortcutActionFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag ShortcutActionFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject ShortcutActionFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes ShortcutActionFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes ShortcutActionFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes ShortcutActionFlags = '[] :: [Type]

## StateFlags

data StateFlags Source #

Describes a widget state.

Widget states are used to match the widget against CSS pseudo-classes. Note that GTK extends the regular CSS classes and sometimes uses different names.

Constructors

StateFlagsNormal | State during normal operation
StateFlagsActive | Widget is active
StateFlagsPrelight | Widget has a mouse pointer over it
StateFlagsSelected | Widget is selected
StateFlagsInsensitive | Widget is insensitive
StateFlagsInconsistent | Widget is inconsistent
StateFlagsFocused | Widget has the keyboard focus
StateFlagsBackdrop | Widget is in a background toplevel window
StateFlagsDirLtr | Widget is in left-to-right text direction
StateFlagsDirRtl | Widget is in right-to-left text direction
StateFlagsLink | Widget is a link
StateFlagsVisited | The location the widget points to has already been visited
StateFlagsChecked | Widget is checked
StateFlagsDropActive | Widget is highlighted as a drop target for DND
StateFlagsFocusVisible | Widget has the visible focus
StateFlagsFocusWithin | Widget contains the keyboard focus
AnotherStateFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum StateFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: StateFlags -> StateFlags Source #

pred :: StateFlags -> StateFlags Source #

toEnum :: Int -> StateFlags Source #

fromEnum :: StateFlags -> Int Source #

enumFrom :: StateFlags -> [StateFlags] Source #

enumFromThen :: StateFlags -> StateFlags -> [StateFlags] Source #

enumFromTo :: StateFlags -> StateFlags -> [StateFlags] Source #

enumFromThenTo :: StateFlags -> StateFlags -> StateFlags -> [StateFlags] Source #

Show StateFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> StateFlags -> ShowS Source # show :: StateFlags -> String Source # showList :: [StateFlags] -> ShowS Source #
Eq StateFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: StateFlags -> StateFlags -> Bool Source # (/=) :: StateFlags -> StateFlags -> Bool Source #
Ord StateFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: StateFlags -> StateFlags -> Ordering Source #

(<) :: StateFlags -> StateFlags -> Bool Source #

(<=) :: StateFlags -> StateFlags -> Bool Source #

(>) :: StateFlags -> StateFlags -> Bool Source #

(>=) :: StateFlags -> StateFlags -> Bool Source #

max :: StateFlags -> StateFlags -> StateFlags Source #

min :: StateFlags -> StateFlags -> StateFlags Source #

BoxedFlags StateFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag StateFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject StateFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes StateFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes StateFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes StateFlags = '[] :: [Type]

## StyleContextPrintFlags

data StyleContextPrintFlags Source #

Flags that modify the behavior of `styleContextToString`.

New values may be added to this enumeration.

Constructors

StyleContextPrintFlagsNone | Default value.
StyleContextPrintFlagsRecurse | Print the entire tree of CSS nodes starting at the style context's node
StyleContextPrintFlagsShowStyle | Show the values of the CSS properties for each node
StyleContextPrintFlagsShowChange | Show information about what changes affect the styles
AnotherStyleContextPrintFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum StyleContextPrintFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: StyleContextPrintFlags -> StyleContextPrintFlags Source #

pred :: StyleContextPrintFlags -> StyleContextPrintFlags Source #

toEnum :: Int -> StyleContextPrintFlags Source #

fromEnum :: StyleContextPrintFlags -> Int Source #

enumFrom :: StyleContextPrintFlags -> [StyleContextPrintFlags] Source #

enumFromThen :: StyleContextPrintFlags -> StyleContextPrintFlags -> [StyleContextPrintFlags] Source #

enumFromTo :: StyleContextPrintFlags -> StyleContextPrintFlags -> [StyleContextPrintFlags] Source #

enumFromThenTo :: StyleContextPrintFlags -> StyleContextPrintFlags -> StyleContextPrintFlags -> [StyleContextPrintFlags] Source #

Show StyleContextPrintFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> StyleContextPrintFlags -> ShowS Source # show :: StyleContextPrintFlags -> String Source # showList :: [StyleContextPrintFlags] -> ShowS Source #
Eq StyleContextPrintFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: StyleContextPrintFlags -> StyleContextPrintFlags -> Bool Source # (/=) :: StyleContextPrintFlags -> StyleContextPrintFlags -> Bool Source #
Ord StyleContextPrintFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: StyleContextPrintFlags -> StyleContextPrintFlags -> Ordering Source #

(<) :: StyleContextPrintFlags -> StyleContextPrintFlags -> Bool Source #

(<=) :: StyleContextPrintFlags -> StyleContextPrintFlags -> Bool Source #

(>) :: StyleContextPrintFlags -> StyleContextPrintFlags -> Bool Source #

(>=) :: StyleContextPrintFlags -> StyleContextPrintFlags -> Bool Source #

max :: StyleContextPrintFlags -> StyleContextPrintFlags -> StyleContextPrintFlags Source #

min :: StyleContextPrintFlags -> StyleContextPrintFlags -> StyleContextPrintFlags Source #

BoxedFlags StyleContextPrintFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag StyleContextPrintFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject StyleContextPrintFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes StyleContextPrintFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes StyleContextPrintFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes StyleContextPrintFlags = '[] :: [Type]

## SvgFeatures

data SvgFeatures Source #

Features of the SVG renderer that can be enabled or disabled.

By default, all features except `GTK_SVG_TRADITIONAL_SYMBOLIC` are enabled.

New values may be added in the future.

Since: 4.22

Constructors

SvgFeaturesAnimations | Whether to run animations. If disabled, state changes are applied without transitions
SvgFeaturesSystemResources | Whether to use system resources, such as fonts. If disabled, only embedded fonts are used
SvgFeaturesExternalResources | Whether to load external resources, such as images. If disabled, only embedded images are loaded
SvgFeaturesExtensions | Whether to allow gpa extensions, such as states and transitions
SvgFeaturesTraditionalSymbolic | This feature is meant for compatibility with old symbolic icons. If this is enabled, fill and stroke attributes are ignored. The used colors are derived from symbolic style classes if present, and the default fill color is the symbolic foreground color.
AnotherSvgFeatures Int | Catch-all for unknown values

#### Instances

Instances details

Enum SvgFeatures Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: SvgFeatures -> SvgFeatures Source #

pred :: SvgFeatures -> SvgFeatures Source #

toEnum :: Int -> SvgFeatures Source #

fromEnum :: SvgFeatures -> Int Source #

enumFrom :: SvgFeatures -> [SvgFeatures] Source #

enumFromThen :: SvgFeatures -> SvgFeatures -> [SvgFeatures] Source #

enumFromTo :: SvgFeatures -> SvgFeatures -> [SvgFeatures] Source #

enumFromThenTo :: SvgFeatures -> SvgFeatures -> SvgFeatures -> [SvgFeatures] Source #

Show SvgFeatures Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> SvgFeatures -> ShowS Source # show :: SvgFeatures -> String Source # showList :: [SvgFeatures] -> ShowS Source #
Eq SvgFeatures Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: SvgFeatures -> SvgFeatures -> Bool Source # (/=) :: SvgFeatures -> SvgFeatures -> Bool Source #
Ord SvgFeatures Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: SvgFeatures -> SvgFeatures -> Ordering Source #

(<) :: SvgFeatures -> SvgFeatures -> Bool Source #

(<=) :: SvgFeatures -> SvgFeatures -> Bool Source #

(>) :: SvgFeatures -> SvgFeatures -> Bool Source #

(>=) :: SvgFeatures -> SvgFeatures -> Bool Source #

max :: SvgFeatures -> SvgFeatures -> SvgFeatures Source #

min :: SvgFeatures -> SvgFeatures -> SvgFeatures Source #

BoxedFlags SvgFeatures Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag SvgFeatures Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject SvgFeatures Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes SvgFeatures Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes SvgFeatures Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes SvgFeatures = '[] :: [Type]

## TextBufferNotifyFlags

data TextBufferNotifyFlags Source #

Values for [callback`gtk`.TextBufferCommitNotify] to denote the point of the notification.

Since: 4.16

Constructors

TextBufferNotifyFlagsBeforeInsert | Be notified before text is inserted into the underlying buffer.
TextBufferNotifyFlagsAfterInsert | Be notified after text has been inserted into the underlying buffer.
TextBufferNotifyFlagsBeforeDelete | Be notified before text is deleted from the underlying buffer.
TextBufferNotifyFlagsAfterDelete | Be notified after text has been deleted from the underlying buffer.
AnotherTextBufferNotifyFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum TextBufferNotifyFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: TextBufferNotifyFlags -> TextBufferNotifyFlags Source #

pred :: TextBufferNotifyFlags -> TextBufferNotifyFlags Source #

toEnum :: Int -> TextBufferNotifyFlags Source #

fromEnum :: TextBufferNotifyFlags -> Int Source #

enumFrom :: TextBufferNotifyFlags -> [TextBufferNotifyFlags] Source #

enumFromThen :: TextBufferNotifyFlags -> TextBufferNotifyFlags -> [TextBufferNotifyFlags] Source #

enumFromTo :: TextBufferNotifyFlags -> TextBufferNotifyFlags -> [TextBufferNotifyFlags] Source #

enumFromThenTo :: TextBufferNotifyFlags -> TextBufferNotifyFlags -> TextBufferNotifyFlags -> [TextBufferNotifyFlags] Source #

Show TextBufferNotifyFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> TextBufferNotifyFlags -> ShowS Source # show :: TextBufferNotifyFlags -> String Source # showList :: [TextBufferNotifyFlags] -> ShowS Source #
Eq TextBufferNotifyFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: TextBufferNotifyFlags -> TextBufferNotifyFlags -> Bool Source # (/=) :: TextBufferNotifyFlags -> TextBufferNotifyFlags -> Bool Source #
Ord TextBufferNotifyFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: TextBufferNotifyFlags -> TextBufferNotifyFlags -> Ordering Source #

(<) :: TextBufferNotifyFlags -> TextBufferNotifyFlags -> Bool Source #

(<=) :: TextBufferNotifyFlags -> TextBufferNotifyFlags -> Bool Source #

(>) :: TextBufferNotifyFlags -> TextBufferNotifyFlags -> Bool Source #

(>=) :: TextBufferNotifyFlags -> TextBufferNotifyFlags -> Bool Source #

max :: TextBufferNotifyFlags -> TextBufferNotifyFlags -> TextBufferNotifyFlags Source #

min :: TextBufferNotifyFlags -> TextBufferNotifyFlags -> TextBufferNotifyFlags Source #

BoxedFlags TextBufferNotifyFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag TextBufferNotifyFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject TextBufferNotifyFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes TextBufferNotifyFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes TextBufferNotifyFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes TextBufferNotifyFlags = '[] :: [Type]

## TextSearchFlags

data TextSearchFlags Source #

Flags affecting how a search is done.

If neither `GTK_TEXT_SEARCH_VISIBLE_ONLY` nor `GTK_TEXT_SEARCH_TEXT_ONLY` are enabled, the match must be exact; the special 0xFFFC character will match embedded paintables or child widgets.

Constructors

TextSearchFlagsVisibleOnly | Search only visible data. A search match may have invisible text interspersed.
TextSearchFlagsTextOnly | Search only text. A match may have paintables or child widgets mixed inside the matched range.
TextSearchFlagsCaseInsensitive | The text will be matched regardless of what case it is in.
AnotherTextSearchFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum TextSearchFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: TextSearchFlags -> TextSearchFlags Source #

pred :: TextSearchFlags -> TextSearchFlags Source #

toEnum :: Int -> TextSearchFlags Source #

fromEnum :: TextSearchFlags -> Int Source #

enumFrom :: TextSearchFlags -> [TextSearchFlags] Source #

enumFromThen :: TextSearchFlags -> TextSearchFlags -> [TextSearchFlags] Source #

enumFromTo :: TextSearchFlags -> TextSearchFlags -> [TextSearchFlags] Source #

enumFromThenTo :: TextSearchFlags -> TextSearchFlags -> TextSearchFlags -> [TextSearchFlags] Source #

Show TextSearchFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> TextSearchFlags -> ShowS Source # show :: TextSearchFlags -> String Source # showList :: [TextSearchFlags] -> ShowS Source #
Eq TextSearchFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: TextSearchFlags -> TextSearchFlags -> Bool Source # (/=) :: TextSearchFlags -> TextSearchFlags -> Bool Source #
Ord TextSearchFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: TextSearchFlags -> TextSearchFlags -> Ordering Source #

(<) :: TextSearchFlags -> TextSearchFlags -> Bool Source #

(<=) :: TextSearchFlags -> TextSearchFlags -> Bool Source #

(>) :: TextSearchFlags -> TextSearchFlags -> Bool Source #

(>=) :: TextSearchFlags -> TextSearchFlags -> Bool Source #

max :: TextSearchFlags -> TextSearchFlags -> TextSearchFlags Source #

min :: TextSearchFlags -> TextSearchFlags -> TextSearchFlags Source #

BoxedFlags TextSearchFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag TextSearchFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject TextSearchFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes TextSearchFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes TextSearchFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes TextSearchFlags = '[] :: [Type]

## TreeModelFlags

data TreeModelFlags Source #

Deprecated: (Since version 4.10)There is no replacement

These flags indicate various properties of a `GtkTreeModel`.

They are returned by `treeModelGetFlags`, and must be static for the lifetime of the object. A more complete description of `TreeModelFlagsItersPersist` can be found in the overview of this section.

Constructors

TreeModelFlagsItersPersist | iterators survive all signals emitted by the tree
TreeModelFlagsListOnly | the model is a list only, and never has children
AnotherTreeModelFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum TreeModelFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

succ :: TreeModelFlags -> TreeModelFlags Source #

pred :: TreeModelFlags -> TreeModelFlags Source #

toEnum :: Int -> TreeModelFlags Source #

fromEnum :: TreeModelFlags -> Int Source #

enumFrom :: TreeModelFlags -> [TreeModelFlags] Source #

enumFromThen :: TreeModelFlags -> TreeModelFlags -> [TreeModelFlags] Source #

enumFromTo :: TreeModelFlags -> TreeModelFlags -> [TreeModelFlags] Source #

enumFromThenTo :: TreeModelFlags -> TreeModelFlags -> TreeModelFlags -> [TreeModelFlags] Source #

Show TreeModelFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods showsPrec :: Int -> TreeModelFlags -> ShowS Source # show :: TreeModelFlags -> String Source # showList :: [TreeModelFlags] -> ShowS Source #
Eq TreeModelFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods (==) :: TreeModelFlags -> TreeModelFlags -> Bool Source # (/=) :: TreeModelFlags -> TreeModelFlags -> Bool Source #
Ord TreeModelFlags Source # |

Instance details

Defined in GI.Gtk.Flags

Methods

compare :: TreeModelFlags -> TreeModelFlags -> Ordering Source #

(<) :: TreeModelFlags -> TreeModelFlags -> Bool Source #

(<=) :: TreeModelFlags -> TreeModelFlags -> Bool Source #

(>) :: TreeModelFlags -> TreeModelFlags -> Bool Source #

(>=) :: TreeModelFlags -> TreeModelFlags -> Bool Source #

max :: TreeModelFlags -> TreeModelFlags -> TreeModelFlags Source #

min :: TreeModelFlags -> TreeModelFlags -> TreeModelFlags Source #

BoxedFlags TreeModelFlags Source # |
Instance details Defined in GI.Gtk.Flags
IsGFlag TreeModelFlags Source # |
Instance details Defined in GI.Gtk.Flags
TypedObject TreeModelFlags Source # |
Instance details Defined in GI.Gtk.Flags Methods glibType :: IO GType Source #
HasParentTypes TreeModelFlags Source # |
Instance details Defined in GI.Gtk.Flags
type ParentTypes TreeModelFlags Source # |
Instance details Defined in GI.Gtk.Flags type ParentTypes TreeModelFlags = '[] :: [Type]