gi-glib-2.0.30: 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.Enums

Contents

- Enumerations
  - BookmarkFileError
  - ChecksumType
  - ConvertError
  - DateDMY
  - DateMonth
  - DateWeekday
  - ErrorType
  - FileError
  - IOChannelError
  - IOError
  - IOStatus
  - KeyFileError
  - LogWriterOutput
  - MarkupError
  - NormalizeMode
  - NumberParserError
  - OnceStatus
  - OptionArg
  - OptionError
  - RegexError
  - SeekType
  - ShellError
  - SliceConfig
  - SpawnError
  - TestFileType
  - TestLogType
  - TestResult
  - ThreadError
  - TimeType
  - TokenType
  - TraverseType
  - UnicodeBreakType
  - UnicodeScript
  - UnicodeType
  - UnixPipeEnd
  - UriError
  - UserDirectory
  - VariantClass
  - VariantParseError

Description

Synopsis

- data BookmarkFileError
  - = BookmarkFileErrorInvalidUri
  - | BookmarkFileErrorInvalidValue
  - | BookmarkFileErrorAppNotRegistered
  - | BookmarkFileErrorUriNotFound
  - | BookmarkFileErrorRead
  - | BookmarkFileErrorUnknownEncoding
  - | BookmarkFileErrorWrite
  - | BookmarkFileErrorFileNotFound
  - | AnotherBookmarkFileError Int
- catchBookmarkFileError :: IO a -> (BookmarkFileError -> GErrorMessage -> IO a) -> IO a
- handleBookmarkFileError :: (BookmarkFileError -> GErrorMessage -> IO a) -> IO a -> IO a
- data ChecksumType
  - = ChecksumTypeMd5
  - | ChecksumTypeSha1
  - | ChecksumTypeSha256
  - | ChecksumTypeSha512
  - | ChecksumTypeSha384
  - | AnotherChecksumType Int
- data ConvertError
  - = ConvertErrorNoConversion
  - | ConvertErrorIllegalSequence
  - | ConvertErrorFailed
  - | ConvertErrorPartialInput
  - | ConvertErrorBadUri
  - | ConvertErrorNotAbsolutePath
  - | ConvertErrorNoMemory
  - | ConvertErrorEmbeddedNul
  - | AnotherConvertError Int
- catchConvertError :: IO a -> (ConvertError -> GErrorMessage -> IO a) -> IO a
- handleConvertError :: (ConvertError -> GErrorMessage -> IO a) -> IO a -> IO a
- data DateDMY
  - = DateDMYDay
  - | DateDMYMonth
  - | DateDMYYear
  - | AnotherDateDMY Int
- data DateMonth
  - = DateMonthBadMonth
  - | DateMonthJanuary
  - | DateMonthFebruary
  - | DateMonthMarch
  - | DateMonthApril
  - | DateMonthMay
  - | DateMonthJune
  - | DateMonthJuly
  - | DateMonthAugust
  - | DateMonthSeptember
  - | DateMonthOctober
  - | DateMonthNovember
  - | DateMonthDecember
  - | AnotherDateMonth Int
- data DateWeekday
  - = DateWeekdayBadWeekday
  - | DateWeekdayMonday
  - | DateWeekdayTuesday
  - | DateWeekdayWednesday
  - | DateWeekdayThursday
  - | DateWeekdayFriday
  - | DateWeekdaySaturday
  - | DateWeekdaySunday
  - | AnotherDateWeekday Int
- data ErrorType
  - = ErrorTypeUnknown
  - | ErrorTypeUnexpEof
  - | ErrorTypeUnexpEofInString
  - | ErrorTypeUnexpEofInComment
  - | ErrorTypeNonDigitInConst
  - | ErrorTypeDigitRadix
  - | ErrorTypeFloatRadix
  - | ErrorTypeFloatMalformed
  - | AnotherErrorType Int
- data FileError
  - = FileErrorExist
  - | FileErrorIsdir
  - | FileErrorAcces
  - | FileErrorNametoolong
  - | FileErrorNoent
  - | FileErrorNotdir
  - | FileErrorNxio
  - | FileErrorNodev
  - | FileErrorRofs
  - | FileErrorTxtbsy
  - | FileErrorFault
  - | FileErrorLoop
  - | FileErrorNospc
  - | FileErrorNomem
  - | FileErrorMfile
  - | FileErrorNfile
  - | FileErrorBadf
  - | FileErrorInval
  - | FileErrorPipe
  - | FileErrorAgain
  - | FileErrorIntr
  - | FileErrorIo
  - | FileErrorPerm
  - | FileErrorNosys
  - | FileErrorFailed
  - | AnotherFileError Int
- catchFileError :: IO a -> (FileError -> GErrorMessage -> IO a) -> IO a
- handleFileError :: (FileError -> GErrorMessage -> IO a) -> IO a -> IO a
- data IOChannelError
  - = IOChannelErrorFbig
  - | IOChannelErrorInval
  - | IOChannelErrorIo
  - | IOChannelErrorIsdir
  - | IOChannelErrorNospc
  - | IOChannelErrorNxio
  - | IOChannelErrorOverflow
  - | IOChannelErrorPipe
  - | IOChannelErrorFailed
  - | AnotherIOChannelError Int
- catchIOChannelError :: IO a -> (IOChannelError -> GErrorMessage -> IO a) -> IO a
- handleIOChannelError :: (IOChannelError -> GErrorMessage -> IO a) -> IO a -> IO a
- data IOError
  - = IOErrorNone
  - | IOErrorAgain
  - | IOErrorInval
  - | IOErrorUnknown
  - | AnotherIOError Int
- data IOStatus
  - = IOStatusError
  - | IOStatusNormal
  - | IOStatusEof
  - | IOStatusAgain
  - | AnotherIOStatus Int
- data KeyFileError
  - = KeyFileErrorUnknownEncoding
  - | KeyFileErrorParse
  - | KeyFileErrorNotFound
  - | KeyFileErrorKeyNotFound
  - | KeyFileErrorGroupNotFound
  - | KeyFileErrorInvalidValue
  - | AnotherKeyFileError Int
- catchKeyFileError :: IO a -> (KeyFileError -> GErrorMessage -> IO a) -> IO a
- handleKeyFileError :: (KeyFileError -> GErrorMessage -> IO a) -> IO a -> IO a
- data LogWriterOutput
  - = LogWriterOutputHandled
  - | LogWriterOutputUnhandled
  - | AnotherLogWriterOutput Int
- data MarkupError
  - = MarkupErrorBadUtf8
  - | MarkupErrorEmpty
  - | MarkupErrorParse
  - | MarkupErrorUnknownElement
  - | MarkupErrorUnknownAttribute
  - | MarkupErrorInvalidContent
  - | MarkupErrorMissingAttribute
  - | AnotherMarkupError Int
- catchMarkupError :: IO a -> (MarkupError -> GErrorMessage -> IO a) -> IO a
- handleMarkupError :: (MarkupError -> GErrorMessage -> IO a) -> IO a -> IO a
- data NormalizeMode
  - = NormalizeModeDefault
  - | NormalizeModeNfd
  - | NormalizeModeDefaultCompose
  - | NormalizeModeNfc
  - | NormalizeModeAll
  - | NormalizeModeNfkd
  - | NormalizeModeAllCompose
  - | NormalizeModeNfkc
  - | AnotherNormalizeMode Int
- data NumberParserError
  - = NumberParserErrorInvalid
  - | NumberParserErrorOutOfBounds
  - | AnotherNumberParserError Int
- catchNumberParserError :: IO a -> (NumberParserError -> GErrorMessage -> IO a) -> IO a
- handleNumberParserError :: (NumberParserError -> GErrorMessage -> IO a) -> IO a -> IO a
- data OnceStatus
  - = OnceStatusNotcalled
  - | OnceStatusProgress
  - | OnceStatusReady
  - | AnotherOnceStatus Int
- data OptionArg
  - = OptionArgNone
  - | OptionArgString
  - | OptionArgInt
  - | OptionArgCallback
  - | OptionArgFilename
  - | OptionArgStringArray
  - | OptionArgFilenameArray
  - | OptionArgDouble
  - | OptionArgInt64
  - | AnotherOptionArg Int
- data OptionError
  - = OptionErrorUnknownOption
  - | OptionErrorBadValue
  - | OptionErrorFailed
  - | AnotherOptionError Int
- catchOptionError :: IO a -> (OptionError -> GErrorMessage -> IO a) -> IO a
- handleOptionError :: (OptionError -> GErrorMessage -> IO a) -> IO a -> IO a
- data RegexError
  - = RegexErrorCompile
  - | RegexErrorOptimize
  - | RegexErrorReplace
  - | RegexErrorMatch
  - | RegexErrorInternal
  - | RegexErrorStrayBackslash
  - | RegexErrorMissingControlChar
  - | RegexErrorUnrecognizedEscape
  - | RegexErrorQuantifiersOutOfOrder
  - | RegexErrorQuantifierTooBig
  - | RegexErrorUnterminatedCharacterClass
  - | RegexErrorInvalidEscapeInCharacterClass
  - | RegexErrorRangeOutOfOrder
  - | RegexErrorNothingToRepeat
  - | RegexErrorUnrecognizedCharacter
  - | RegexErrorPosixNamedClassOutsideClass
  - | RegexErrorUnmatchedParenthesis
  - | RegexErrorInexistentSubpatternReference
  - | RegexErrorUnterminatedComment
  - | RegexErrorExpressionTooLarge
  - | RegexErrorMemoryError
  - | RegexErrorVariableLengthLookbehind
  - | RegexErrorMalformedCondition
  - | RegexErrorTooManyConditionalBranches
  - | RegexErrorAssertionExpected
  - | RegexErrorUnknownPosixClassName
  - | RegexErrorPosixCollatingElementsNotSupported
  - | RegexErrorHexCodeTooLarge
  - | RegexErrorInvalidCondition
  - | RegexErrorSingleByteMatchInLookbehind
  - | RegexErrorInfiniteLoop
  - | RegexErrorMissingSubpatternNameTerminator
  - | RegexErrorDuplicateSubpatternName
  - | RegexErrorMalformedProperty
  - | RegexErrorUnknownProperty
  - | RegexErrorSubpatternNameTooLong
  - | RegexErrorTooManySubpatterns
  - | RegexErrorInvalidOctalValue
  - | RegexErrorTooManyBranchesInDefine
  - | RegexErrorDefineRepetion
  - | RegexErrorInconsistentNewlineOptions
  - | RegexErrorMissingBackReference
  - | RegexErrorInvalidRelativeReference
  - | RegexErrorBacktrackingControlVerbArgumentForbidden
  - | RegexErrorUnknownBacktrackingControlVerb
  - | RegexErrorNumberTooBig
  - | RegexErrorMissingSubpatternName
  - | RegexErrorMissingDigit
  - | RegexErrorInvalidDataCharacter
  - | RegexErrorExtraSubpatternName
  - | RegexErrorBacktrackingControlVerbArgumentRequired
  - | RegexErrorInvalidControlChar
  - | RegexErrorMissingName
  - | RegexErrorNotSupportedInClass
  - | RegexErrorTooManyForwardReferences
  - | RegexErrorNameTooLong
  - | RegexErrorCharacterValueTooLarge
  - | AnotherRegexError Int
- catchRegexError :: IO a -> (RegexError -> GErrorMessage -> IO a) -> IO a
- handleRegexError :: (RegexError -> GErrorMessage -> IO a) -> IO a -> IO a
- data SeekType
  - = SeekTypeCur
  - | SeekTypeSet
  - | SeekTypeEnd
  - | AnotherSeekType Int
- data ShellError
  - = ShellErrorBadQuoting
  - | ShellErrorEmptyString
  - | ShellErrorFailed
  - | AnotherShellError Int
- catchShellError :: IO a -> (ShellError -> GErrorMessage -> IO a) -> IO a
- handleShellError :: (ShellError -> GErrorMessage -> IO a) -> IO a -> IO a
- data SliceConfig
  - = SliceConfigAlwaysMalloc
  - | SliceConfigBypassMagazines
  - | SliceConfigWorkingSetMsecs
  - | SliceConfigColorIncrement
  - | SliceConfigChunkSizes
  - | SliceConfigContentionCounter
  - | AnotherSliceConfig Int
- data SpawnError
  - = SpawnErrorFork
  - | SpawnErrorRead
  - | SpawnErrorChdir
  - | SpawnErrorAcces
  - | SpawnErrorPerm
  - | SpawnErrorTooBig
  - | SpawnError2big
  - | SpawnErrorNoexec
  - | SpawnErrorNametoolong
  - | SpawnErrorNoent
  - | SpawnErrorNomem
  - | SpawnErrorNotdir
  - | SpawnErrorLoop
  - | SpawnErrorTxtbusy
  - | SpawnErrorIo
  - | SpawnErrorNfile
  - | SpawnErrorMfile
  - | SpawnErrorInval
  - | SpawnErrorIsdir
  - | SpawnErrorLibbad
  - | SpawnErrorFailed
  - | AnotherSpawnError Int
- catchSpawnError :: IO a -> (SpawnError -> GErrorMessage -> IO a) -> IO a
- handleSpawnError :: (SpawnError -> GErrorMessage -> IO a) -> IO a -> IO a
- data TestFileType
  - = TestFileTypeDist
  - | TestFileTypeBuilt
  - | AnotherTestFileType Int
- data TestLogType
  - = TestLogTypeNone
  - | TestLogTypeError
  - | TestLogTypeStartBinary
  - | TestLogTypeListCase
  - | TestLogTypeSkipCase
  - | TestLogTypeStartCase
  - | TestLogTypeStopCase
  - | TestLogTypeMinResult
  - | TestLogTypeMaxResult
  - | TestLogTypeMessage
  - | TestLogTypeStartSuite
  - | TestLogTypeStopSuite
  - | AnotherTestLogType Int
- data TestResult
  - = TestResultSuccess
  - | TestResultSkipped
  - | TestResultFailure
  - | TestResultIncomplete
  - | AnotherTestResult Int
- data ThreadError
  - = ThreadErrorThreadErrorAgain
  - | AnotherThreadError Int
- catchThreadError :: IO a -> (ThreadError -> GErrorMessage -> IO a) -> IO a
- handleThreadError :: (ThreadError -> GErrorMessage -> IO a) -> IO a -> IO a
- data TimeType
  - = TimeTypeStandard
  - | TimeTypeDaylight
  - | TimeTypeUniversal
  - | AnotherTimeType Int
- data TokenType
  - = TokenTypeEof
  - | TokenTypeLeftParen
  - | TokenTypeRightParen
  - | TokenTypeLeftCurly
  - | TokenTypeRightCurly
  - | TokenTypeLeftBrace
  - | TokenTypeRightBrace
  - | TokenTypeEqualSign
  - | TokenTypeComma
  - | TokenTypeNone
  - | TokenTypeError
  - | TokenTypeChar
  - | TokenTypeBinary
  - | TokenTypeOctal
  - | TokenTypeInt
  - | TokenTypeHex
  - | TokenTypeFloat
  - | TokenTypeString
  - | TokenTypeSymbol
  - | TokenTypeIdentifier
  - | TokenTypeIdentifierNull
  - | TokenTypeCommentSingle
  - | TokenTypeCommentMulti
  - | AnotherTokenType Int
- data TraverseType
  - = TraverseTypeInOrder
  - | TraverseTypePreOrder
  - | TraverseTypePostOrder
  - | TraverseTypeLevelOrder
  - | AnotherTraverseType Int
- data UnicodeBreakType
  - = UnicodeBreakTypeMandatory
  - | UnicodeBreakTypeCarriageReturn
  - | UnicodeBreakTypeLineFeed
  - | UnicodeBreakTypeCombiningMark
  - | UnicodeBreakTypeSurrogate
  - | UnicodeBreakTypeZeroWidthSpace
  - | UnicodeBreakTypeInseparable
  - | UnicodeBreakTypeNonBreakingGlue
  - | UnicodeBreakTypeContingent
  - | UnicodeBreakTypeSpace
  - | UnicodeBreakTypeAfter
  - | UnicodeBreakTypeBefore
  - | UnicodeBreakTypeBeforeAndAfter
  - | UnicodeBreakTypeHyphen
  - | UnicodeBreakTypeNonStarter
  - | UnicodeBreakTypeOpenPunctuation
  - | UnicodeBreakTypeClosePunctuation
  - | UnicodeBreakTypeQuotation
  - | UnicodeBreakTypeExclamation
  - | UnicodeBreakTypeIdeographic
  - | UnicodeBreakTypeNumeric
  - | UnicodeBreakTypeInfixSeparator
  - | UnicodeBreakTypeSymbol
  - | UnicodeBreakTypeAlphabetic
  - | UnicodeBreakTypePrefix
  - | UnicodeBreakTypePostfix
  - | UnicodeBreakTypeComplexContext
  - | UnicodeBreakTypeAmbiguous
  - | UnicodeBreakTypeUnknown
  - | UnicodeBreakTypeNextLine
  - | UnicodeBreakTypeWordJoiner
  - | UnicodeBreakTypeHangulLJamo
  - | UnicodeBreakTypeHangulVJamo
  - | UnicodeBreakTypeHangulTJamo
  - | UnicodeBreakTypeHangulLvSyllable
  - | UnicodeBreakTypeHangulLvtSyllable
  - | UnicodeBreakTypeCloseParanthesis
  - | UnicodeBreakTypeCloseParenthesis
  - | UnicodeBreakTypeConditionalJapaneseStarter
  - | UnicodeBreakTypeHebrewLetter
  - | UnicodeBreakTypeRegionalIndicator
  - | UnicodeBreakTypeEmojiBase
  - | UnicodeBreakTypeEmojiModifier
  - | UnicodeBreakTypeZeroWidthJoiner
  - | UnicodeBreakTypeAksara
  - | UnicodeBreakTypeAksaraPreBase
  - | UnicodeBreakTypeAksaraStart
  - | UnicodeBreakTypeViramaFinal
  - | UnicodeBreakTypeVirama
  - | AnotherUnicodeBreakType Int
- data UnicodeScript
  - = UnicodeScriptInvalidCode
  - | UnicodeScriptCommon
  - | UnicodeScriptInherited
  - | UnicodeScriptArabic
  - | UnicodeScriptArmenian
  - | UnicodeScriptBengali
  - | UnicodeScriptBopomofo
  - | UnicodeScriptCherokee
  - | UnicodeScriptCoptic
  - | UnicodeScriptCyrillic
  - | UnicodeScriptDeseret
  - | UnicodeScriptDevanagari
  - | UnicodeScriptEthiopic
  - | UnicodeScriptGeorgian
  - | UnicodeScriptGothic
  - | UnicodeScriptGreek
  - | UnicodeScriptGujarati
  - | UnicodeScriptGurmukhi
  - | UnicodeScriptHan
  - | UnicodeScriptHangul
  - | UnicodeScriptHebrew
  - | UnicodeScriptHiragana
  - | UnicodeScriptKannada
  - | UnicodeScriptKatakana
  - | UnicodeScriptKhmer
  - | UnicodeScriptLao
  - | UnicodeScriptLatin
  - | UnicodeScriptMalayalam
  - | UnicodeScriptMongolian
  - | UnicodeScriptMyanmar
  - | UnicodeScriptOgham
  - | UnicodeScriptOldItalic
  - | UnicodeScriptOriya
  - | UnicodeScriptRunic
  - | UnicodeScriptSinhala
  - | UnicodeScriptSyriac
  - | UnicodeScriptTamil
  - | UnicodeScriptTelugu
  - | UnicodeScriptThaana
  - | UnicodeScriptThai
  - | UnicodeScriptTibetan
  - | UnicodeScriptCanadianAboriginal
  - | UnicodeScriptYi
  - | UnicodeScriptTagalog
  - | UnicodeScriptHanunoo
  - | UnicodeScriptBuhid
  - | UnicodeScriptTagbanwa
  - | UnicodeScriptBraille
  - | UnicodeScriptCypriot
  - | UnicodeScriptLimbu
  - | UnicodeScriptOsmanya
  - | UnicodeScriptShavian
  - | UnicodeScriptLinearB
  - | UnicodeScriptTaiLe
  - | UnicodeScriptUgaritic
  - | UnicodeScriptNewTaiLue
  - | UnicodeScriptBuginese
  - | UnicodeScriptGlagolitic
  - | UnicodeScriptTifinagh
  - | UnicodeScriptSylotiNagri
  - | UnicodeScriptOldPersian
  - | UnicodeScriptKharoshthi
  - | UnicodeScriptUnknown
  - | UnicodeScriptBalinese
  - | UnicodeScriptCuneiform
  - | UnicodeScriptPhoenician
  - | UnicodeScriptPhagsPa
  - | UnicodeScriptNko
  - | UnicodeScriptKayahLi
  - | UnicodeScriptLepcha
  - | UnicodeScriptRejang
  - | UnicodeScriptSundanese
  - | UnicodeScriptSaurashtra
  - | UnicodeScriptCham
  - | UnicodeScriptOlChiki
  - | UnicodeScriptVai
  - | UnicodeScriptCarian
  - | UnicodeScriptLycian
  - | UnicodeScriptLydian
  - | UnicodeScriptAvestan
  - | UnicodeScriptBamum
  - | UnicodeScriptEgyptianHieroglyphs
  - | UnicodeScriptImperialAramaic
  - | UnicodeScriptInscriptionalPahlavi
  - | UnicodeScriptInscriptionalParthian
  - | UnicodeScriptJavanese
  - | UnicodeScriptKaithi
  - | UnicodeScriptLisu
  - | UnicodeScriptMeeteiMayek
  - | UnicodeScriptOldSouthArabian
  - | UnicodeScriptOldTurkic
  - | UnicodeScriptSamaritan
  - | UnicodeScriptTaiTham
  - | UnicodeScriptTaiViet
  - | UnicodeScriptBatak
  - | UnicodeScriptBrahmi
  - | UnicodeScriptMandaic
  - | UnicodeScriptChakma
  - | UnicodeScriptMeroiticCursive
  - | UnicodeScriptMeroiticHieroglyphs
  - | UnicodeScriptMiao
  - | UnicodeScriptSharada
  - | UnicodeScriptSoraSompeng
  - | UnicodeScriptTakri
  - | UnicodeScriptBassaVah
  - | UnicodeScriptCaucasianAlbanian
  - | UnicodeScriptDuployan
  - | UnicodeScriptElbasan
  - | UnicodeScriptGrantha
  - | UnicodeScriptKhojki
  - | UnicodeScriptKhudawadi
  - | UnicodeScriptLinearA
  - | UnicodeScriptMahajani
  - | UnicodeScriptManichaean
  - | UnicodeScriptMendeKikakui
  - | UnicodeScriptModi
  - | UnicodeScriptMro
  - | UnicodeScriptNabataean
  - | UnicodeScriptOldNorthArabian
  - | UnicodeScriptOldPermic
  - | UnicodeScriptPahawhHmong
  - | UnicodeScriptPalmyrene
  - | UnicodeScriptPauCinHau
  - | UnicodeScriptPsalterPahlavi
  - | UnicodeScriptSiddham
  - | UnicodeScriptTirhuta
  - | UnicodeScriptWarangCiti
  - | UnicodeScriptAhom
  - | UnicodeScriptAnatolianHieroglyphs
  - | UnicodeScriptHatran
  - | UnicodeScriptMultani
  - | UnicodeScriptOldHungarian
  - | UnicodeScriptSignwriting
  - | UnicodeScriptAdlam
  - | UnicodeScriptBhaiksuki
  - | UnicodeScriptMarchen
  - | UnicodeScriptNewa
  - | UnicodeScriptOsage
  - | UnicodeScriptTangut
  - | UnicodeScriptMasaramGondi
  - | UnicodeScriptNushu
  - | UnicodeScriptSoyombo
  - | UnicodeScriptZanabazarSquare
  - | UnicodeScriptDogra
  - | UnicodeScriptGunjalaGondi
  - | UnicodeScriptHanifiRohingya
  - | UnicodeScriptMakasar
  - | UnicodeScriptMedefaidrin
  - | UnicodeScriptOldSogdian
  - | UnicodeScriptSogdian
  - | UnicodeScriptElymaic
  - | UnicodeScriptNandinagari
  - | UnicodeScriptNyiakengPuachueHmong
  - | UnicodeScriptWancho
  - | UnicodeScriptChorasmian
  - | UnicodeScriptDivesAkuru
  - | UnicodeScriptKhitanSmallScript
  - | UnicodeScriptYezidi
  - | UnicodeScriptCyproMinoan
  - | UnicodeScriptOldUyghur
  - | UnicodeScriptTangsa
  - | UnicodeScriptToto
  - | UnicodeScriptVithkuqi
  - | UnicodeScriptMath
  - | UnicodeScriptKawi
  - | UnicodeScriptNagMundari
  - | AnotherUnicodeScript Int
- data UnicodeType
  - = UnicodeTypeControl
  - | UnicodeTypeFormat
  - | UnicodeTypeUnassigned
  - | UnicodeTypePrivateUse
  - | UnicodeTypeSurrogate
  - | UnicodeTypeLowercaseLetter
  - | UnicodeTypeModifierLetter
  - | UnicodeTypeOtherLetter
  - | UnicodeTypeTitlecaseLetter
  - | UnicodeTypeUppercaseLetter
  - | UnicodeTypeSpacingMark
  - | UnicodeTypeEnclosingMark
  - | UnicodeTypeNonSpacingMark
  - | UnicodeTypeDecimalNumber
  - | UnicodeTypeLetterNumber
  - | UnicodeTypeOtherNumber
  - | UnicodeTypeConnectPunctuation
  - | UnicodeTypeDashPunctuation
  - | UnicodeTypeClosePunctuation
  - | UnicodeTypeFinalPunctuation
  - | UnicodeTypeInitialPunctuation
  - | UnicodeTypeOtherPunctuation
  - | UnicodeTypeOpenPunctuation
  - | UnicodeTypeCurrencySymbol
  - | UnicodeTypeModifierSymbol
  - | UnicodeTypeMathSymbol
  - | UnicodeTypeOtherSymbol
  - | UnicodeTypeLineSeparator
  - | UnicodeTypeParagraphSeparator
  - | UnicodeTypeSpaceSeparator
  - | AnotherUnicodeType Int
- data UnixPipeEnd
  - = UnixPipeEndRead
  - | UnixPipeEndWrite
  - | AnotherUnixPipeEnd Int
- data UriError
  - = UriErrorFailed
  - | UriErrorBadScheme
  - | UriErrorBadUser
  - | UriErrorBadPassword
  - | UriErrorBadAuthParams
  - | UriErrorBadHost
  - | UriErrorBadPort
  - | UriErrorBadPath
  - | UriErrorBadQuery
  - | UriErrorBadFragment
  - | AnotherUriError Int
- catchUriError :: IO a -> (UriError -> GErrorMessage -> IO a) -> IO a
- handleUriError :: (UriError -> GErrorMessage -> IO a) -> IO a -> IO a
- data UserDirectory
  - = UserDirectoryDirectoryDesktop
  - | UserDirectoryDirectoryDocuments
  - | UserDirectoryDirectoryDownload
  - | UserDirectoryDirectoryMusic
  - | UserDirectoryDirectoryPictures
  - | UserDirectoryDirectoryPublicShare
  - | UserDirectoryDirectoryTemplates
  - | UserDirectoryDirectoryVideos
  - | UserDirectoryNDirectories
  - | AnotherUserDirectory Int
- data VariantClass
  - = VariantClassBoolean
  - | VariantClassByte
  - | VariantClassInt16
  - | VariantClassUint16
  - | VariantClassInt32
  - | VariantClassUint32
  - | VariantClassInt64
  - | VariantClassUint64
  - | VariantClassHandle
  - | VariantClassDouble
  - | VariantClassString
  - | VariantClassObjectPath
  - | VariantClassSignature
  - | VariantClassVariant
  - | VariantClassMaybe
  - | VariantClassArray
  - | VariantClassTuple
  - | VariantClassDictEntry
  - | AnotherVariantClass Int
- data VariantParseError
  - = VariantParseErrorFailed
  - | VariantParseErrorBasicTypeExpected
  - | VariantParseErrorCannotInferType
  - | VariantParseErrorDefiniteTypeExpected
  - | VariantParseErrorInputNotAtEnd
  - | VariantParseErrorInvalidCharacter
  - | VariantParseErrorInvalidFormatString
  - | VariantParseErrorInvalidObjectPath
  - | VariantParseErrorInvalidSignature
  - | VariantParseErrorInvalidTypeString
  - | VariantParseErrorNoCommonType
  - | VariantParseErrorNumberOutOfRange
  - | VariantParseErrorNumberTooBig
  - | VariantParseErrorTypeError
  - | VariantParseErrorUnexpectedToken
  - | VariantParseErrorUnknownKeyword
  - | VariantParseErrorUnterminatedStringConstant
  - | VariantParseErrorValueExpected
  - | VariantParseErrorRecursion
  - | AnotherVariantParseError Int
- catchVariantParseError :: IO a -> (VariantParseError -> GErrorMessage -> IO a) -> IO a
- handleVariantParseError :: (VariantParseError -> GErrorMessage -> IO a) -> IO a -> IO a

# Enumerations

## BookmarkFileError

data BookmarkFileError Source #

Error codes returned by bookmark file parsing.

Constructors

BookmarkFileErrorInvalidUri | URI was ill-formed
BookmarkFileErrorInvalidValue | a requested field was not found
BookmarkFileErrorAppNotRegistered | a requested application did not register a bookmark
BookmarkFileErrorUriNotFound | a requested URI was not found
BookmarkFileErrorRead | document was ill formed
BookmarkFileErrorUnknownEncoding | the text being parsed was in an unknown encoding
BookmarkFileErrorWrite | an error occurred while writing
BookmarkFileErrorFileNotFound | requested file was not found
AnotherBookmarkFileError Int | Catch-all for unknown values

#### Instances

Instances details

Enum BookmarkFileError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: BookmarkFileError -> BookmarkFileError Source #

pred :: BookmarkFileError -> BookmarkFileError Source #

toEnum :: Int -> BookmarkFileError Source #

fromEnum :: BookmarkFileError -> Int Source #

enumFrom :: BookmarkFileError -> [BookmarkFileError] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: BookmarkFileError -> BookmarkFileError -> Ordering Source #

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

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

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

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

max :: BookmarkFileError -> BookmarkFileError -> BookmarkFileError Source #

min :: BookmarkFileError -> BookmarkFileError -> BookmarkFileError Source #

GErrorClass BookmarkFileError Source # |
Instance details Defined in GI.GLib.Enums Methods gerrorClassDomain :: BookmarkFileError -> Text Source #

catchBookmarkFileError :: IO a -> (BookmarkFileError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `BookmarkFileError`. This is a specialized version of `catchGErrorJustDomain`.

handleBookmarkFileError :: (BookmarkFileError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `BookmarkFileError`. This is a specialized version of `handleGErrorJustDomain`.

## ChecksumType

data ChecksumType Source #

The hashing algorithm to be used by `Checksum` when performing the digest of some data.

Note that the `ChecksumType` enumeration may be extended at a later date to include new hashing algorithm types.

Since: 2.16

Constructors

ChecksumTypeMd5 | Use the MD5 hashing algorithm
ChecksumTypeSha1 | Use the SHA-1 hashing algorithm
ChecksumTypeSha256 | Use the SHA-256 hashing algorithm
ChecksumTypeSha512 | Use the SHA-512 hashing algorithm (Since: 2.36)
ChecksumTypeSha384 | Use the SHA-384 hashing algorithm (Since: 2.51)
AnotherChecksumType Int | Catch-all for unknown values

#### Instances

Instances details

Enum ChecksumType Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: ChecksumType -> ChecksumType Source #

pred :: ChecksumType -> ChecksumType Source #

toEnum :: Int -> ChecksumType Source #

fromEnum :: ChecksumType -> Int Source #

enumFrom :: ChecksumType -> [ChecksumType] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: ChecksumType -> ChecksumType -> Ordering Source #

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

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

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

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

max :: ChecksumType -> ChecksumType -> ChecksumType Source #

min :: ChecksumType -> ChecksumType -> ChecksumType Source #

## ConvertError

data ConvertError Source #

Error codes returned by character set conversion routines.

Constructors

ConvertErrorNoConversion | Conversion between the requested character sets is not supported.
ConvertErrorIllegalSequence | Invalid byte sequence in conversion input; or the character sequence could not be represented in the target character set.
ConvertErrorFailed | Conversion failed for some reason.
ConvertErrorPartialInput | Partial character sequence at end of input.
ConvertErrorBadUri | URI is invalid.
ConvertErrorNotAbsolutePath | Pathname is not an absolute path.
ConvertErrorNoMemory | No memory available. Since: 2.40
ConvertErrorEmbeddedNul | An embedded NUL character is present in conversion output where a NUL-terminated string is expected. Since: 2.56
AnotherConvertError Int | Catch-all for unknown values

#### Instances

Instances details

Enum ConvertError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: ConvertError -> ConvertError Source #

pred :: ConvertError -> ConvertError Source #

toEnum :: Int -> ConvertError Source #

fromEnum :: ConvertError -> Int Source #

enumFrom :: ConvertError -> [ConvertError] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: ConvertError -> ConvertError -> Ordering Source #

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

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

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

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

max :: ConvertError -> ConvertError -> ConvertError Source #

min :: ConvertError -> ConvertError -> ConvertError Source #

GErrorClass ConvertError Source # |
Instance details Defined in GI.GLib.Enums Methods gerrorClassDomain :: ConvertError -> Text Source #

catchConvertError :: IO a -> (ConvertError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `ConvertError`. This is a specialized version of `catchGErrorJustDomain`.

handleConvertError :: (ConvertError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `ConvertError`. This is a specialized version of `handleGErrorJustDomain`.

## DateDMY

data DateDMY Source #

This enumeration isn't used in the API, but may be useful if you need to mark a number as a day, month, or year.

Constructors

DateDMYDay | a day
DateDMYMonth | a month
DateDMYYear | a year
AnotherDateDMY Int | Catch-all for unknown values

#### Instances

Instances details

Enum DateDMY Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: DateDMY -> DateDMY Source #

pred :: DateDMY -> DateDMY Source #

toEnum :: Int -> DateDMY Source #

fromEnum :: DateDMY -> Int Source #

enumFrom :: DateDMY -> [DateDMY] Source #

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

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

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

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

## DateMonth

data DateMonth Source #

Enumeration representing a month; values are `DateMonthJanuary`, `DateMonthFebruary`, etc. `DateMonthBadMonth` is the invalid value.

Constructors

DateMonthBadMonth | invalid value
DateMonthJanuary | January
DateMonthFebruary | February
DateMonthMarch | March
DateMonthApril | April
DateMonthMay | May
DateMonthJune | June
DateMonthJuly | July
DateMonthAugust | August
DateMonthSeptember | September
DateMonthOctober | October
DateMonthNovember | November
DateMonthDecember | December
AnotherDateMonth Int | Catch-all for unknown values

#### Instances

Instances details

Enum DateMonth Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: DateMonth -> DateMonth Source #

pred :: DateMonth -> DateMonth Source #

toEnum :: Int -> DateMonth Source #

fromEnum :: DateMonth -> Int Source #

enumFrom :: DateMonth -> [DateMonth] Source #

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

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

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

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

## DateWeekday

data DateWeekday Source #

Enumeration representing a day of the week; `DateWeekdayMonday`, `DateWeekdayTuesday`, etc. `DateWeekdayBadWeekday` is an invalid weekday.

Constructors

DateWeekdayBadWeekday | invalid value
DateWeekdayMonday | Monday
DateWeekdayTuesday | Tuesday
DateWeekdayWednesday | Wednesday
DateWeekdayThursday | Thursday
DateWeekdayFriday | Friday
DateWeekdaySaturday | Saturday
DateWeekdaySunday | Sunday
AnotherDateWeekday Int | Catch-all for unknown values

#### Instances

Instances details

Enum DateWeekday Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: DateWeekday -> DateWeekday Source #

pred :: DateWeekday -> DateWeekday Source #

toEnum :: Int -> DateWeekday Source #

fromEnum :: DateWeekday -> Int Source #

enumFrom :: DateWeekday -> [DateWeekday] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: DateWeekday -> DateWeekday -> Ordering Source #

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

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

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

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

max :: DateWeekday -> DateWeekday -> DateWeekday Source #

min :: DateWeekday -> DateWeekday -> DateWeekday Source #

## ErrorType

data ErrorType Source #

The possible errors, used in the `vError` field of `TokenValue`, when the token is a `TokenTypeError`.

Constructors

ErrorTypeUnknown | unknown error
ErrorTypeUnexpEof | unexpected end of file
ErrorTypeUnexpEofInString | unterminated string constant
ErrorTypeUnexpEofInComment | unterminated comment
ErrorTypeNonDigitInConst | non-digit character in a number
ErrorTypeDigitRadix | digit beyond radix in a number
ErrorTypeFloatRadix | non-decimal floating point number
ErrorTypeFloatMalformed | malformed floating point number
AnotherErrorType Int | Catch-all for unknown values

#### Instances

Instances details

Enum ErrorType Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: ErrorType -> ErrorType Source #

pred :: ErrorType -> ErrorType Source #

toEnum :: Int -> ErrorType Source #

fromEnum :: ErrorType -> Int Source #

enumFrom :: ErrorType -> [ErrorType] Source #

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

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

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

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

## FileError

data FileError Source #

Values corresponding to `errno` codes returned from file operations on UNIX. Unlike `errno` codes, GFileError values are available on all systems, even Windows. The exact meaning of each code depends on what sort of file operation you were performing; the UNIX documentation gives more details. The following error code descriptions come from the GNU C Library manual, and are under the copyright of that manual.

It's not very portable to make detailed assumptions about exactly which errors will be returned from a given operation. Some errors don't occur on some systems, etc., sometimes there are subtle differences in when a system will report a given error, etc.

Constructors

FileErrorExist | Operation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation.
FileErrorIsdir | File is a directory; you cannot open a directory for writing, or create or remove hard links to it.
FileErrorAcces | Permission denied; the file permissions do not allow the attempted operation.
FileErrorNametoolong | Filename too long.
FileErrorNoent | No such file or directory. This is a "file doesn't exist" error for ordinary files that are referenced in contexts where they are expected to already exist.
FileErrorNotdir | A file that isn't a directory was specified when a directory is required.
FileErrorNxio | No such device or address. The system tried to use the device represented by a file you specified, and it couldn't find the device. This can mean that the device file was installed incorrectly, or that the physical device is missing or not correctly attached to the computer.
FileErrorNodev | The underlying file system of the specified file does not support memory mapping.
FileErrorRofs | The directory containing the new link can't be modified because it's on a read-only file system.
FileErrorTxtbsy | Text file busy.
FileErrorFault | You passed in a pointer to bad memory. (GLib won't reliably return this, don't pass in pointers to bad memory.)
FileErrorLoop | Too many levels of symbolic links were encountered in looking up a file name. This often indicates a cycle of symbolic links.
FileErrorNospc | No space left on device; write operation on a file failed because the disk is full.
FileErrorNomem | No memory available. The system cannot allocate more virtual memory because its capacity is full.
FileErrorMfile | The current process has too many files open and can't open any more. Duplicate descriptors do count toward this limit.
FileErrorNfile | There are too many distinct file openings in the entire system.
FileErrorBadf | Bad file descriptor; for example, I/O on a descriptor that has been closed or reading from a descriptor open only for writing (or vice versa).
FileErrorInval | Invalid argument. This is used to indicate various kinds of problems with passing the wrong argument to a library function.
FileErrorPipe | Broken pipe; there is no process reading from the other end of a pipe. Every library function that returns this error code also generates a 'SIGPIPE' signal; this signal terminates the program if not handled or blocked. Thus, your program will never actually see this code unless it has handled or blocked 'SIGPIPE'.
FileErrorAgain | Resource temporarily unavailable; the call might work if you try again later.
FileErrorIntr | Interrupted function call; an asynchronous signal occurred and prevented completion of the call. When this happens, you should try the call again.
FileErrorIo | Input/output error; usually used for physical read or write errors. i.e. the disk or other physical device hardware is returning errors.
FileErrorPerm | Operation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation.
FileErrorNosys | Function not implemented; this indicates that the system is missing some functionality.
FileErrorFailed | Does not correspond to a UNIX error code; this is the standard "failed for unspecified reason" error code present in all `GError` error code enumerations. Returned if no specific code applies.
AnotherFileError Int | Catch-all for unknown values

#### Instances

Instances details

Enum FileError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: FileError -> FileError Source #

pred :: FileError -> FileError Source #

toEnum :: Int -> FileError Source #

fromEnum :: FileError -> Int Source #

enumFrom :: FileError -> [FileError] Source #

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

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

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

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

catchFileError :: IO a -> (FileError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `FileError`. This is a specialized version of `catchGErrorJustDomain`.

handleFileError :: (FileError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `FileError`. This is a specialized version of `handleGErrorJustDomain`.

## IOChannelError

data IOChannelError Source #

Error codes returned by `IOChannel` operations.

Constructors

IOChannelErrorFbig | File too large.
IOChannelErrorInval | Invalid argument.
IOChannelErrorIo | IO error.
IOChannelErrorIsdir | File is a directory.
IOChannelErrorNospc | No space left on device.
IOChannelErrorNxio | No such device or address.
IOChannelErrorOverflow | Value too large for defined datatype.
IOChannelErrorPipe | Broken pipe.
IOChannelErrorFailed | Some other error.
AnotherIOChannelError Int | Catch-all for unknown values

#### Instances

Instances details

Enum IOChannelError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: IOChannelError -> IOChannelError Source #

pred :: IOChannelError -> IOChannelError Source #

toEnum :: Int -> IOChannelError Source #

fromEnum :: IOChannelError -> Int Source #

enumFrom :: IOChannelError -> [IOChannelError] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: IOChannelError -> IOChannelError -> Ordering Source #

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

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

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

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

max :: IOChannelError -> IOChannelError -> IOChannelError Source #

min :: IOChannelError -> IOChannelError -> IOChannelError Source #

GErrorClass IOChannelError Source # |
Instance details Defined in GI.GLib.Enums Methods gerrorClassDomain :: IOChannelError -> Text Source #

catchIOChannelError :: IO a -> (IOChannelError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `IOChannelError`. This is a specialized version of `catchGErrorJustDomain`.

handleIOChannelError :: (IOChannelError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `IOChannelError`. This is a specialized version of `handleGErrorJustDomain`.

## IOError

data IOError Source #

`IOError` is only used by the deprecated functions `iOChannelRead`, `iOChannelWrite`, and `iOChannelSeek`.

Constructors

IOErrorNone | no error
IOErrorAgain | an EAGAIN error occurred
IOErrorInval | an EINVAL error occurred
IOErrorUnknown | another error occurred
AnotherIOError Int | Catch-all for unknown values

#### Instances

Instances details

Enum IOError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: IOError -> IOError Source #

pred :: IOError -> IOError Source #

toEnum :: Int -> IOError Source #

fromEnum :: IOError -> Int Source #

enumFrom :: IOError -> [IOError] Source #

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

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

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

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

## IOStatus

data IOStatus Source #

Statuses returned by most of the `IOFuncs` functions.

Constructors

IOStatusError | An error occurred.
IOStatusNormal | Success.
IOStatusEof | End of file.
IOStatusAgain | Resource temporarily unavailable.
AnotherIOStatus Int | Catch-all for unknown values

#### Instances

Instances details

Enum IOStatus Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: IOStatus -> IOStatus Source #

pred :: IOStatus -> IOStatus Source #

toEnum :: Int -> IOStatus Source #

fromEnum :: IOStatus -> Int Source #

enumFrom :: IOStatus -> [IOStatus] Source #

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

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

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

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

## KeyFileError

data KeyFileError Source #

Error codes returned by key file parsing.

Constructors

KeyFileErrorUnknownEncoding | the text being parsed was in an unknown encoding
KeyFileErrorParse | document was ill-formed
KeyFileErrorNotFound | the file was not found
KeyFileErrorKeyNotFound | a requested key was not found
KeyFileErrorGroupNotFound | a requested group was not found
KeyFileErrorInvalidValue | a value could not be parsed
AnotherKeyFileError Int | Catch-all for unknown values

#### Instances

Instances details

Enum KeyFileError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: KeyFileError -> KeyFileError Source #

pred :: KeyFileError -> KeyFileError Source #

toEnum :: Int -> KeyFileError Source #

fromEnum :: KeyFileError -> Int Source #

enumFrom :: KeyFileError -> [KeyFileError] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: KeyFileError -> KeyFileError -> Ordering Source #

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

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

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

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

max :: KeyFileError -> KeyFileError -> KeyFileError Source #

min :: KeyFileError -> KeyFileError -> KeyFileError Source #

GErrorClass KeyFileError Source # |
Instance details Defined in GI.GLib.Enums Methods gerrorClassDomain :: KeyFileError -> Text Source #

catchKeyFileError :: IO a -> (KeyFileError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `KeyFileError`. This is a specialized version of `catchGErrorJustDomain`.

handleKeyFileError :: (KeyFileError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `KeyFileError`. This is a specialized version of `handleGErrorJustDomain`.

## LogWriterOutput

data LogWriterOutput Source #

Return values from `GLogWriterFuncs` to indicate whether the given log entry was successfully handled by the writer, or whether there was an error in handling it (and hence a fallback writer should be used).

If a `LogWriterFunc` ignores a log entry, it should return `LogWriterOutputHandled`.

Since: 2.50

Constructors

LogWriterOutputHandled | Log writer has handled the log entry.
LogWriterOutputUnhandled | Log writer could not handle the log entry.
AnotherLogWriterOutput Int | Catch-all for unknown values

#### Instances

Instances details

Enum LogWriterOutput Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: LogWriterOutput -> LogWriterOutput Source #

pred :: LogWriterOutput -> LogWriterOutput Source #

toEnum :: Int -> LogWriterOutput Source #

fromEnum :: LogWriterOutput -> Int Source #

enumFrom :: LogWriterOutput -> [LogWriterOutput] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: LogWriterOutput -> LogWriterOutput -> Ordering Source #

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

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

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

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

max :: LogWriterOutput -> LogWriterOutput -> LogWriterOutput Source #

min :: LogWriterOutput -> LogWriterOutput -> LogWriterOutput Source #

## MarkupError

data MarkupError Source #

Error codes returned by markup parsing.

Constructors

MarkupErrorBadUtf8 | text being parsed was not valid UTF-8
MarkupErrorEmpty | document contained nothing, or only whitespace
MarkupErrorParse | document was ill-formed
MarkupErrorUnknownElement | error should be set by `MarkupParser` functions; element wasn't known
MarkupErrorUnknownAttribute | error should be set by `MarkupParser` functions; attribute wasn't known
MarkupErrorInvalidContent | error should be set by `MarkupParser` functions; content was invalid
MarkupErrorMissingAttribute | error should be set by `MarkupParser` functions; a required attribute was missing
AnotherMarkupError Int | Catch-all for unknown values

#### Instances

Instances details

Enum MarkupError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: MarkupError -> MarkupError Source #

pred :: MarkupError -> MarkupError Source #

toEnum :: Int -> MarkupError Source #

fromEnum :: MarkupError -> Int Source #

enumFrom :: MarkupError -> [MarkupError] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: MarkupError -> MarkupError -> Ordering Source #

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

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

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

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

max :: MarkupError -> MarkupError -> MarkupError Source #

min :: MarkupError -> MarkupError -> MarkupError Source #

GErrorClass MarkupError Source # |
Instance details Defined in GI.GLib.Enums Methods gerrorClassDomain :: MarkupError -> Text Source #

catchMarkupError :: IO a -> (MarkupError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `MarkupError`. This is a specialized version of `catchGErrorJustDomain`.

handleMarkupError :: (MarkupError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `MarkupError`. This is a specialized version of `handleGErrorJustDomain`.

## NormalizeMode

data NormalizeMode Source #

Defines how a Unicode string is transformed in a canonical form, standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character. Unicode strings should generally be normalized before comparing them.

Constructors

NormalizeModeDefault | standardize differences that do not affect the text content, such as the above-mentioned accent representation
NormalizeModeNfd | another name for `NormalizeModeDefault`
NormalizeModeDefaultCompose | like `NormalizeModeDefault`, but with composed forms rather than a maximally decomposed form
NormalizeModeNfc | another name for `NormalizeModeDefaultCompose`
NormalizeModeAll | beyond `NormalizeModeDefault` also standardize the "compatibility" characters in Unicode, such as SUPERSCRIPT THREE to the standard forms (in this case DIGIT THREE). Formatting information may be lost but for most text operations such characters should be considered the same
NormalizeModeNfkd | another name for `NormalizeModeAll`
NormalizeModeAllCompose | like `NormalizeModeAll`, but with composed forms rather than a maximally decomposed form
NormalizeModeNfkc | another name for `NormalizeModeAllCompose`
AnotherNormalizeMode Int | Catch-all for unknown values

#### Instances

Instances details

Enum NormalizeMode Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: NormalizeMode -> NormalizeMode Source #

pred :: NormalizeMode -> NormalizeMode Source #

toEnum :: Int -> NormalizeMode Source #

fromEnum :: NormalizeMode -> Int Source #

enumFrom :: NormalizeMode -> [NormalizeMode] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: NormalizeMode -> NormalizeMode -> Ordering Source #

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

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

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

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

max :: NormalizeMode -> NormalizeMode -> NormalizeMode Source #

min :: NormalizeMode -> NormalizeMode -> NormalizeMode Source #

BoxedEnum NormalizeMode Source # |
Instance details Defined in GI.GLib.Enums
TypedObject NormalizeMode Source # |
Instance details Defined in GI.GLib.Enums Methods glibType :: IO GType Source #
HasParentTypes NormalizeMode Source # |
Instance details Defined in GI.GLib.Enums
type ParentTypes NormalizeMode Source # |
Instance details Defined in GI.GLib.Enums type ParentTypes NormalizeMode = '[] :: [Type]

## NumberParserError

data NumberParserError Source #

Error codes returned by functions converting a string to a number.

Since: 2.54

Constructors

NumberParserErrorInvalid | string was not a valid number
NumberParserErrorOutOfBounds | string was a number, but out of bounds
AnotherNumberParserError Int | Catch-all for unknown values

#### Instances

Instances details

Enum NumberParserError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: NumberParserError -> NumberParserError Source #

pred :: NumberParserError -> NumberParserError Source #

toEnum :: Int -> NumberParserError Source #

fromEnum :: NumberParserError -> Int Source #

enumFrom :: NumberParserError -> [NumberParserError] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: NumberParserError -> NumberParserError -> Ordering Source #

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

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

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

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

max :: NumberParserError -> NumberParserError -> NumberParserError Source #

min :: NumberParserError -> NumberParserError -> NumberParserError Source #

GErrorClass NumberParserError Source # |
Instance details Defined in GI.GLib.Enums Methods gerrorClassDomain :: NumberParserError -> Text Source #

catchNumberParserError :: IO a -> (NumberParserError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `NumberParserError`. This is a specialized version of `catchGErrorJustDomain`.

handleNumberParserError :: (NumberParserError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `NumberParserError`. This is a specialized version of `handleGErrorJustDomain`.

## OnceStatus

data OnceStatus Source #

The possible statuses of a one-time initialization function controlled by a `Once` struct.

Since: 2.4

Constructors

OnceStatusNotcalled | the function has not been called yet.
OnceStatusProgress | the function call is currently in progress.
OnceStatusReady | the function has been called.
AnotherOnceStatus Int | Catch-all for unknown values

#### Instances

Instances details

Enum OnceStatus Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: OnceStatus -> OnceStatus Source #

pred :: OnceStatus -> OnceStatus Source #

toEnum :: Int -> OnceStatus Source #

fromEnum :: OnceStatus -> Int Source #

enumFrom :: OnceStatus -> [OnceStatus] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: OnceStatus -> OnceStatus -> Ordering Source #

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

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

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

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

max :: OnceStatus -> OnceStatus -> OnceStatus Source #

min :: OnceStatus -> OnceStatus -> OnceStatus Source #

## OptionArg

data OptionArg Source #

The `OptionArg` enum values determine which type of extra argument the options expect to find. If an option expects an extra argument, it can be specified in several ways; with a short option: `-x arg`, with a long option: `--name arg` or combined in a single argument: `--name=arg`.

Constructors

OptionArgNone | No extra argument. This is useful for simple flags or booleans.
OptionArgString | The option takes a UTF-8 string argument.
OptionArgInt | The option takes an integer argument.
OptionArgCallback | The option provides a callback (of type `OptionArgFunc`) to parse the extra argument.
OptionArgFilename | The option takes a filename as argument, which will be in the GLib filename encoding rather than UTF-8.
OptionArgStringArray | The option takes a string argument, multiple uses of the option are collected into an array of strings.
OptionArgFilenameArray | The option takes a filename as argument, multiple uses of the option are collected into an array of strings.
OptionArgDouble | The option takes a double argument. The argument can be formatted either for the user's locale or for the "C" locale. Since 2.12
OptionArgInt64 | The option takes a 64-bit integer. Like `OptionArgInt` but for larger numbers. The number can be in decimal base, or in hexadecimal (when prefixed with `0x`, for example, `0xffffffff`). Since 2.12
AnotherOptionArg Int | Catch-all for unknown values

#### Instances

Instances details

Enum OptionArg Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: OptionArg -> OptionArg Source #

pred :: OptionArg -> OptionArg Source #

toEnum :: Int -> OptionArg Source #

fromEnum :: OptionArg -> Int Source #

enumFrom :: OptionArg -> [OptionArg] Source #

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

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

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

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

## OptionError

data OptionError Source #

Error codes returned by option parsing.

Constructors

OptionErrorUnknownOption | An option was not known to the parser. This error will only be reported, if the parser hasn't been instructed to ignore unknown options, see `optionContextSetIgnoreUnknownOptions`.
OptionErrorBadValue | A value couldn't be parsed.
OptionErrorFailed | A `OptionArgFunc` callback failed.
AnotherOptionError Int | Catch-all for unknown values

#### Instances

Instances details

Enum OptionError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: OptionError -> OptionError Source #

pred :: OptionError -> OptionError Source #

toEnum :: Int -> OptionError Source #

fromEnum :: OptionError -> Int Source #

enumFrom :: OptionError -> [OptionError] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: OptionError -> OptionError -> Ordering Source #

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

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

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

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

max :: OptionError -> OptionError -> OptionError Source #

min :: OptionError -> OptionError -> OptionError Source #

GErrorClass OptionError Source # |
Instance details Defined in GI.GLib.Enums Methods gerrorClassDomain :: OptionError -> Text Source #

catchOptionError :: IO a -> (OptionError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `OptionError`. This is a specialized version of `catchGErrorJustDomain`.

handleOptionError :: (OptionError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `OptionError`. This is a specialized version of `handleGErrorJustDomain`.

## RegexError

data RegexError Source #

Error codes returned by regular expressions functions.

Since: 2.14

Constructors

RegexErrorCompile | Compilation of the regular expression failed.
RegexErrorOptimize | Optimization of the regular expression failed.
RegexErrorReplace | Replacement failed due to an ill-formed replacement string.
RegexErrorMatch | The match process failed.
RegexErrorInternal | Internal error of the regular expression engine. Since 2.16
RegexErrorStrayBackslash | "\" at end of pattern. Since 2.16
RegexErrorMissingControlChar | "\c" at end of pattern. Since 2.16
RegexErrorUnrecognizedEscape | Unrecognized character follows "\". Since 2.16
RegexErrorQuantifiersOutOfOrder | Numbers out of order in "{}" quantifier. Since 2.16
RegexErrorQuantifierTooBig | Number too big in "{}" quantifier. Since 2.16
RegexErrorUnterminatedCharacterClass | Missing terminating "]" for character class. Since 2.16
RegexErrorInvalidEscapeInCharacterClass | Invalid escape sequence in character class. Since 2.16
RegexErrorRangeOutOfOrder | Range out of order in character class. Since 2.16
RegexErrorNothingToRepeat | Nothing to repeat. Since 2.16
RegexErrorUnrecognizedCharacter | Unrecognized character after "(?", "(?<" or "(?P". Since 2.16
RegexErrorPosixNamedClassOutsideClass | POSIX named classes are supported only within a class. Since 2.16
RegexErrorUnmatchedParenthesis | Missing terminating ")" or ")" without opening "(". Since 2.16
RegexErrorInexistentSubpatternReference | Reference to non-existent subpattern. Since 2.16
RegexErrorUnterminatedComment | Missing terminating ")" after comment. Since 2.16
RegexErrorExpressionTooLarge | Regular expression too large. Since 2.16
RegexErrorMemoryError | Failed to get memory. Since 2.16
RegexErrorVariableLengthLookbehind | Lookbehind assertion is not fixed length. Since 2.16
RegexErrorMalformedCondition | Malformed number or name after "(?(". Since 2.16
RegexErrorTooManyConditionalBranches | Conditional group contains more than two branches. Since 2.16
RegexErrorAssertionExpected | Assertion expected after "(?(". Since 2.16
RegexErrorUnknownPosixClassName | Unknown POSIX class name. Since 2.16
RegexErrorPosixCollatingElementsNotSupported | POSIX collating elements are not supported. Since 2.16
RegexErrorHexCodeTooLarge | Character value in "\x{...}" sequence is too large. Since 2.16
RegexErrorInvalidCondition | Invalid condition "(?(0)". Since 2.16
RegexErrorSingleByteMatchInLookbehind | \C not allowed in lookbehind assertion. Since 2.16
RegexErrorInfiniteLoop | Recursive call could loop indefinitely. Since 2.16
RegexErrorMissingSubpatternNameTerminator | Missing terminator in subpattern name. Since 2.16
RegexErrorDuplicateSubpatternName | Two named subpatterns have the same name. Since 2.16
RegexErrorMalformedProperty | Malformed "\P" or "\p" sequence. Since 2.16
RegexErrorUnknownProperty | Unknown property name after "\P" or "\p". Since 2.16
RegexErrorSubpatternNameTooLong | Subpattern name is too long (maximum 32 characters). Since 2.16
RegexErrorTooManySubpatterns | Too many named subpatterns (maximum 10,000). Since 2.16
RegexErrorInvalidOctalValue | Octal value is greater than "\377". Since 2.16
RegexErrorTooManyBranchesInDefine | "DEFINE" group contains more than one branch. Since 2.16
RegexErrorDefineRepetion | Repeating a "DEFINE" group is not allowed. This error is never raised. Since: 2.16 Deprecated: 2.34
RegexErrorInconsistentNewlineOptions | Inconsistent newline options. Since 2.16
RegexErrorMissingBackReference | "\g" is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number. Since: 2.16
RegexErrorInvalidRelativeReference | relative reference must not be zero. Since: 2.34
RegexErrorBacktrackingControlVerbArgumentForbidden | the backtracing control verb used does not allow an argument. Since: 2.34
RegexErrorUnknownBacktrackingControlVerb | unknown backtracing control verb. Since: 2.34
RegexErrorNumberTooBig | number is too big in escape sequence. Since: 2.34
RegexErrorMissingSubpatternName | Missing subpattern name. Since: 2.34
RegexErrorMissingDigit | Missing digit. Since 2.34
RegexErrorInvalidDataCharacter | In JavaScript compatibility mode, "[" is an invalid data character. Since: 2.34
RegexErrorExtraSubpatternName | different names for subpatterns of the same number are not allowed. Since: 2.34
RegexErrorBacktrackingControlVerbArgumentRequired | the backtracing control verb requires an argument. Since: 2.34
RegexErrorInvalidControlChar | "\c" must be followed by an ASCII character. Since: 2.34
RegexErrorMissingName | "\k" is not followed by a braced, angle-bracketed, or quoted name. Since: 2.34
RegexErrorNotSupportedInClass | "\N" is not supported in a class. Since: 2.34
RegexErrorTooManyForwardReferences | too many forward references. Since: 2.34
RegexErrorNameTooLong | the name is too long in "(*MARK)", "(*PRUNE)", "(*SKIP)", or "(*THEN)". Since: 2.34
RegexErrorCharacterValueTooLarge | the character value in the \u sequence is too large. Since: 2.34
AnotherRegexError Int | Catch-all for unknown values

#### Instances

Instances details

Enum RegexError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: RegexError -> RegexError Source #

pred :: RegexError -> RegexError Source #

toEnum :: Int -> RegexError Source #

fromEnum :: RegexError -> Int Source #

enumFrom :: RegexError -> [RegexError] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: RegexError -> RegexError -> Ordering Source #

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

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

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

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

max :: RegexError -> RegexError -> RegexError Source #

min :: RegexError -> RegexError -> RegexError Source #

GErrorClass RegexError Source # |
Instance details Defined in GI.GLib.Enums Methods gerrorClassDomain :: RegexError -> Text Source #

catchRegexError :: IO a -> (RegexError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `RegexError`. This is a specialized version of `catchGErrorJustDomain`.

handleRegexError :: (RegexError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `RegexError`. This is a specialized version of `handleGErrorJustDomain`.

## SeekType

data SeekType Source #

An enumeration specifying the base position for a `iOChannelSeekPosition` operation.

Constructors

SeekTypeCur | the current position in the file.
SeekTypeSet | the start of the file.
SeekTypeEnd | the end of the file.
AnotherSeekType Int | Catch-all for unknown values

#### Instances

Instances details

Enum SeekType Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: SeekType -> SeekType Source #

pred :: SeekType -> SeekType Source #

toEnum :: Int -> SeekType Source #

fromEnum :: SeekType -> Int Source #

enumFrom :: SeekType -> [SeekType] Source #

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

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

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

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

## ShellError

data ShellError Source #

Error codes returned by shell functions.

Constructors

ShellErrorBadQuoting | Mismatched or otherwise mangled quoting.
ShellErrorEmptyString | String to be parsed was empty.
ShellErrorFailed | Some other error.
AnotherShellError Int | Catch-all for unknown values

#### Instances

Instances details

Enum ShellError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: ShellError -> ShellError Source #

pred :: ShellError -> ShellError Source #

toEnum :: Int -> ShellError Source #

fromEnum :: ShellError -> Int Source #

enumFrom :: ShellError -> [ShellError] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: ShellError -> ShellError -> Ordering Source #

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

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

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

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

max :: ShellError -> ShellError -> ShellError Source #

min :: ShellError -> ShellError -> ShellError Source #

GErrorClass ShellError Source # |
Instance details Defined in GI.GLib.Enums Methods gerrorClassDomain :: ShellError -> Text Source #

catchShellError :: IO a -> (ShellError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `ShellError`. This is a specialized version of `catchGErrorJustDomain`.

handleShellError :: (ShellError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `ShellError`. This is a specialized version of `handleGErrorJustDomain`.

## SliceConfig

data SliceConfig Source #

No description available in the introspection data.

Constructors

SliceConfigAlwaysMalloc | No description available in the introspection data.
SliceConfigBypassMagazines | No description available in the introspection data.
SliceConfigWorkingSetMsecs | No description available in the introspection data.
SliceConfigColorIncrement | No description available in the introspection data.
SliceConfigChunkSizes | No description available in the introspection data.
SliceConfigContentionCounter | No description available in the introspection data.
AnotherSliceConfig Int | Catch-all for unknown values

#### Instances

Instances details

Enum SliceConfig Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: SliceConfig -> SliceConfig Source #

pred :: SliceConfig -> SliceConfig Source #

toEnum :: Int -> SliceConfig Source #

fromEnum :: SliceConfig -> Int Source #

enumFrom :: SliceConfig -> [SliceConfig] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: SliceConfig -> SliceConfig -> Ordering Source #

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

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

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

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

max :: SliceConfig -> SliceConfig -> SliceConfig Source #

min :: SliceConfig -> SliceConfig -> SliceConfig Source #

## SpawnError

data SpawnError Source #

Error codes returned by spawning processes.

Constructors

SpawnErrorFork | Fork failed due to lack of memory.
SpawnErrorRead | Read or select on pipes failed.
SpawnErrorChdir | Changing to working directory failed.
SpawnErrorAcces | `execv()` returned `EACCES`
SpawnErrorPerm | `execv()` returned `EPERM`
SpawnErrorTooBig | `execv()` returned `E2BIG`
SpawnError2big | deprecated alias for `SpawnErrorTooBig` (deprecated since GLib 2.32)
SpawnErrorNoexec | `execv()` returned `ENOEXEC`
SpawnErrorNametoolong | `execv()` returned `ENAMETOOLONG`
SpawnErrorNoent | `execv()` returned `ENOENT`
SpawnErrorNomem | `execv()` returned `ENOMEM`
SpawnErrorNotdir | `execv()` returned `ENOTDIR`
SpawnErrorLoop | `execv()` returned `ELOOP`
SpawnErrorTxtbusy | `execv()` returned `ETXTBUSY`
SpawnErrorIo | `execv()` returned `EIO`
SpawnErrorNfile | `execv()` returned `ENFILE`
SpawnErrorMfile | `execv()` returned `EMFILE`
SpawnErrorInval | `execv()` returned `EINVAL`
SpawnErrorIsdir | `execv()` returned `EISDIR`
SpawnErrorLibbad | `execv()` returned `ELIBBAD`
SpawnErrorFailed | Some other fatal failure, `error->message` should explain.
AnotherSpawnError Int | Catch-all for unknown values

#### Instances

Instances details

Enum SpawnError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: SpawnError -> SpawnError Source #

pred :: SpawnError -> SpawnError Source #

toEnum :: Int -> SpawnError Source #

fromEnum :: SpawnError -> Int Source #

enumFrom :: SpawnError -> [SpawnError] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: SpawnError -> SpawnError -> Ordering Source #

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

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

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

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

max :: SpawnError -> SpawnError -> SpawnError Source #

min :: SpawnError -> SpawnError -> SpawnError Source #

GErrorClass SpawnError Source # |
Instance details Defined in GI.GLib.Enums Methods gerrorClassDomain :: SpawnError -> Text Source #

catchSpawnError :: IO a -> (SpawnError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `SpawnError`. This is a specialized version of `catchGErrorJustDomain`.

handleSpawnError :: (SpawnError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `SpawnError`. This is a specialized version of `handleGErrorJustDomain`.

## TestFileType

data TestFileType Source #

The type of file to return the filename for, when used with `g_test_build_filename()`.

These two options correspond rather directly to the 'dist' and 'built' terminology that automake uses and are explicitly used to distinguish between the 'srcdir' and 'builddir' being separate. All files in your project should either be dist (in the `EXTRA_DIST` or `dist_schema_DATA` sense, in which case they will always be in the srcdir) or built (in the `BUILT_SOURCES` sense, in which case they will always be in the builddir).

Note: as a general rule of automake, files that are generated only as part of the build-from-git process (but then are distributed with the tarball) always go in srcdir (even if doing a srcdir != builddir build from git) and are considered as distributed files.

Since: 2.38

Constructors

TestFileTypeDist | a file that was included in the distribution tarball
TestFileTypeBuilt | a file that was built on the compiling machine
AnotherTestFileType Int | Catch-all for unknown values

#### Instances

Instances details

Enum TestFileType Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: TestFileType -> TestFileType Source #

pred :: TestFileType -> TestFileType Source #

toEnum :: Int -> TestFileType Source #

fromEnum :: TestFileType -> Int Source #

enumFrom :: TestFileType -> [TestFileType] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: TestFileType -> TestFileType -> Ordering Source #

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

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

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

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

max :: TestFileType -> TestFileType -> TestFileType Source #

min :: TestFileType -> TestFileType -> TestFileType Source #

## TestLogType

data TestLogType Source #

No description available in the introspection data.

Constructors

TestLogTypeNone | No description available in the introspection data.
TestLogTypeError | No description available in the introspection data.
TestLogTypeStartBinary | No description available in the introspection data.
TestLogTypeListCase | No description available in the introspection data.
TestLogTypeSkipCase | No description available in the introspection data.
TestLogTypeStartCase | No description available in the introspection data.
TestLogTypeStopCase | No description available in the introspection data.
TestLogTypeMinResult | No description available in the introspection data.
TestLogTypeMaxResult | No description available in the introspection data.
TestLogTypeMessage | No description available in the introspection data.
TestLogTypeStartSuite | No description available in the introspection data.
TestLogTypeStopSuite | No description available in the introspection data.
AnotherTestLogType Int | Catch-all for unknown values

#### Instances

Instances details

Enum TestLogType Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: TestLogType -> TestLogType Source #

pred :: TestLogType -> TestLogType Source #

toEnum :: Int -> TestLogType Source #

fromEnum :: TestLogType -> Int Source #

enumFrom :: TestLogType -> [TestLogType] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: TestLogType -> TestLogType -> Ordering Source #

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

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

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

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

max :: TestLogType -> TestLogType -> TestLogType Source #

min :: TestLogType -> TestLogType -> TestLogType Source #

## TestResult

data TestResult Source #

No description available in the introspection data.

Constructors

TestResultSuccess | No description available in the introspection data.
TestResultSkipped | No description available in the introspection data.
TestResultFailure | No description available in the introspection data.
TestResultIncomplete | No description available in the introspection data.
AnotherTestResult Int | Catch-all for unknown values

#### Instances

Instances details

Enum TestResult Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: TestResult -> TestResult Source #

pred :: TestResult -> TestResult Source #

toEnum :: Int -> TestResult Source #

fromEnum :: TestResult -> Int Source #

enumFrom :: TestResult -> [TestResult] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: TestResult -> TestResult -> Ordering Source #

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

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

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

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

max :: TestResult -> TestResult -> TestResult Source #

min :: TestResult -> TestResult -> TestResult Source #

## ThreadError

data ThreadError Source #

Possible errors of thread related functions.

Constructors

ThreadErrorThreadErrorAgain | a thread couldn't be created due to resource shortage. Try again later.
AnotherThreadError Int | Catch-all for unknown values

#### Instances

Instances details

Enum ThreadError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: ThreadError -> ThreadError Source #

pred :: ThreadError -> ThreadError Source #

toEnum :: Int -> ThreadError Source #

fromEnum :: ThreadError -> Int Source #

enumFrom :: ThreadError -> [ThreadError] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: ThreadError -> ThreadError -> Ordering Source #

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

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

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

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

max :: ThreadError -> ThreadError -> ThreadError Source #

min :: ThreadError -> ThreadError -> ThreadError Source #

GErrorClass ThreadError Source # |
Instance details Defined in GI.GLib.Enums Methods gerrorClassDomain :: ThreadError -> Text Source #

catchThreadError :: IO a -> (ThreadError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `ThreadError`. This is a specialized version of `catchGErrorJustDomain`.

handleThreadError :: (ThreadError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `ThreadError`. This is a specialized version of `handleGErrorJustDomain`.

## TimeType

data TimeType Source #

Disambiguates a given time in two ways.

First, specifies if the given time is in universal or local time.

Second, if the time is in local time, specifies if it is local standard time or local daylight time. This is important for the case where the same local time occurs twice (during daylight savings time transitions, for example).

Constructors

TimeTypeStandard | the time is in local standard time
TimeTypeDaylight | the time is in local daylight time
TimeTypeUniversal | the time is in UTC
AnotherTimeType Int | Catch-all for unknown values

#### Instances

Instances details

Enum TimeType Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: TimeType -> TimeType Source #

pred :: TimeType -> TimeType Source #

toEnum :: Int -> TimeType Source #

fromEnum :: TimeType -> Int Source #

enumFrom :: TimeType -> [TimeType] Source #

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

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

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

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

## TokenType

data TokenType Source #

The possible types of token returned from each `scannerGetNextToken` call.

Constructors

TokenTypeEof | the end of the file
TokenTypeLeftParen | a '(' character
TokenTypeRightParen | a ')' character
TokenTypeLeftCurly | a '{' character
TokenTypeRightCurly | a '}' character
TokenTypeLeftBrace | a '[' character
TokenTypeRightBrace | a ']' character
TokenTypeEqualSign | a '=' character
TokenTypeComma | a ',' character
TokenTypeNone | not a token
TokenTypeError | an error occurred
TokenTypeChar | a character
TokenTypeBinary | a binary integer
TokenTypeOctal | an octal integer
TokenTypeInt | an integer
TokenTypeHex | a hex integer
TokenTypeFloat | a floating point number
TokenTypeString | a string
TokenTypeSymbol | a symbol
TokenTypeIdentifier | an identifier
TokenTypeIdentifierNull | a null identifier
TokenTypeCommentSingle | one line comment
TokenTypeCommentMulti | multi line comment
AnotherTokenType Int | Catch-all for unknown values

#### Instances

Instances details

Enum TokenType Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: TokenType -> TokenType Source #

pred :: TokenType -> TokenType Source #

toEnum :: Int -> TokenType Source #

fromEnum :: TokenType -> Int Source #

enumFrom :: TokenType -> [TokenType] Source #

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

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

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

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

## TraverseType

data TraverseType Source #

Specifies the type of traversal performed by `treeTraverse`, `nodeTraverse` and `g_node_find()`.

The different orders are illustrated here:

- In order: A, B, C, D, E, F, G, H, I <picture> <source srcset="Sorted_binary_tree_inorder-dark.svg" media="(prefers-color-scheme: dark)"> <img src="Sorted_binary_tree_inorder.svg" alt="Sorted binary tree, in-order traversal"> </picture>
- Pre order: F, B, A, D, C, E, G, I, H <picture> <source srcset="Sorted_binary_tree_preorder-dark.svg" media="(prefers-color-scheme: dark)"> <img src="Sorted_binary_tree_preorder.svg" alt="Sorted binary tree, pre-order traversal"> </picture>
- Post order: A, C, E, D, B, H, I, G, F <picture> <source srcset="Sorted_binary_tree_postorder-dark.svg" media="(prefers-color-scheme: dark)"> <img src="Sorted_binary_tree_postorder.svg" alt="Sorted binary tree, post-order traversal"> </picture>
- Level order: F, B, G, A, D, I, C, E, H <picture> <source srcset="Sorted_binary_tree_breadth-first_traversal-dark.svg" media="(prefers-color-scheme: dark)"> <img src="Sorted_binary_tree_breadth-first_traversal.svg" alt="Sorted binary tree, breadth-first level order traversal"> </picture>

Constructors

TraverseTypeInOrder | vists a node's left child first, then the node itself, then its right child. This is the one to use if you want the output sorted according to the compare function.
TraverseTypePreOrder | visits a node, then its children.
TraverseTypePostOrder | visits the node's children, then the node itself.
TraverseTypeLevelOrder | is not implemented for [balanced binary trees][glib-Balanced-Binary-Trees]. For [n-ary trees][glib-N-ary-Trees], it vists the root node first, then its children, then its grandchildren, and so on. Note that this is less efficient than the other orders.
AnotherTraverseType Int | Catch-all for unknown values

#### Instances

Instances details

Enum TraverseType Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: TraverseType -> TraverseType Source #

pred :: TraverseType -> TraverseType Source #

toEnum :: Int -> TraverseType Source #

fromEnum :: TraverseType -> Int Source #

enumFrom :: TraverseType -> [TraverseType] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: TraverseType -> TraverseType -> Ordering Source #

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

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

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

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

max :: TraverseType -> TraverseType -> TraverseType Source #

min :: TraverseType -> TraverseType -> TraverseType Source #

## UnicodeBreakType

data UnicodeBreakType Source #

These are the possible line break classifications.

Since new Unicode versions may add new types here, applications should be ready to handle unknown values. They may be regarded as `UnicodeBreakTypeUnknown`.

See Unicode Line Breaking Algorithm.

Constructors

UnicodeBreakTypeMandatory | Mandatory Break (BK)
UnicodeBreakTypeCarriageReturn | Carriage Return (CR)
UnicodeBreakTypeLineFeed | Line Feed (LF)
UnicodeBreakTypeCombiningMark | Attached Characters and Combining Marks (CM)
UnicodeBreakTypeSurrogate | Surrogates (SG)
UnicodeBreakTypeZeroWidthSpace | Zero Width Space (ZW)
UnicodeBreakTypeInseparable | Inseparable (IN)
UnicodeBreakTypeNonBreakingGlue | Non-breaking ("Glue") (GL)
UnicodeBreakTypeContingent | Contingent Break Opportunity (CB)
UnicodeBreakTypeSpace | Space (SP)
UnicodeBreakTypeAfter | Break Opportunity After (BA)
UnicodeBreakTypeBefore | Break Opportunity Before (BB)
UnicodeBreakTypeBeforeAndAfter | Break Opportunity Before and After (B2)
UnicodeBreakTypeHyphen | Hyphen (HY)
UnicodeBreakTypeNonStarter | Nonstarter (NS)
UnicodeBreakTypeOpenPunctuation | Opening Punctuation (OP)
UnicodeBreakTypeClosePunctuation | Closing Punctuation (CL)
UnicodeBreakTypeQuotation | Ambiguous Quotation (QU)
UnicodeBreakTypeExclamation | Exclamation/Interrogation (EX)
UnicodeBreakTypeIdeographic | Ideographic (ID)
UnicodeBreakTypeNumeric | Numeric (NU)
UnicodeBreakTypeInfixSeparator | Infix Separator (Numeric) (IS)
UnicodeBreakTypeSymbol | Symbols Allowing Break After (SY)
UnicodeBreakTypeAlphabetic | Ordinary Alphabetic and Symbol Characters (AL)
UnicodeBreakTypePrefix | Prefix (Numeric) (PR)
UnicodeBreakTypePostfix | Postfix (Numeric) (PO)
UnicodeBreakTypeComplexContext | Complex Content Dependent (South East Asian) (SA)
UnicodeBreakTypeAmbiguous | Ambiguous (Alphabetic or Ideographic) (AI)
UnicodeBreakTypeUnknown | Unknown (XX)
UnicodeBreakTypeNextLine | Next Line (NL)
UnicodeBreakTypeWordJoiner | Word Joiner (WJ)
UnicodeBreakTypeHangulLJamo | Hangul L Jamo (JL)
UnicodeBreakTypeHangulVJamo | Hangul V Jamo (JV)
UnicodeBreakTypeHangulTJamo | Hangul T Jamo (JT)
UnicodeBreakTypeHangulLvSyllable | Hangul LV Syllable (H2)
UnicodeBreakTypeHangulLvtSyllable | Hangul LVT Syllable (H3)
UnicodeBreakTypeCloseParanthesis | Closing Parenthesis (CP). Since 2.28. Deprecated: 2.70: Use `UnicodeBreakTypeCloseParenthesis` instead.
UnicodeBreakTypeCloseParenthesis | Closing Parenthesis (CP). Since 2.70
UnicodeBreakTypeConditionalJapaneseStarter | Conditional Japanese Starter (CJ). Since: 2.32
UnicodeBreakTypeHebrewLetter | Hebrew Letter (HL). Since: 2.32
UnicodeBreakTypeRegionalIndicator | Regional Indicator (RI). Since: 2.36
UnicodeBreakTypeEmojiBase | Emoji Base (EB). Since: 2.50
UnicodeBreakTypeEmojiModifier | Emoji Modifier (EM). Since: 2.50
UnicodeBreakTypeZeroWidthJoiner | Zero Width Joiner (ZWJ). Since: 2.50
UnicodeBreakTypeAksara | Aksara (AK). Since: 2.80 `gUNICODEBREAKAKSARAPREBASE` (AP). Since: 2.80 `gUNICODEBREAKAKSARASTART` (AS). Since: 2.80 `gUNICODEBREAKVIRAMAFINAL` (VF). Since: 2.80 `gUNICODEBREAKVIRAMA` (VI). Since: 2.80
UnicodeBreakTypeAksaraPreBase | No description available in the introspection data.
UnicodeBreakTypeAksaraStart | No description available in the introspection data.
UnicodeBreakTypeViramaFinal | No description available in the introspection data.
UnicodeBreakTypeVirama | No description available in the introspection data.
AnotherUnicodeBreakType Int | Catch-all for unknown values

#### Instances

Instances details

Enum UnicodeBreakType Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: UnicodeBreakType -> UnicodeBreakType Source #

pred :: UnicodeBreakType -> UnicodeBreakType Source #

toEnum :: Int -> UnicodeBreakType Source #

fromEnum :: UnicodeBreakType -> Int Source #

enumFrom :: UnicodeBreakType -> [UnicodeBreakType] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: UnicodeBreakType -> UnicodeBreakType -> Ordering Source #

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

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

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

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

max :: UnicodeBreakType -> UnicodeBreakType -> UnicodeBreakType Source #

min :: UnicodeBreakType -> UnicodeBreakType -> UnicodeBreakType Source #

BoxedEnum UnicodeBreakType Source # |
Instance details Defined in GI.GLib.Enums
TypedObject UnicodeBreakType Source # |
Instance details Defined in GI.GLib.Enums Methods glibType :: IO GType Source #
HasParentTypes UnicodeBreakType Source # |
Instance details Defined in GI.GLib.Enums
type ParentTypes UnicodeBreakType Source # |
Instance details Defined in GI.GLib.Enums type ParentTypes UnicodeBreakType = '[] :: [Type]

## UnicodeScript

data UnicodeScript Source #

The `UnicodeScript` enumeration identifies different writing systems. The values correspond to the names as defined in the Unicode standard. The enumeration has been added in GLib 2.14, and is interchangeable with `PangoScript`.

Note that new types may be added in the future. Applications should be ready to handle unknown values. See Unicode Standard Annex #24: Script names.

Constructors

UnicodeScriptInvalidCode | a value never returned from `unicharGetScript`
UnicodeScriptCommon | a character used by multiple different scripts
UnicodeScriptInherited | a mark glyph that takes its script from the base glyph to which it is attached
UnicodeScriptArabic | Arabic
UnicodeScriptArmenian | Armenian
UnicodeScriptBengali | Bengali
UnicodeScriptBopomofo | Bopomofo
UnicodeScriptCherokee | Cherokee
UnicodeScriptCoptic | Coptic
UnicodeScriptCyrillic | Cyrillic
UnicodeScriptDeseret | Deseret
UnicodeScriptDevanagari | Devanagari
UnicodeScriptEthiopic | Ethiopic
UnicodeScriptGeorgian | Georgian
UnicodeScriptGothic | Gothic
UnicodeScriptGreek | Greek
UnicodeScriptGujarati | Gujarati
UnicodeScriptGurmukhi | Gurmukhi
UnicodeScriptHan | Han
UnicodeScriptHangul | Hangul
UnicodeScriptHebrew | Hebrew
UnicodeScriptHiragana | Hiragana
UnicodeScriptKannada | Kannada
UnicodeScriptKatakana | Katakana
UnicodeScriptKhmer | Khmer
UnicodeScriptLao | Lao
UnicodeScriptLatin | Latin
UnicodeScriptMalayalam | Malayalam
UnicodeScriptMongolian | Mongolian
UnicodeScriptMyanmar | Myanmar
UnicodeScriptOgham | Ogham
UnicodeScriptOldItalic | Old Italic
UnicodeScriptOriya | Oriya
UnicodeScriptRunic | Runic
UnicodeScriptSinhala | Sinhala
UnicodeScriptSyriac | Syriac
UnicodeScriptTamil | Tamil
UnicodeScriptTelugu | Telugu
UnicodeScriptThaana | Thaana
UnicodeScriptThai | Thai
UnicodeScriptTibetan | Tibetan
UnicodeScriptCanadianAboriginal | Canadian Aboriginal
UnicodeScriptYi | Yi
UnicodeScriptTagalog | Tagalog
UnicodeScriptHanunoo | Hanunoo
UnicodeScriptBuhid | Buhid
UnicodeScriptTagbanwa | Tagbanwa
UnicodeScriptBraille | Braille
UnicodeScriptCypriot | Cypriot
UnicodeScriptLimbu | Limbu
UnicodeScriptOsmanya | Osmanya
UnicodeScriptShavian | Shavian
UnicodeScriptLinearB | Linear B
UnicodeScriptTaiLe | Tai Le
UnicodeScriptUgaritic | Ugaritic
UnicodeScriptNewTaiLue | New Tai Lue
UnicodeScriptBuginese | Buginese
UnicodeScriptGlagolitic | Glagolitic
UnicodeScriptTifinagh | Tifinagh
UnicodeScriptSylotiNagri | Syloti Nagri
UnicodeScriptOldPersian | Old Persian
UnicodeScriptKharoshthi | Kharoshthi
UnicodeScriptUnknown | an unassigned code point
UnicodeScriptBalinese | Balinese
UnicodeScriptCuneiform | Cuneiform
UnicodeScriptPhoenician | Phoenician
UnicodeScriptPhagsPa | Phags-pa
UnicodeScriptNko | N'Ko
UnicodeScriptKayahLi | Kayah Li. Since 2.16.3
UnicodeScriptLepcha | Lepcha. Since 2.16.3
UnicodeScriptRejang | Rejang. Since 2.16.3
UnicodeScriptSundanese | Sundanese. Since 2.16.3
UnicodeScriptSaurashtra | Saurashtra. Since 2.16.3
UnicodeScriptCham | Cham. Since 2.16.3
UnicodeScriptOlChiki | Ol Chiki. Since 2.16.3
UnicodeScriptVai | Vai. Since 2.16.3
UnicodeScriptCarian | Carian. Since 2.16.3
UnicodeScriptLycian | Lycian. Since 2.16.3
UnicodeScriptLydian | Lydian. Since 2.16.3
UnicodeScriptAvestan | Avestan. Since 2.26
UnicodeScriptBamum | Bamum. Since 2.26
UnicodeScriptEgyptianHieroglyphs | Egyptian Hieroglpyhs. Since 2.26
UnicodeScriptImperialAramaic | Imperial Aramaic. Since 2.26
UnicodeScriptInscriptionalPahlavi | Inscriptional Pahlavi. Since 2.26
UnicodeScriptInscriptionalParthian | Inscriptional Parthian. Since 2.26
UnicodeScriptJavanese | Javanese. Since 2.26
UnicodeScriptKaithi | Kaithi. Since 2.26
UnicodeScriptLisu | Lisu. Since 2.26
UnicodeScriptMeeteiMayek | Meetei Mayek. Since 2.26
UnicodeScriptOldSouthArabian | Old South Arabian. Since 2.26
UnicodeScriptOldTurkic | Old Turkic. Since 2.28
UnicodeScriptSamaritan | Samaritan. Since 2.26
UnicodeScriptTaiTham | Tai Tham. Since 2.26
UnicodeScriptTaiViet | Tai Viet. Since 2.26
UnicodeScriptBatak | Batak. Since 2.28
UnicodeScriptBrahmi | Brahmi. Since 2.28
UnicodeScriptMandaic | Mandaic. Since 2.28
UnicodeScriptChakma | Chakma. Since: 2.32
UnicodeScriptMeroiticCursive | Meroitic Cursive. Since: 2.32
UnicodeScriptMeroiticHieroglyphs | Meroitic Hieroglyphs. Since: 2.32
UnicodeScriptMiao | Miao. Since: 2.32
UnicodeScriptSharada | Sharada. Since: 2.32
UnicodeScriptSoraSompeng | Sora Sompeng. Since: 2.32
UnicodeScriptTakri | Takri. Since: 2.32
UnicodeScriptBassaVah | Bassa. Since: 2.42
UnicodeScriptCaucasianAlbanian | Caucasian Albanian. Since: 2.42
UnicodeScriptDuployan | Duployan. Since: 2.42
UnicodeScriptElbasan | Elbasan. Since: 2.42
UnicodeScriptGrantha | Grantha. Since: 2.42
UnicodeScriptKhojki | Kjohki. Since: 2.42
UnicodeScriptKhudawadi | Khudawadi, Sindhi. Since: 2.42
UnicodeScriptLinearA | Linear A. Since: 2.42
UnicodeScriptMahajani | Mahajani. Since: 2.42
UnicodeScriptManichaean | Manichaean. Since: 2.42
UnicodeScriptMendeKikakui | Mende Kikakui. Since: 2.42
UnicodeScriptModi | Modi. Since: 2.42
UnicodeScriptMro | Mro. Since: 2.42
UnicodeScriptNabataean | Nabataean. Since: 2.42
UnicodeScriptOldNorthArabian | Old North Arabian. Since: 2.42
UnicodeScriptOldPermic | Old Permic. Since: 2.42
UnicodeScriptPahawhHmong | Pahawh Hmong. Since: 2.42
UnicodeScriptPalmyrene | Palmyrene. Since: 2.42
UnicodeScriptPauCinHau | Pau Cin Hau. Since: 2.42
UnicodeScriptPsalterPahlavi | Psalter Pahlavi. Since: 2.42
UnicodeScriptSiddham | Siddham. Since: 2.42
UnicodeScriptTirhuta | Tirhuta. Since: 2.42
UnicodeScriptWarangCiti | Warang Citi. Since: 2.42
UnicodeScriptAhom | Ahom. Since: 2.48
UnicodeScriptAnatolianHieroglyphs | Anatolian Hieroglyphs. Since: 2.48
UnicodeScriptHatran | Hatran. Since: 2.48
UnicodeScriptMultani | Multani. Since: 2.48
UnicodeScriptOldHungarian | Old Hungarian. Since: 2.48
UnicodeScriptSignwriting | Signwriting. Since: 2.48
UnicodeScriptAdlam | Adlam. Since: 2.50
UnicodeScriptBhaiksuki | Bhaiksuki. Since: 2.50
UnicodeScriptMarchen | Marchen. Since: 2.50
UnicodeScriptNewa | Newa. Since: 2.50
UnicodeScriptOsage | Osage. Since: 2.50
UnicodeScriptTangut | Tangut. Since: 2.50
UnicodeScriptMasaramGondi | Masaram Gondi. Since: 2.54
UnicodeScriptNushu | Nushu. Since: 2.54
UnicodeScriptSoyombo | Soyombo. Since: 2.54
UnicodeScriptZanabazarSquare | Zanabazar Square. Since: 2.54
UnicodeScriptDogra | Dogra. Since: 2.58
UnicodeScriptGunjalaGondi | Gunjala Gondi. Since: 2.58
UnicodeScriptHanifiRohingya | Hanifi Rohingya. Since: 2.58
UnicodeScriptMakasar | Makasar. Since: 2.58
UnicodeScriptMedefaidrin | Medefaidrin. Since: 2.58
UnicodeScriptOldSogdian | Old Sogdian. Since: 2.58
UnicodeScriptSogdian | Sogdian. Since: 2.58
UnicodeScriptElymaic | Elym. Since: 2.62
UnicodeScriptNandinagari | Nand. Since: 2.62
UnicodeScriptNyiakengPuachueHmong | Rohg. Since: 2.62
UnicodeScriptWancho | Wcho. Since: 2.62
UnicodeScriptChorasmian | Chorasmian. Since: 2.66
UnicodeScriptDivesAkuru | Dives Akuru. Since: 2.66
UnicodeScriptKhitanSmallScript | Khitan small script. Since: 2.66
UnicodeScriptYezidi | Yezidi. Since: 2.66
UnicodeScriptCyproMinoan | Cypro-Minoan. Since: 2.72
UnicodeScriptOldUyghur | Old Uyghur. Since: 2.72
UnicodeScriptTangsa | Tangsa. Since: 2.72
UnicodeScriptToto | Toto. Since: 2.72
UnicodeScriptVithkuqi | Vithkuqi. Since: 2.72
UnicodeScriptMath | Mathematical notation. Since: 2.72
UnicodeScriptKawi | Kawi. Since 2.74
UnicodeScriptNagMundari | Nag Mundari. Since 2.74
AnotherUnicodeScript Int | Catch-all for unknown values

#### Instances

Instances details

Enum UnicodeScript Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: UnicodeScript -> UnicodeScript Source #

pred :: UnicodeScript -> UnicodeScript Source #

toEnum :: Int -> UnicodeScript Source #

fromEnum :: UnicodeScript -> Int Source #

enumFrom :: UnicodeScript -> [UnicodeScript] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: UnicodeScript -> UnicodeScript -> Ordering Source #

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

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

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

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

max :: UnicodeScript -> UnicodeScript -> UnicodeScript Source #

min :: UnicodeScript -> UnicodeScript -> UnicodeScript Source #

BoxedEnum UnicodeScript Source # |
Instance details Defined in GI.GLib.Enums
TypedObject UnicodeScript Source # |
Instance details Defined in GI.GLib.Enums Methods glibType :: IO GType Source #
HasParentTypes UnicodeScript Source # |
Instance details Defined in GI.GLib.Enums
type ParentTypes UnicodeScript Source # |
Instance details Defined in GI.GLib.Enums type ParentTypes UnicodeScript = '[] :: [Type]

## UnicodeType

data UnicodeType Source #

These are the possible character classifications from the Unicode specification. See Unicode Character Database.

Constructors

UnicodeTypeControl | General category "Other, Control" (Cc)
UnicodeTypeFormat | General category "Other, Format" (Cf)
UnicodeTypeUnassigned | General category "Other, Not Assigned" (Cn)
UnicodeTypePrivateUse | General category "Other, Private Use" (Co)
UnicodeTypeSurrogate | General category "Other, Surrogate" (Cs)
UnicodeTypeLowercaseLetter | General category "Letter, Lowercase" (Ll)
UnicodeTypeModifierLetter | General category "Letter, Modifier" (Lm)
UnicodeTypeOtherLetter | General category "Letter, Other" (Lo)
UnicodeTypeTitlecaseLetter | General category "Letter, Titlecase" (Lt)
UnicodeTypeUppercaseLetter | General category "Letter, Uppercase" (Lu)
UnicodeTypeSpacingMark | General category "Mark, Spacing" (Mc)
UnicodeTypeEnclosingMark | General category "Mark, Enclosing" (Me)
UnicodeTypeNonSpacingMark | General category "Mark, Nonspacing" (Mn)
UnicodeTypeDecimalNumber | General category "Number, Decimal Digit" (Nd)
UnicodeTypeLetterNumber | General category "Number, Letter" (Nl)
UnicodeTypeOtherNumber | General category "Number, Other" (No)
UnicodeTypeConnectPunctuation | General category "Punctuation, Connector" (Pc)
UnicodeTypeDashPunctuation | General category "Punctuation, Dash" (Pd)
UnicodeTypeClosePunctuation | General category "Punctuation, Close" (Pe)
UnicodeTypeFinalPunctuation | General category "Punctuation, Final quote" (Pf)
UnicodeTypeInitialPunctuation | General category "Punctuation, Initial quote" (Pi)
UnicodeTypeOtherPunctuation | General category "Punctuation, Other" (Po)
UnicodeTypeOpenPunctuation | General category "Punctuation, Open" (Ps)
UnicodeTypeCurrencySymbol | General category "Symbol, Currency" (Sc)
UnicodeTypeModifierSymbol | General category "Symbol, Modifier" (Sk)
UnicodeTypeMathSymbol | General category "Symbol, Math" (Sm)
UnicodeTypeOtherSymbol | General category "Symbol, Other" (So)
UnicodeTypeLineSeparator | General category "Separator, Line" (Zl)
UnicodeTypeParagraphSeparator | General category "Separator, Paragraph" (Zp)
UnicodeTypeSpaceSeparator | General category "Separator, Space" (Zs)
AnotherUnicodeType Int | Catch-all for unknown values

#### Instances

Instances details

Enum UnicodeType Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: UnicodeType -> UnicodeType Source #

pred :: UnicodeType -> UnicodeType Source #

toEnum :: Int -> UnicodeType Source #

fromEnum :: UnicodeType -> Int Source #

enumFrom :: UnicodeType -> [UnicodeType] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: UnicodeType -> UnicodeType -> Ordering Source #

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

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

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

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

max :: UnicodeType -> UnicodeType -> UnicodeType Source #

min :: UnicodeType -> UnicodeType -> UnicodeType Source #

BoxedEnum UnicodeType Source # |
Instance details Defined in GI.GLib.Enums
TypedObject UnicodeType Source # |
Instance details Defined in GI.GLib.Enums Methods glibType :: IO GType Source #
HasParentTypes UnicodeType Source # |
Instance details Defined in GI.GLib.Enums
type ParentTypes UnicodeType Source # |
Instance details Defined in GI.GLib.Enums type ParentTypes UnicodeType = '[] :: [Type]

## UnixPipeEnd

data UnixPipeEnd Source #

Mnemonic constants for the ends of a Unix pipe.

Since: 2.80

Constructors

UnixPipeEndRead | The readable file descriptor 0
UnixPipeEndWrite | The writable file descriptor 1
AnotherUnixPipeEnd Int | Catch-all for unknown values

#### Instances

Instances details

Enum UnixPipeEnd Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: UnixPipeEnd -> UnixPipeEnd Source #

pred :: UnixPipeEnd -> UnixPipeEnd Source #

toEnum :: Int -> UnixPipeEnd Source #

fromEnum :: UnixPipeEnd -> Int Source #

enumFrom :: UnixPipeEnd -> [UnixPipeEnd] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: UnixPipeEnd -> UnixPipeEnd -> Ordering Source #

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

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

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

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

max :: UnixPipeEnd -> UnixPipeEnd -> UnixPipeEnd Source #

min :: UnixPipeEnd -> UnixPipeEnd -> UnixPipeEnd Source #

## UriError

data UriError Source #

Error codes returned by `Uri` methods.

Since: 2.66

Constructors

UriErrorFailed | Generic error if no more specific error is available. See the error message for details.
UriErrorBadScheme | The scheme of a URI could not be parsed.
UriErrorBadUser | The user/userinfo of a URI could not be parsed.
UriErrorBadPassword | The password of a URI could not be parsed.
UriErrorBadAuthParams | The authentication parameters of a URI could not be parsed.
UriErrorBadHost | The host of a URI could not be parsed.
UriErrorBadPort | The port of a URI could not be parsed.
UriErrorBadPath | The path of a URI could not be parsed.
UriErrorBadQuery | The query of a URI could not be parsed.
UriErrorBadFragment | The fragment of a URI could not be parsed.
AnotherUriError Int | Catch-all for unknown values

#### Instances

Instances details

Enum UriError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: UriError -> UriError Source #

pred :: UriError -> UriError Source #

toEnum :: Int -> UriError Source #

fromEnum :: UriError -> Int Source #

enumFrom :: UriError -> [UriError] Source #

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

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

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

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

catchUriError :: IO a -> (UriError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `UriError`. This is a specialized version of `catchGErrorJustDomain`.

handleUriError :: (UriError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `UriError`. This is a specialized version of `handleGErrorJustDomain`.

## UserDirectory

data UserDirectory Source #

These are logical ids for special directories which are defined depending on the platform used. You should use `getUserSpecialDir` to retrieve the full path associated to the logical id.

The `UserDirectory` enumeration can be extended at later date. Not every platform has a directory for every logical id in this enumeration.

Since: 2.14

Constructors

UserDirectoryDirectoryDesktop | the user's Desktop directory
UserDirectoryDirectoryDocuments | the user's Documents directory
UserDirectoryDirectoryDownload | the user's Downloads directory
UserDirectoryDirectoryMusic | the user's Music directory
UserDirectoryDirectoryPictures | the user's Pictures directory
UserDirectoryDirectoryPublicShare | the user's shared directory
UserDirectoryDirectoryTemplates | the user's Templates directory
UserDirectoryDirectoryVideos | the user's Movies directory
UserDirectoryNDirectories | the number of enum values
AnotherUserDirectory Int | Catch-all for unknown values

#### Instances

Instances details

Enum UserDirectory Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: UserDirectory -> UserDirectory Source #

pred :: UserDirectory -> UserDirectory Source #

toEnum :: Int -> UserDirectory Source #

fromEnum :: UserDirectory -> Int Source #

enumFrom :: UserDirectory -> [UserDirectory] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: UserDirectory -> UserDirectory -> Ordering Source #

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

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

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

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

max :: UserDirectory -> UserDirectory -> UserDirectory Source #

min :: UserDirectory -> UserDirectory -> UserDirectory Source #

## VariantClass

data VariantClass Source #

The range of possible top-level types of `GVariant` instances.

Since: 2.24

Constructors

VariantClassBoolean | The `GVariant` is a boolean.
VariantClassByte | The `GVariant` is a byte.
VariantClassInt16 | The `GVariant` is a signed 16 bit integer.
VariantClassUint16 | The `GVariant` is an unsigned 16 bit integer.
VariantClassInt32 | The `GVariant` is a signed 32 bit integer.
VariantClassUint32 | The `GVariant` is an unsigned 32 bit integer.
VariantClassInt64 | The `GVariant` is a signed 64 bit integer.
VariantClassUint64 | The `GVariant` is an unsigned 64 bit integer.
VariantClassHandle | The `GVariant` is a file handle index.
VariantClassDouble | The `GVariant` is a double precision floating point value.
VariantClassString | The `GVariant` is a normal string.
VariantClassObjectPath | The `GVariant` is a D-Bus object path string.
VariantClassSignature | The `GVariant` is a D-Bus signature string.
VariantClassVariant | The `GVariant` is a variant.
VariantClassMaybe | The `GVariant` is a maybe-typed value.
VariantClassArray | The `GVariant` is an array.
VariantClassTuple | The `GVariant` is a tuple.
VariantClassDictEntry | The `GVariant` is a dictionary entry.
AnotherVariantClass Int | Catch-all for unknown values

#### Instances

Instances details

Enum VariantClass Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: VariantClass -> VariantClass Source #

pred :: VariantClass -> VariantClass Source #

toEnum :: Int -> VariantClass Source #

fromEnum :: VariantClass -> Int Source #

enumFrom :: VariantClass -> [VariantClass] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: VariantClass -> VariantClass -> Ordering Source #

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

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

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

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

max :: VariantClass -> VariantClass -> VariantClass Source #

min :: VariantClass -> VariantClass -> VariantClass Source #

## VariantParseError

data VariantParseError Source #

Error codes returned by parsing text-format GVariants.

Constructors

VariantParseErrorFailed | generic error (unused)
VariantParseErrorBasicTypeExpected | a non-basic `VariantType` was given where a basic type was expected
VariantParseErrorCannotInferType | cannot infer the `VariantType`
VariantParseErrorDefiniteTypeExpected | an indefinite `VariantType` was given where a definite type was expected
VariantParseErrorInputNotAtEnd | extra data after parsing finished
VariantParseErrorInvalidCharacter | invalid character in number or unicode escape
VariantParseErrorInvalidFormatString | not a valid `GVariant` format string
VariantParseErrorInvalidObjectPath | not a valid object path
VariantParseErrorInvalidSignature | not a valid type signature
VariantParseErrorInvalidTypeString | not a valid `GVariant` type string
VariantParseErrorNoCommonType | could not find a common type for array entries
VariantParseErrorNumberOutOfRange | the numerical value is out of range of the given type
VariantParseErrorNumberTooBig | the numerical value is out of range for any type
VariantParseErrorTypeError | cannot parse as variant of the specified type
VariantParseErrorUnexpectedToken | an unexpected token was encountered
VariantParseErrorUnknownKeyword | an unknown keyword was encountered
VariantParseErrorUnterminatedStringConstant | unterminated string constant
VariantParseErrorValueExpected | no value given
VariantParseErrorRecursion | variant was too deeply nested; `GVariant` is only guaranteed to handle nesting up to 64 levels (Since: 2.64)
AnotherVariantParseError Int | Catch-all for unknown values

#### Instances

Instances details

Enum VariantParseError Source # |

Instance details

Defined in GI.GLib.Enums

Methods

succ :: VariantParseError -> VariantParseError Source #

pred :: VariantParseError -> VariantParseError Source #

toEnum :: Int -> VariantParseError Source #

fromEnum :: VariantParseError -> Int Source #

enumFrom :: VariantParseError -> [VariantParseError] Source #

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

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

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

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

Instance details

Defined in GI.GLib.Enums

Methods

compare :: VariantParseError -> VariantParseError -> Ordering Source #

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

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

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

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

max :: VariantParseError -> VariantParseError -> VariantParseError Source #

min :: VariantParseError -> VariantParseError -> VariantParseError Source #

GErrorClass VariantParseError Source # |
Instance details Defined in GI.GLib.Enums Methods gerrorClassDomain :: VariantParseError -> Text Source #

catchVariantParseError :: IO a -> (VariantParseError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type `VariantParseError`. This is a specialized version of `catchGErrorJustDomain`.

handleVariantParseError :: (VariantParseError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type `VariantParseError`. This is a specialized version of `handleGErrorJustDomain`.