gi-glib-2.0.29: GLib bindings

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.GLib.Flags

Contents

- Flags
  - AsciiType
  - FileSetContentsFlags
  - FileTest
  - FormatSizeFlags
  - HookFlagMask
  - IOCondition
  - IOFlags
  - KeyFileFlags
  - LogLevelFlags
  - MainContextFlags
  - MarkupCollectType
  - MarkupParseFlags
  - OptionFlags
  - RegexCompileFlags
  - RegexMatchFlags
  - SpawnFlags
  - TestSubprocessFlags
  - TestTrapFlags
  - TraverseFlags
  - UriFlags
  - UriHideFlags
  - UriParamsFlags

Description

Synopsis

- data AsciiType
  - = AsciiTypeAlnum
  - | AsciiTypeAlpha
  - | AsciiTypeCntrl
  - | AsciiTypeDigit
  - | AsciiTypeGraph
  - | AsciiTypeLower
  - | AsciiTypePrint
  - | AsciiTypePunct
  - | AsciiTypeSpace
  - | AsciiTypeUpper
  - | AsciiTypeXdigit
  - | AnotherAsciiType Int
- data FileSetContentsFlags
  - = FileSetContentsFlagsNone
  - | FileSetContentsFlagsConsistent
  - | FileSetContentsFlagsDurable
  - | FileSetContentsFlagsOnlyExisting
  - | AnotherFileSetContentsFlags Int
- data FileTest
  - = FileTestIsRegular
  - | FileTestIsSymlink
  - | FileTestIsDir
  - | FileTestIsExecutable
  - | FileTestExists
  - | AnotherFileTest Int
- data FormatSizeFlags
  - = FormatSizeFlagsDefault
  - | FormatSizeFlagsLongFormat
  - | FormatSizeFlagsIecUnits
  - | FormatSizeFlagsBits
  - | FormatSizeFlagsOnlyValue
  - | FormatSizeFlagsOnlyUnit
  - | AnotherFormatSizeFlags Int
- data HookFlagMask
  - = HookFlagMaskActive
  - | HookFlagMaskInCall
  - | HookFlagMaskMask
  - | AnotherHookFlagMask Int
- data IOCondition
  - = IOConditionIn
  - | IOConditionOut
  - | IOConditionPri
  - | IOConditionErr
  - | IOConditionHup
  - | IOConditionNval
  - | AnotherIOCondition Int
- data IOFlags
  - = IOFlagsNone
  - | IOFlagsAppend
  - | IOFlagsNonblock
  - | IOFlagsIsReadable
  - | IOFlagsIsWritable
  - | IOFlagsIsWriteable
  - | IOFlagsIsSeekable
  - | IOFlagsMask
  - | IOFlagsGetMask
  - | IOFlagsSetMask
  - | AnotherIOFlags Int
- data KeyFileFlags
  - = KeyFileFlagsNone
  - | KeyFileFlagsKeepComments
  - | KeyFileFlagsKeepTranslations
  - | AnotherKeyFileFlags Int
- data LogLevelFlags
  - = LogLevelFlagsFlagRecursion
  - | LogLevelFlagsFlagFatal
  - | LogLevelFlagsLevelError
  - | LogLevelFlagsLevelCritical
  - | LogLevelFlagsLevelWarning
  - | LogLevelFlagsLevelMessage
  - | LogLevelFlagsLevelInfo
  - | LogLevelFlagsLevelDebug
  - | LogLevelFlagsLevelMask
  - | AnotherLogLevelFlags Int
- data MainContextFlags
  - = MainContextFlagsNone
  - | MainContextFlagsOwnerlessPolling
  - | AnotherMainContextFlags Int
- data MarkupCollectType
  - = MarkupCollectTypeInvalid
  - | MarkupCollectTypeString
  - | MarkupCollectTypeStrdup
  - | MarkupCollectTypeBoolean
  - | MarkupCollectTypeTristate
  - | MarkupCollectTypeOptional
  - | AnotherMarkupCollectType Int
- data MarkupParseFlags
  - = MarkupParseFlagsDefaultFlags
  - | MarkupParseFlagsDoNotUseThisUnsupportedFlag
  - | MarkupParseFlagsTreatCdataAsText
  - | MarkupParseFlagsPrefixErrorPosition
  - | MarkupParseFlagsIgnoreQualified
  - | AnotherMarkupParseFlags Int
- data OptionFlags
  - = OptionFlagsNone
  - | OptionFlagsHidden
  - | OptionFlagsInMain
  - | OptionFlagsReverse
  - | OptionFlagsNoArg
  - | OptionFlagsFilename
  - | OptionFlagsOptionalArg
  - | OptionFlagsNoalias
  - | AnotherOptionFlags Int
- data RegexCompileFlags
  - = RegexCompileFlagsDefault
  - | RegexCompileFlagsCaseless
  - | RegexCompileFlagsMultiline
  - | RegexCompileFlagsDotall
  - | RegexCompileFlagsExtended
  - | RegexCompileFlagsAnchored
  - | RegexCompileFlagsDollarEndonly
  - | RegexCompileFlagsUngreedy
  - | RegexCompileFlagsRaw
  - | RegexCompileFlagsNoAutoCapture
  - | RegexCompileFlagsOptimize
  - | RegexCompileFlagsFirstline
  - | RegexCompileFlagsDupnames
  - | RegexCompileFlagsNewlineCr
  - | RegexCompileFlagsNewlineLf
  - | RegexCompileFlagsNewlineCrlf
  - | RegexCompileFlagsNewlineAnycrlf
  - | RegexCompileFlagsBsrAnycrlf
  - | RegexCompileFlagsJavascriptCompat
  - | AnotherRegexCompileFlags Int
- data RegexMatchFlags
  - = RegexMatchFlagsDefault
  - | RegexMatchFlagsAnchored
  - | RegexMatchFlagsNotbol
  - | RegexMatchFlagsNoteol
  - | RegexMatchFlagsNotempty
  - | RegexMatchFlagsPartial
  - | RegexMatchFlagsNewlineCr
  - | RegexMatchFlagsNewlineLf
  - | RegexMatchFlagsNewlineCrlf
  - | RegexMatchFlagsNewlineAny
  - | RegexMatchFlagsNewlineAnycrlf
  - | RegexMatchFlagsBsrAnycrlf
  - | RegexMatchFlagsBsrAny
  - | RegexMatchFlagsPartialSoft
  - | RegexMatchFlagsPartialHard
  - | RegexMatchFlagsNotemptyAtstart
  - | AnotherRegexMatchFlags Int
- data SpawnFlags
  - = SpawnFlagsDefault
  - | SpawnFlagsLeaveDescriptorsOpen
  - | SpawnFlagsDoNotReapChild
  - | SpawnFlagsSearchPath
  - | SpawnFlagsStdoutToDevNull
  - | SpawnFlagsStderrToDevNull
  - | SpawnFlagsChildInheritsStdin
  - | SpawnFlagsFileAndArgvZero
  - | SpawnFlagsSearchPathFromEnvp
  - | SpawnFlagsCloexecPipes
  - | SpawnFlagsChildInheritsStdout
  - | SpawnFlagsChildInheritsStderr
  - | SpawnFlagsStdinFromDevNull
  - | AnotherSpawnFlags Int
- data TestSubprocessFlags
  - = TestSubprocessFlagsDefault
  - | TestSubprocessFlagsInheritStdin
  - | TestSubprocessFlagsInheritStdout
  - | TestSubprocessFlagsInheritStderr
  - | AnotherTestSubprocessFlags Int
- data TestTrapFlags
  - = TestTrapFlagsDefault
  - | TestTrapFlagsSilenceStdout
  - | TestTrapFlagsSilenceStderr
  - | TestTrapFlagsInheritStdin
  - | AnotherTestTrapFlags Int
- data TraverseFlags
  - = TraverseFlagsLeaves
  - | TraverseFlagsNonLeaves
  - | TraverseFlagsAll
  - | TraverseFlagsMask
  - | TraverseFlagsLeafs
  - | TraverseFlagsNonLeafs
  - | AnotherTraverseFlags Int
- data UriFlags
  - = UriFlagsNone
  - | UriFlagsParseRelaxed
  - | UriFlagsHasPassword
  - | UriFlagsHasAuthParams
  - | UriFlagsEncoded
  - | UriFlagsNonDns
  - | UriFlagsEncodedQuery
  - | UriFlagsEncodedPath
  - | UriFlagsEncodedFragment
  - | UriFlagsSchemeNormalize
  - | AnotherUriFlags Int
- data UriHideFlags
  - = UriHideFlagsNone
  - | UriHideFlagsUserinfo
  - | UriHideFlagsPassword
  - | UriHideFlagsAuthParams
  - | UriHideFlagsQuery
  - | UriHideFlagsFragment
  - | AnotherUriHideFlags Int
- data UriParamsFlags
  - = UriParamsFlagsNone
  - | UriParamsFlagsCaseInsensitive
  - | UriParamsFlagsWwwForm
  - | UriParamsFlagsParseRelaxed
  - | AnotherUriParamsFlags Int

# Flags

## AsciiType

data AsciiType Source #

No description available in the introspection data.

Constructors

AsciiTypeAlnum | No description available in the introspection data.
AsciiTypeAlpha | No description available in the introspection data.
AsciiTypeCntrl | No description available in the introspection data.
AsciiTypeDigit | No description available in the introspection data.
AsciiTypeGraph | No description available in the introspection data.
AsciiTypeLower | No description available in the introspection data.
AsciiTypePrint | No description available in the introspection data.
AsciiTypePunct | No description available in the introspection data.
AsciiTypeSpace | No description available in the introspection data.
AsciiTypeUpper | No description available in the introspection data.
AsciiTypeXdigit | No description available in the introspection data.
AnotherAsciiType Int | Catch-all for unknown values

#### Instances

Instances details

Enum AsciiType Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: AsciiType -> AsciiType Source #

pred :: AsciiType -> AsciiType Source #

toEnum :: Int -> AsciiType Source #

fromEnum :: AsciiType -> Int Source #

enumFrom :: AsciiType -> [AsciiType] Source #

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

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

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

Show AsciiType Source # |
Instance details Defined in GI.GLib.Flags Methods showsPrec :: Int -> AsciiType -> ShowS Source # show :: AsciiType -> String Source # showList :: [AsciiType] -> ShowS Source #
Eq AsciiType Source # |
Instance details Defined in GI.GLib.Flags Methods (==) :: AsciiType -> AsciiType -> Bool Source # (/=) :: AsciiType -> AsciiType -> Bool Source #
Ord AsciiType Source # |
Instance details Defined in GI.GLib.Flags Methods compare :: AsciiType -> AsciiType -> Ordering Source # (<) :: AsciiType -> AsciiType -> Bool Source # (<=) :: AsciiType -> AsciiType -> Bool Source # (>) :: AsciiType -> AsciiType -> Bool Source # (>=) :: AsciiType -> AsciiType -> Bool Source # max :: AsciiType -> AsciiType -> AsciiType Source # min :: AsciiType -> AsciiType -> AsciiType Source #
IsGFlag AsciiType Source # |
Instance details Defined in GI.GLib.Flags

## FileSetContentsFlags

data FileSetContentsFlags Source #

Flags to pass to `fileSetContentsFull` to affect its safety and performance.

Since: 2.66

Constructors

FileSetContentsFlagsNone | No guarantees about file consistency or durability. The most dangerous setting, which is slightly faster than other settings.
FileSetContentsFlagsConsistent | Guarantee file consistency: after a crash, either the old version of the file or the new version of the file will be available, but not a mixture. On Unix systems this equates to an `fsync()` on the file and use of an atomic `rename()` of the new version of the file over the old.
FileSetContentsFlagsDurable | Guarantee file durability: after a crash, the new version of the file will be available. On Unix systems this equates to an `fsync()` on the file (if `FileSetContentsFlagsConsistent` is unset), or the effects of `FileSetContentsFlagsConsistent` plus an `fsync()` on the directory containing the file after calling `rename()`.
FileSetContentsFlagsOnlyExisting | Only apply consistency and durability guarantees if the file already exists. This may speed up file operations if the file doesn’t currently exist, but may result in a corrupted version of the new file if the system crashes while writing it.
AnotherFileSetContentsFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum FileSetContentsFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: FileSetContentsFlags -> FileSetContentsFlags Source #

pred :: FileSetContentsFlags -> FileSetContentsFlags Source #

toEnum :: Int -> FileSetContentsFlags Source #

fromEnum :: FileSetContentsFlags -> Int Source #

enumFrom :: FileSetContentsFlags -> [FileSetContentsFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: FileSetContentsFlags -> FileSetContentsFlags -> Ordering Source #

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

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

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

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

max :: FileSetContentsFlags -> FileSetContentsFlags -> FileSetContentsFlags Source #

min :: FileSetContentsFlags -> FileSetContentsFlags -> FileSetContentsFlags Source #

IsGFlag FileSetContentsFlags Source # |
Instance details Defined in GI.GLib.Flags

## FileTest

data FileTest Source #

A test to perform on a file using `fileTest`.

Constructors

FileTestIsRegular | `True` if the file is a regular file (not a directory). Note that this test will also return `True` if the tested file is a symlink to a regular file.
FileTestIsSymlink | `True` if the file is a symlink.
FileTestIsDir | `True` if the file is a directory.
FileTestIsExecutable | `True` if the file is executable.
FileTestExists | `True` if the file exists. It may or may not be a regular file.
AnotherFileTest Int | Catch-all for unknown values

#### Instances

Instances details

Enum FileTest Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: FileTest -> FileTest Source #

pred :: FileTest -> FileTest Source #

toEnum :: Int -> FileTest Source #

fromEnum :: FileTest -> Int Source #

enumFrom :: FileTest -> [FileTest] Source #

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

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

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

Show FileTest Source # |
Instance details Defined in GI.GLib.Flags Methods showsPrec :: Int -> FileTest -> ShowS Source # show :: FileTest -> String Source # showList :: [FileTest] -> ShowS Source #
Eq FileTest Source # |
Instance details Defined in GI.GLib.Flags Methods (==) :: FileTest -> FileTest -> Bool Source # (/=) :: FileTest -> FileTest -> Bool Source #
Ord FileTest Source # |
Instance details Defined in GI.GLib.Flags Methods compare :: FileTest -> FileTest -> Ordering Source # (<) :: FileTest -> FileTest -> Bool Source # (<=) :: FileTest -> FileTest -> Bool Source # (>) :: FileTest -> FileTest -> Bool Source # (>=) :: FileTest -> FileTest -> Bool Source # max :: FileTest -> FileTest -> FileTest Source # min :: FileTest -> FileTest -> FileTest Source #
IsGFlag FileTest Source # |
Instance details Defined in GI.GLib.Flags

## FormatSizeFlags

data FormatSizeFlags Source #

Flags to modify the format of the string returned by `formatSizeFull`.

Constructors

FormatSizeFlagsDefault | behave the same as `formatSize`
FormatSizeFlagsLongFormat | include the exact number of bytes as part of the returned string. For example, "45.6 kB (45,612 bytes)".
FormatSizeFlagsIecUnits | use IEC (base 1024) units with "KiB"-style suffixes. IEC units should only be used for reporting things with a strong "power of 2" basis, like RAM sizes or RAID stripe sizes. Network and storage sizes should be reported in the normal SI units.
FormatSizeFlagsBits | set the size as a quantity in bits, rather than bytes, and return units in bits. For example, ‘Mbit’ rather than ‘MB’.
FormatSizeFlagsOnlyValue | return only value, without unit; this should not be used together with `gFORMATSIZELONGFORMAT` nor `gFORMATSIZEONLYUNIT`. Since: 2.74
FormatSizeFlagsOnlyUnit | return only unit, without value; this should not be used together with `gFORMATSIZELONGFORMAT` nor `gFORMATSIZEONLYVALUE`. Since: 2.74
AnotherFormatSizeFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum FormatSizeFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: FormatSizeFlags -> FormatSizeFlags Source #

pred :: FormatSizeFlags -> FormatSizeFlags Source #

toEnum :: Int -> FormatSizeFlags Source #

fromEnum :: FormatSizeFlags -> Int Source #

enumFrom :: FormatSizeFlags -> [FormatSizeFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: FormatSizeFlags -> FormatSizeFlags -> Ordering Source #

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

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

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

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

max :: FormatSizeFlags -> FormatSizeFlags -> FormatSizeFlags Source #

min :: FormatSizeFlags -> FormatSizeFlags -> FormatSizeFlags Source #

IsGFlag FormatSizeFlags Source # |
Instance details Defined in GI.GLib.Flags

## HookFlagMask

data HookFlagMask Source #

Flags used internally in the `Hook` implementation.

Constructors

HookFlagMaskActive | set if the hook has not been destroyed
HookFlagMaskInCall | set if the hook is currently being run
HookFlagMaskMask | A mask covering all bits reserved for hook flags; see `HOOK_FLAG_USER_SHIFT`
AnotherHookFlagMask Int | Catch-all for unknown values

#### Instances

Instances details

Enum HookFlagMask Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: HookFlagMask -> HookFlagMask Source #

pred :: HookFlagMask -> HookFlagMask Source #

toEnum :: Int -> HookFlagMask Source #

fromEnum :: HookFlagMask -> Int Source #

enumFrom :: HookFlagMask -> [HookFlagMask] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: HookFlagMask -> HookFlagMask -> Ordering Source #

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

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

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

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

max :: HookFlagMask -> HookFlagMask -> HookFlagMask Source #

min :: HookFlagMask -> HookFlagMask -> HookFlagMask Source #

IsGFlag HookFlagMask Source # |
Instance details Defined in GI.GLib.Flags

## IOCondition

data IOCondition Source #

A bitwise combination representing a condition to watch for on an event source.

Constructors

IOConditionIn | There is data to read.
IOConditionOut | Data can be written (without blocking).
IOConditionPri | There is urgent data to read.
IOConditionErr | Error condition.
IOConditionHup | Hung up (the connection has been broken, usually for pipes and sockets).
IOConditionNval | Invalid request. The file descriptor is not open.
AnotherIOCondition Int | Catch-all for unknown values

#### Instances

Instances details

Enum IOCondition Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: IOCondition -> IOCondition Source #

pred :: IOCondition -> IOCondition Source #

toEnum :: Int -> IOCondition Source #

fromEnum :: IOCondition -> Int Source #

enumFrom :: IOCondition -> [IOCondition] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: IOCondition -> IOCondition -> Ordering Source #

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

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

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

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

max :: IOCondition -> IOCondition -> IOCondition Source #

min :: IOCondition -> IOCondition -> IOCondition Source #

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

## IOFlags

data IOFlags Source #

Specifies properties of a `IOChannel`. Some of the flags can only be read with `iOChannelGetFlags`, but not changed with `iOChannelSetFlags`.

Constructors

IOFlagsNone | no special flags set. Since: 2.74
IOFlagsAppend | turns on append mode, corresponds to `O_APPEND` (see the documentation of the UNIX `open()` syscall)
IOFlagsNonblock | turns on nonblocking mode, corresponds to `O_NONBLOCK`/`O_NDELAY` (see the documentation of the UNIX `open()` syscall)
IOFlagsIsReadable | indicates that the io channel is readable. This flag cannot be changed.
IOFlagsIsWritable | indicates that the io channel is writable. This flag cannot be changed.
IOFlagsIsWriteable | a misspelled version of `gIOFLAGISWRITABLE` that existed before the spelling was fixed in GLib 2.30. It is kept here for compatibility reasons. Deprecated since 2.30
IOFlagsIsSeekable | indicates that the io channel is seekable, i.e. that `iOChannelSeekPosition` can be used on it. This flag cannot be changed.
IOFlagsMask | the mask that specifies all the valid flags.
IOFlagsGetMask | the mask of the flags that are returned from `iOChannelGetFlags`
IOFlagsSetMask | the mask of the flags that the user can modify with `iOChannelSetFlags`
AnotherIOFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum IOFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: IOFlags -> IOFlags Source #

pred :: IOFlags -> IOFlags Source #

toEnum :: Int -> IOFlags Source #

fromEnum :: IOFlags -> Int Source #

enumFrom :: IOFlags -> [IOFlags] Source #

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

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

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

Show IOFlags Source # |
Instance details Defined in GI.GLib.Flags Methods showsPrec :: Int -> IOFlags -> ShowS Source # show :: IOFlags -> String Source # showList :: [IOFlags] -> ShowS Source #
Eq IOFlags Source # |
Instance details Defined in GI.GLib.Flags Methods (==) :: IOFlags -> IOFlags -> Bool Source # (/=) :: IOFlags -> IOFlags -> Bool Source #
Ord IOFlags Source # |
Instance details Defined in GI.GLib.Flags Methods compare :: IOFlags -> IOFlags -> Ordering Source # (<) :: IOFlags -> IOFlags -> Bool Source # (<=) :: IOFlags -> IOFlags -> Bool Source # (>) :: IOFlags -> IOFlags -> Bool Source # (>=) :: IOFlags -> IOFlags -> Bool Source # max :: IOFlags -> IOFlags -> IOFlags Source # min :: IOFlags -> IOFlags -> IOFlags Source #
IsGFlag IOFlags Source # |
Instance details Defined in GI.GLib.Flags

## KeyFileFlags

data KeyFileFlags Source #

Flags which influence the parsing.

Constructors

KeyFileFlagsNone | No flags, default behaviour
KeyFileFlagsKeepComments | Use this flag if you plan to write the (possibly modified) contents of the key file back to a file; otherwise all comments will be lost when the key file is written back.
KeyFileFlagsKeepTranslations | Use this flag if you plan to write the (possibly modified) contents of the key file back to a file; otherwise only the translations for the current language will be written back.
AnotherKeyFileFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum KeyFileFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: KeyFileFlags -> KeyFileFlags Source #

pred :: KeyFileFlags -> KeyFileFlags Source #

toEnum :: Int -> KeyFileFlags Source #

fromEnum :: KeyFileFlags -> Int Source #

enumFrom :: KeyFileFlags -> [KeyFileFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: KeyFileFlags -> KeyFileFlags -> Ordering Source #

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

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

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

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

max :: KeyFileFlags -> KeyFileFlags -> KeyFileFlags Source #

min :: KeyFileFlags -> KeyFileFlags -> KeyFileFlags Source #

IsGFlag KeyFileFlags Source # |
Instance details Defined in GI.GLib.Flags

## LogLevelFlags

data LogLevelFlags Source #

Flags specifying the level of log messages.

It is possible to change how GLib treats messages of the various levels using `logSetHandler` and `logSetFatalMask`.

Constructors

LogLevelFlagsFlagRecursion | internal flag
LogLevelFlagsFlagFatal | internal flag
LogLevelFlagsLevelError | log level for errors, see `GLib.error`. This level is also used for messages produced by `GLib.assert`.
LogLevelFlagsLevelCritical | log level for critical warning messages, see `GLib.critical`. This level is also used for messages produced by `GLib.return_if_fail` and `GLib.return_val_if_fail`.
LogLevelFlagsLevelWarning | log level for warnings, see `GLib.warning`
LogLevelFlagsLevelMessage | log level for messages, see `GLib.message`
LogLevelFlagsLevelInfo | log level for informational messages, see `GLib.info`
LogLevelFlagsLevelDebug | log level for debug messages, see `GLib.debug`
LogLevelFlagsLevelMask | a mask including all log levels
AnotherLogLevelFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum LogLevelFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: LogLevelFlags -> LogLevelFlags Source #

pred :: LogLevelFlags -> LogLevelFlags Source #

toEnum :: Int -> LogLevelFlags Source #

fromEnum :: LogLevelFlags -> Int Source #

enumFrom :: LogLevelFlags -> [LogLevelFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: LogLevelFlags -> LogLevelFlags -> Ordering Source #

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

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

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

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

max :: LogLevelFlags -> LogLevelFlags -> LogLevelFlags Source #

min :: LogLevelFlags -> LogLevelFlags -> LogLevelFlags Source #

IsGFlag LogLevelFlags Source # |
Instance details Defined in GI.GLib.Flags

## MainContextFlags

data MainContextFlags Source #

Flags to pass to `mainContextNewWithFlags` which affect the behaviour of a `MainContext`.

Since: 2.72

Constructors

MainContextFlagsNone | Default behaviour.
MainContextFlagsOwnerlessPolling | Assume that polling for events will free the thread to process other jobs. That's useful if you're using `g_main_context_{prepare,query,check,dispatch}` to integrate GMainContext in other event loops.
AnotherMainContextFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum MainContextFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: MainContextFlags -> MainContextFlags Source #

pred :: MainContextFlags -> MainContextFlags Source #

toEnum :: Int -> MainContextFlags Source #

fromEnum :: MainContextFlags -> Int Source #

enumFrom :: MainContextFlags -> [MainContextFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: MainContextFlags -> MainContextFlags -> Ordering Source #

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

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

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

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

max :: MainContextFlags -> MainContextFlags -> MainContextFlags Source #

min :: MainContextFlags -> MainContextFlags -> MainContextFlags Source #

IsGFlag MainContextFlags Source # |
Instance details Defined in GI.GLib.Flags

## MarkupCollectType

data MarkupCollectType Source #

A mixed enumerated type and flags field. You must specify one type (string, strdup, boolean, tristate). Additionally, you may optionally bitwise OR the type with the flag `MarkupCollectTypeOptional`.

It is likely that this enum will be extended in the future to support other types.

Constructors

MarkupCollectTypeInvalid | used to terminate the list of attributes to collect
MarkupCollectTypeString | collect the string pointer directly from the attribute_values[] array. Expects a parameter of type (const char **). If `MarkupCollectTypeOptional` is specified and the attribute isn't present then the pointer will be set to `Nothing`
MarkupCollectTypeStrdup | as with `MarkupCollectTypeString`, but expects a parameter of type (char **) and `strdup`s the returned pointer. The pointer must be freed with `free`
MarkupCollectTypeBoolean | expects a parameter of type (gboolean *) and parses the attribute value as a boolean. Sets `False` if the attribute isn't present. Valid boolean values consist of (case-insensitive) "false", "f", "no", "n", "0" and "true", "t", "yes", "y", "1"
MarkupCollectTypeTristate | as with `MarkupCollectTypeBoolean`, but in the case of a missing attribute a value is set that compares equal to neither `False` nor `True` G_MARKUP_COLLECT_OPTIONAL is implied
MarkupCollectTypeOptional | can be bitwise ORed with the other fields. If present, allows the attribute not to appear. A default value is set depending on what value type is used
AnotherMarkupCollectType Int | Catch-all for unknown values

#### Instances

Instances details

Enum MarkupCollectType Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: MarkupCollectType -> MarkupCollectType Source #

pred :: MarkupCollectType -> MarkupCollectType Source #

toEnum :: Int -> MarkupCollectType Source #

fromEnum :: MarkupCollectType -> Int Source #

enumFrom :: MarkupCollectType -> [MarkupCollectType] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: MarkupCollectType -> MarkupCollectType -> Ordering Source #

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

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

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

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

max :: MarkupCollectType -> MarkupCollectType -> MarkupCollectType Source #

min :: MarkupCollectType -> MarkupCollectType -> MarkupCollectType Source #

IsGFlag MarkupCollectType Source # |
Instance details Defined in GI.GLib.Flags

## MarkupParseFlags

data MarkupParseFlags Source #

Flags that affect the behaviour of the parser.

Constructors

MarkupParseFlagsDefaultFlags | No special behaviour. Since: 2.74
MarkupParseFlagsDoNotUseThisUnsupportedFlag | flag you should not use
MarkupParseFlagsTreatCdataAsText | When this flag is set, CDATA marked sections are not passed literally to the `passthrough` function of the parser. Instead, the content of the section (without the `<![CDATA[` and `]]>`) is passed to the `text` function. This flag was added in GLib 2.12
MarkupParseFlagsPrefixErrorPosition | Normally errors caught by GMarkup itself have line/column information prefixed to them to let the caller know the location of the error. When this flag is set the location information is also prefixed to errors generated by the `MarkupParser` implementation functions
MarkupParseFlagsIgnoreQualified | Ignore (don't report) qualified attributes and tags, along with their contents. A qualified attribute or tag is one that contains ':' in its name (ie: is in another namespace). Since: 2.40.
AnotherMarkupParseFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum MarkupParseFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: MarkupParseFlags -> MarkupParseFlags Source #

pred :: MarkupParseFlags -> MarkupParseFlags Source #

toEnum :: Int -> MarkupParseFlags Source #

fromEnum :: MarkupParseFlags -> Int Source #

enumFrom :: MarkupParseFlags -> [MarkupParseFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: MarkupParseFlags -> MarkupParseFlags -> Ordering Source #

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

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

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

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

max :: MarkupParseFlags -> MarkupParseFlags -> MarkupParseFlags Source #

min :: MarkupParseFlags -> MarkupParseFlags -> MarkupParseFlags Source #

IsGFlag MarkupParseFlags Source # |
Instance details Defined in GI.GLib.Flags

## OptionFlags

data OptionFlags Source #

Flags which modify individual options.

Constructors

OptionFlagsNone | No flags. Since: 2.42.
OptionFlagsHidden | The option doesn't appear in `--help` output.
OptionFlagsInMain | The option appears in the main section of the `--help` output, even if it is defined in a group.
OptionFlagsReverse | For options of the `OptionArgNone` kind, this flag indicates that the sense of the option is reversed. i.e. `False` will be stored into the argument rather than `True`.
OptionFlagsNoArg | For options of the `OptionArgCallback` kind, this flag indicates that the callback does not take any argument (like a `OptionArgNone` option). Since 2.8
OptionFlagsFilename | For options of the `OptionArgCallback` kind, this flag indicates that the argument should be passed to the callback in the GLib filename encoding rather than UTF-8. Since 2.8
OptionFlagsOptionalArg | For options of the `OptionArgCallback` kind, this flag indicates that the argument supply is optional. If no argument is given then data of `GOptionParseFunc` will be set to NULL. Since 2.8
OptionFlagsNoalias | This flag turns off the automatic conflict resolution which prefixes long option names with `groupname-` if there is a conflict. This option should only be used in situations where aliasing is necessary to model some legacy commandline interface. It is not safe to use this option, unless all option groups are under your direct control. Since 2.8.
AnotherOptionFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum OptionFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: OptionFlags -> OptionFlags Source #

pred :: OptionFlags -> OptionFlags Source #

toEnum :: Int -> OptionFlags Source #

fromEnum :: OptionFlags -> Int Source #

enumFrom :: OptionFlags -> [OptionFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: OptionFlags -> OptionFlags -> Ordering Source #

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

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

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

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

max :: OptionFlags -> OptionFlags -> OptionFlags Source #

min :: OptionFlags -> OptionFlags -> OptionFlags Source #

IsGFlag OptionFlags Source # |
Instance details Defined in GI.GLib.Flags

## RegexCompileFlags

data RegexCompileFlags Source #

Flags specifying compile-time options.

Since: 2.14

Constructors

RegexCompileFlagsDefault | No special options set. Since: 2.74
RegexCompileFlagsCaseless | Letters in the pattern match both upper- and lowercase letters. This option can be changed within a pattern by a "(?i)" option setting.

RegexCompileFlagsMultiline

By default, GRegex treats the strings as consisting of a single line of characters (even if it actually contains newlines). The "start of line" metacharacter ("^") matches only at the start of the string, while the "end of line" metacharacter ("$") matches only at the end of the string, or before a terminating newline (unless `RegexCompileFlagsDollarEndonly` is set). When `RegexCompileFlagsMultiline` is set, the "start of line" and "end of line" constructs match immediately following or immediately before any newline in the string, respectively, as well as at the very start and end. This can be changed within a pattern by a "(?m)" option setting.

RegexCompileFlagsDotall | A dot metacharacter (".") in the pattern matches all characters, including newlines. Without it, newlines are excluded. This option can be changed within a pattern by a ("?s") option setting.
RegexCompileFlagsExtended | Whitespace data characters in the pattern are totally ignored except when escaped or inside a character class. Whitespace does not include the VT character (code 11). In addition, characters between an unescaped "#" outside a character class and the next newline character, inclusive, are also ignored. This can be changed within a pattern by a "(?x)" option setting.
RegexCompileFlagsAnchored | The pattern is forced to be "anchored", that is, it is constrained to match only at the first matching point in the string that is being searched. This effect can also be achieved by appropriate constructs in the pattern itself such as the "^" metacharacter.
RegexCompileFlagsDollarEndonly | A dollar metacharacter ("$") in the pattern matches only at the end of the string. Without this option, a dollar also matches immediately before the final character if it is a newline (but not before any other newlines). This option is ignored if `RegexCompileFlagsMultiline` is set.
RegexCompileFlagsUngreedy | Inverts the "greediness" of the quantifiers so that they are not greedy by default, but become greedy if followed by "?". It can also be set by a "(?U)" option setting within the pattern.
RegexCompileFlagsRaw | Usually strings must be valid UTF-8 strings, using this flag they are considered as a raw sequence of bytes.
RegexCompileFlagsNoAutoCapture | Disables the use of numbered capturing parentheses in the pattern. Any opening parenthesis that is not followed by "?" behaves as if it were followed by "?:" but named parentheses can still be used for capturing (and they acquire numbers in the usual way).

RegexCompileFlagsOptimize

Since 2.74 and the port to pcre2, requests JIT compilation, which, if the just-in-time compiler is available, further processes a compiled pattern into machine code that executes much faster. However, it comes at the cost of extra processing before the match is performed, so it is most beneficial to use this when the same compiled pattern is used for matching many times. Before 2.74 this option used the built-in non-JIT optimizations in pcre1.

RegexCompileFlagsFirstline | Limits an unanchored pattern to match before (or at) the first newline. Since: 2.34
RegexCompileFlagsDupnames | Names used to identify capturing subpatterns need not be unique. This can be helpful for certain types of pattern when it is known that only one instance of the named subpattern can ever be matched.
RegexCompileFlagsNewlineCr | Usually any newline character or character sequence is recognized. If this option is set, the only recognized newline character is '\r'.
RegexCompileFlagsNewlineLf | Usually any newline character or character sequence is recognized. If this option is set, the only recognized newline character is '\n'.
RegexCompileFlagsNewlineCrlf | Usually any newline character or character sequence is recognized. If this option is set, the only recognized newline character sequence is '\r\n'.
RegexCompileFlagsNewlineAnycrlf | Usually any newline character or character sequence is recognized. If this option is set, the only recognized newline character sequences are '\r', '\n', and '\r\n'. Since: 2.34
RegexCompileFlagsBsrAnycrlf | Usually any newline character or character sequence is recognised. If this option is set, then "\R" only recognizes the newline characters '\r', '\n' and '\r\n'. Since: 2.34
RegexCompileFlagsJavascriptCompat | Changes behaviour so that it is compatible with JavaScript rather than PCRE. Since GLib 2.74 this is no longer supported, as libpcre2 does not support it. Since: 2.34 Deprecated: 2.74
AnotherRegexCompileFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum RegexCompileFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: RegexCompileFlags -> RegexCompileFlags Source #

pred :: RegexCompileFlags -> RegexCompileFlags Source #

toEnum :: Int -> RegexCompileFlags Source #

fromEnum :: RegexCompileFlags -> Int Source #

enumFrom :: RegexCompileFlags -> [RegexCompileFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: RegexCompileFlags -> RegexCompileFlags -> Ordering Source #

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

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

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

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

max :: RegexCompileFlags -> RegexCompileFlags -> RegexCompileFlags Source #

min :: RegexCompileFlags -> RegexCompileFlags -> RegexCompileFlags Source #

IsGFlag RegexCompileFlags Source # |
Instance details Defined in GI.GLib.Flags

## RegexMatchFlags

data RegexMatchFlags Source #

Flags specifying match-time options.

Since: 2.14

Constructors

RegexMatchFlagsDefault | No special options set. Since: 2.74
RegexMatchFlagsAnchored | The pattern is forced to be "anchored", that is, it is constrained to match only at the first matching point in the string that is being searched. This effect can also be achieved by appropriate constructs in the pattern itself such as the "^" metacharacter.
RegexMatchFlagsNotbol | Specifies that first character of the string is not the beginning of a line, so the circumflex metacharacter should not match before it. Setting this without `RegexCompileFlagsMultiline` (at compile time) causes circumflex never to match. This option affects only the behaviour of the circumflex metacharacter, it does not affect "\A".

RegexMatchFlagsNoteol

Specifies that the end of the subject string is not the end of a line, so the dollar metacharacter should not match it nor (except in multiline mode) a newline immediately before it. Setting this without `RegexCompileFlagsMultiline` (at compile time) causes dollar never to match. This option affects only the behaviour of the dollar metacharacter, it does not affect "\Z" or "\z".

RegexMatchFlagsNotempty

An empty string is not considered to be a valid match if this option is set. If there are alternatives in the pattern, they are tried. If all the alternatives match the empty string, the entire match fails. For example, if the pattern "a?b?" is applied to a string not beginning with "a" or "b", it matches the empty string at the start of the string. With this flag set, this match is not valid, so GRegex searches further into the string for occurrences of "a" or "b".

RegexMatchFlagsPartial | Turns on the partial matching feature, for more documentation on partial matching see `matchInfoIsPartialMatch`.
RegexMatchFlagsNewlineCr | Overrides the newline definition set when creating a new `Regex`, setting the '\r' character as line terminator.
RegexMatchFlagsNewlineLf | Overrides the newline definition set when creating a new `Regex`, setting the '\n' character as line terminator.
RegexMatchFlagsNewlineCrlf | Overrides the newline definition set when creating a new `Regex`, setting the '\r\n' characters sequence as line terminator.
RegexMatchFlagsNewlineAny | Overrides the newline definition set when creating a new `Regex`, any Unicode newline sequence is recognised as a newline. These are '\r', '\n' and '\rn', and the single characters U+000B LINE TABULATION, U+000C FORM FEED (FF), U+0085 NEXT LINE (NEL), U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR.
RegexMatchFlagsNewlineAnycrlf | Overrides the newline definition set when creating a new `Regex`; any '\r', '\n', or '\r\n' character sequence is recognized as a newline. Since: 2.34
RegexMatchFlagsBsrAnycrlf | Overrides the newline definition for "\R" set when creating a new `Regex`; only '\r', '\n', or '\r\n' character sequences are recognized as a newline by "\R". Since: 2.34
RegexMatchFlagsBsrAny | Overrides the newline definition for "\R" set when creating a new `Regex`; any Unicode newline character or character sequence are recognized as a newline by "\R". These are '\r', '\n' and '\rn', and the single characters U+000B LINE TABULATION, U+000C FORM FEED (FF), U+0085 NEXT LINE (NEL), U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR. Since: 2.34
RegexMatchFlagsPartialSoft | An alias for `RegexMatchFlagsPartial`. Since: 2.34
RegexMatchFlagsPartialHard | Turns on the partial matching feature. In contrast to to `RegexMatchFlagsPartialSoft`, this stops matching as soon as a partial match is found, without continuing to search for a possible complete match. See `matchInfoIsPartialMatch` for more information. Since: 2.34
RegexMatchFlagsNotemptyAtstart | Like `RegexMatchFlagsNotempty`, but only applied to the start of the matched string. For anchored patterns this can only happen for pattern containing "\K". Since: 2.34
AnotherRegexMatchFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum RegexMatchFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: RegexMatchFlags -> RegexMatchFlags Source #

pred :: RegexMatchFlags -> RegexMatchFlags Source #

toEnum :: Int -> RegexMatchFlags Source #

fromEnum :: RegexMatchFlags -> Int Source #

enumFrom :: RegexMatchFlags -> [RegexMatchFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: RegexMatchFlags -> RegexMatchFlags -> Ordering Source #

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

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

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

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

max :: RegexMatchFlags -> RegexMatchFlags -> RegexMatchFlags Source #

min :: RegexMatchFlags -> RegexMatchFlags -> RegexMatchFlags Source #

IsGFlag RegexMatchFlags Source # |
Instance details Defined in GI.GLib.Flags

## SpawnFlags

data SpawnFlags Source #

Flags passed to `spawnSync`, `spawnAsync` and `spawnAsyncWithPipes`.

Constructors

SpawnFlagsDefault | no flags, default behaviour
SpawnFlagsLeaveDescriptorsOpen | the parent's open file descriptors will be inherited by the child; otherwise all descriptors except stdin, stdout and stderr will be closed before calling `exec()` in the child.
SpawnFlagsDoNotReapChild | the child will not be automatically reaped; you must use `g_child_watch_add()` yourself (or call `waitpid()` or handle `SIGCHLD` yourself), or the child will become a zombie.
SpawnFlagsSearchPath | `argv[0]` need not be an absolute path, it will be looked for in the user's `PATH`.
SpawnFlagsStdoutToDevNull | the child's standard output will be discarded, instead of going to the same location as the parent's standard output.
SpawnFlagsStderrToDevNull | the child's standard error will be discarded.
SpawnFlagsChildInheritsStdin | the child will inherit the parent's standard input (by default, the child's standard input is attached to `/dev/null`).
SpawnFlagsFileAndArgvZero | the first element of `argv` is the file to execute, while the remaining elements are the actual argument vector to pass to the file. Normally `spawnAsyncWithPipes` uses `argv[0]` as the file to execute, and passes all of `argv` to the child.
SpawnFlagsSearchPathFromEnvp | if `argv[0]` is not an absolute path, it will be looked for in the `PATH` from the passed child environment. Since: 2.34
SpawnFlagsCloexecPipes | create all pipes with the `O_CLOEXEC` flag set. Since: 2.40
SpawnFlagsChildInheritsStdout | The child will inherit the parent's standard output. Since: 2.74
SpawnFlagsChildInheritsStderr | The child will inherit the parent's standard error. Since: 2.74
SpawnFlagsStdinFromDevNull | The child's standard input is attached to `/dev/null`. Since: 2.74
AnotherSpawnFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum SpawnFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: SpawnFlags -> SpawnFlags Source #

pred :: SpawnFlags -> SpawnFlags Source #

toEnum :: Int -> SpawnFlags Source #

fromEnum :: SpawnFlags -> Int Source #

enumFrom :: SpawnFlags -> [SpawnFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: SpawnFlags -> SpawnFlags -> Ordering Source #

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

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

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

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

max :: SpawnFlags -> SpawnFlags -> SpawnFlags Source #

min :: SpawnFlags -> SpawnFlags -> SpawnFlags Source #

IsGFlag SpawnFlags Source # |
Instance details Defined in GI.GLib.Flags

## TestSubprocessFlags

data TestSubprocessFlags Source #

Flags to pass to `testTrapSubprocess` to control input and output.

Note that in contrast with `testTrapFork`, the default is to not show stdout and stderr.

Constructors

TestSubprocessFlagsDefault | Default behaviour. Since: 2.74
TestSubprocessFlagsInheritStdin | If this flag is given, the child process will inherit the parent's stdin. Otherwise, the child's stdin is redirected to `/dev/null`.
TestSubprocessFlagsInheritStdout | If this flag is given, the child process will inherit the parent's stdout. Otherwise, the child's stdout will not be visible, but it will be captured to allow later tests with `g_test_trap_assert_stdout()`.
TestSubprocessFlagsInheritStderr | If this flag is given, the child process will inherit the parent's stderr. Otherwise, the child's stderr will not be visible, but it will be captured to allow later tests with `g_test_trap_assert_stderr()`.
AnotherTestSubprocessFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum TestSubprocessFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: TestSubprocessFlags -> TestSubprocessFlags Source #

pred :: TestSubprocessFlags -> TestSubprocessFlags Source #

toEnum :: Int -> TestSubprocessFlags Source #

fromEnum :: TestSubprocessFlags -> Int Source #

enumFrom :: TestSubprocessFlags -> [TestSubprocessFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: TestSubprocessFlags -> TestSubprocessFlags -> Ordering Source #

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

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

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

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

max :: TestSubprocessFlags -> TestSubprocessFlags -> TestSubprocessFlags Source #

min :: TestSubprocessFlags -> TestSubprocessFlags -> TestSubprocessFlags Source #

IsGFlag TestSubprocessFlags Source # |
Instance details Defined in GI.GLib.Flags

## TestTrapFlags

data TestTrapFlags Source #

Deprecated: (Since version 2.38)t`TestTrapFlags` is used only with `testTrapFork`,which is deprecated. `testTrapSubprocess` usest`TestSubprocessFlags`.

Test traps are guards around forked tests. These flags determine what traps to set.

Constructors

TestTrapFlagsDefault | Default behaviour. Since: 2.74
TestTrapFlagsSilenceStdout | Redirect stdout of the test child to `/dev/null` so it cannot be observed on the console during test runs. The actual output is still captured though to allow later tests with `g_test_trap_assert_stdout()`.
TestTrapFlagsSilenceStderr | Redirect stderr of the test child to `/dev/null` so it cannot be observed on the console during test runs. The actual output is still captured though to allow later tests with `g_test_trap_assert_stderr()`.
TestTrapFlagsInheritStdin | If this flag is given, stdin of the child process is shared with stdin of its parent process. It is redirected to `/dev/null` otherwise.
AnotherTestTrapFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum TestTrapFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: TestTrapFlags -> TestTrapFlags Source #

pred :: TestTrapFlags -> TestTrapFlags Source #

toEnum :: Int -> TestTrapFlags Source #

fromEnum :: TestTrapFlags -> Int Source #

enumFrom :: TestTrapFlags -> [TestTrapFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: TestTrapFlags -> TestTrapFlags -> Ordering Source #

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

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

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

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

max :: TestTrapFlags -> TestTrapFlags -> TestTrapFlags Source #

min :: TestTrapFlags -> TestTrapFlags -> TestTrapFlags Source #

IsGFlag TestTrapFlags Source # |
Instance details Defined in GI.GLib.Flags

## TraverseFlags

data TraverseFlags Source #

Specifies which nodes are visited during several of the tree functions, including `nodeTraverse` and `g_node_find()`.

Constructors

TraverseFlagsLeaves | only leaf nodes should be visited. This name has been introduced in 2.6, for older version use `TraverseFlagsLeafs`.
TraverseFlagsNonLeaves | only non-leaf nodes should be visited. This name has been introduced in 2.6, for older version use `TraverseFlagsNonLeafs`.
TraverseFlagsAll | all nodes should be visited.
TraverseFlagsMask | a mask of all traverse flags.
TraverseFlagsLeafs | identical to `TraverseFlagsLeaves`.
TraverseFlagsNonLeafs | identical to `TraverseFlagsNonLeaves`.
AnotherTraverseFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum TraverseFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: TraverseFlags -> TraverseFlags Source #

pred :: TraverseFlags -> TraverseFlags Source #

toEnum :: Int -> TraverseFlags Source #

fromEnum :: TraverseFlags -> Int Source #

enumFrom :: TraverseFlags -> [TraverseFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: TraverseFlags -> TraverseFlags -> Ordering Source #

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

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

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

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

max :: TraverseFlags -> TraverseFlags -> TraverseFlags Source #

min :: TraverseFlags -> TraverseFlags -> TraverseFlags Source #

IsGFlag TraverseFlags Source # |
Instance details Defined in GI.GLib.Flags

## UriFlags

data UriFlags Source #

Flags that describe a URI.

When parsing a URI, if you need to choose different flags based on the type of URI, you can use `uriPeekScheme` on the URI string to check the scheme first, and use that to decide what flags to parse it with.

Since: 2.66

Constructors

UriFlagsNone | No flags set.
UriFlagsParseRelaxed | Parse the URI more relaxedly than the RFC 3986 grammar specifies, fixing up or ignoring common mistakes in URIs coming from external sources. This is also needed for some obscure URI schemes where `;` separates the host from the path. Don’t use this flag unless you need to.
UriFlagsHasPassword | The userinfo field may contain a password, which will be separated from the username by `:`.
UriFlagsHasAuthParams | The userinfo may contain additional authentication-related parameters, which will be separated from the username and/or password by `;`.
UriFlagsEncoded | When parsing a URI, this indicates that `%`-encoded characters in the userinfo, path, query, and fragment fields should not be decoded. (And likewise the host field if `UriFlagsNonDns` is also set.) When building a URI, it indicates that you have already `%`-encoded the components, and so `Uri` should not do any encoding itself.
UriFlagsNonDns | The host component should not be assumed to be a DNS hostname or IP address (for example, for `smb` URIs with NetBIOS hostnames).
UriFlagsEncodedQuery | Same as `UriFlagsEncoded`, for the query field only.
UriFlagsEncodedPath | Same as `UriFlagsEncoded`, for the path only.
UriFlagsEncodedFragment | Same as `UriFlagsEncoded`, for the fragment only.
UriFlagsSchemeNormalize | A scheme-based normalization will be applied. For example, when parsing an HTTP URI changing omitted path to `/` and omitted port to `80`; and when building a URI, changing empty path to `/` and default port `80`). This only supports a subset of known schemes. (Since: 2.68)
AnotherUriFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum UriFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: UriFlags -> UriFlags Source #

pred :: UriFlags -> UriFlags Source #

toEnum :: Int -> UriFlags Source #

fromEnum :: UriFlags -> Int Source #

enumFrom :: UriFlags -> [UriFlags] Source #

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

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

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

Show UriFlags Source # |
Instance details Defined in GI.GLib.Flags Methods showsPrec :: Int -> UriFlags -> ShowS Source # show :: UriFlags -> String Source # showList :: [UriFlags] -> ShowS Source #
Eq UriFlags Source # |
Instance details Defined in GI.GLib.Flags Methods (==) :: UriFlags -> UriFlags -> Bool Source # (/=) :: UriFlags -> UriFlags -> Bool Source #
Ord UriFlags Source # |
Instance details Defined in GI.GLib.Flags Methods compare :: UriFlags -> UriFlags -> Ordering Source # (<) :: UriFlags -> UriFlags -> Bool Source # (<=) :: UriFlags -> UriFlags -> Bool Source # (>) :: UriFlags -> UriFlags -> Bool Source # (>=) :: UriFlags -> UriFlags -> Bool Source # max :: UriFlags -> UriFlags -> UriFlags Source # min :: UriFlags -> UriFlags -> UriFlags Source #
IsGFlag UriFlags Source # |
Instance details Defined in GI.GLib.Flags

## UriHideFlags

data UriHideFlags Source #

Flags describing what parts of the URI to hide in `uriToStringPartial`. Note that `UriHideFlagsPassword` and `UriHideFlagsAuthParams` will only work if the `Uri` was parsed with the corresponding flags.

Since: 2.66

Constructors

UriHideFlagsNone | No flags set.
UriHideFlagsUserinfo | Hide the userinfo.
UriHideFlagsPassword | Hide the password.
UriHideFlagsAuthParams | Hide the auth_params.
UriHideFlagsQuery | Hide the query.
UriHideFlagsFragment | Hide the fragment.
AnotherUriHideFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum UriHideFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: UriHideFlags -> UriHideFlags Source #

pred :: UriHideFlags -> UriHideFlags Source #

toEnum :: Int -> UriHideFlags Source #

fromEnum :: UriHideFlags -> Int Source #

enumFrom :: UriHideFlags -> [UriHideFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: UriHideFlags -> UriHideFlags -> Ordering Source #

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

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

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

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

max :: UriHideFlags -> UriHideFlags -> UriHideFlags Source #

min :: UriHideFlags -> UriHideFlags -> UriHideFlags Source #

IsGFlag UriHideFlags Source # |
Instance details Defined in GI.GLib.Flags

## UriParamsFlags

data UriParamsFlags Source #

Flags modifying the way parameters are handled by `uriParseParams` and `UriParamsIter`.

Since: 2.66

Constructors

UriParamsFlagsNone | No flags set.
UriParamsFlagsCaseInsensitive | Parameter names are case insensitive.
UriParamsFlagsWwwForm | Replace `+` with space character. Only useful for URLs on the web, using the `https` or `http` schemas.
UriParamsFlagsParseRelaxed | See `UriFlagsParseRelaxed`.
AnotherUriParamsFlags Int | Catch-all for unknown values

#### Instances

Instances details

Enum UriParamsFlags Source # |

Instance details

Defined in GI.GLib.Flags

Methods

succ :: UriParamsFlags -> UriParamsFlags Source #

pred :: UriParamsFlags -> UriParamsFlags Source #

toEnum :: Int -> UriParamsFlags Source #

fromEnum :: UriParamsFlags -> Int Source #

enumFrom :: UriParamsFlags -> [UriParamsFlags] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Flags

Methods

compare :: UriParamsFlags -> UriParamsFlags -> Ordering Source #

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

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

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

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

max :: UriParamsFlags -> UriParamsFlags -> UriParamsFlags Source #

min :: UriParamsFlags -> UriParamsFlags -> UriParamsFlags Source #

IsGFlag UriParamsFlags Source # |
Instance details Defined in GI.GLib.Flags