#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Atk.Enums
(
CoordType(..) ,
KeyEventType(..) ,
Layer(..) ,
RelationType(..) ,
Role(..) ,
ScrollType(..) ,
StateType(..) ,
TextAttribute(..) ,
TextBoundary(..) ,
TextClipType(..) ,
TextGranularity(..) ,
ValueType(..) ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
data ValueType =
ValueTypeVeryWeak
| ValueTypeWeak
| ValueTypeAcceptable
| ValueTypeStrong
| ValueTypeVeryStrong
| ValueTypeVeryLow
| ValueTypeLow
| ValueTypeMedium
| ValueTypeHigh
| ValueTypeVeryHigh
| ValueTypeVeryBad
| ValueTypeBad
| ValueTypeGood
| ValueTypeVeryGood
| ValueTypeBest
| ValueTypeLastDefined
| AnotherValueType Int
deriving (Int -> ValueType -> ShowS
[ValueType] -> ShowS
ValueType -> String
(Int -> ValueType -> ShowS)
-> (ValueType -> String)
-> ([ValueType] -> ShowS)
-> Show ValueType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ValueType] -> ShowS
$cshowList :: [ValueType] -> ShowS
show :: ValueType -> String
$cshow :: ValueType -> String
showsPrec :: Int -> ValueType -> ShowS
$cshowsPrec :: Int -> ValueType -> ShowS
Show, ValueType -> ValueType -> Bool
(ValueType -> ValueType -> Bool)
-> (ValueType -> ValueType -> Bool) -> Eq ValueType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ValueType -> ValueType -> Bool
$c/= :: ValueType -> ValueType -> Bool
== :: ValueType -> ValueType -> Bool
$c== :: ValueType -> ValueType -> Bool
Eq)
instance P.Enum ValueType where
fromEnum :: ValueType -> Int
fromEnum ValueTypeVeryWeak = 0
fromEnum ValueTypeWeak = 1
fromEnum ValueTypeAcceptable = 2
fromEnum ValueTypeStrong = 3
fromEnum ValueTypeVeryStrong = 4
fromEnum ValueTypeVeryLow = 5
fromEnum ValueTypeLow = 6
fromEnum ValueTypeMedium = 7
fromEnum ValueTypeHigh = 8
fromEnum ValueTypeVeryHigh = 9
fromEnum ValueTypeVeryBad = 10
fromEnum ValueTypeBad = 11
fromEnum ValueTypeGood = 12
fromEnum ValueTypeVeryGood = 13
fromEnum ValueTypeBest = 14
fromEnum ValueTypeLastDefined = 15
fromEnum (AnotherValueType k :: Int
k) = Int
k
toEnum :: Int -> ValueType
toEnum 0 = ValueType
ValueTypeVeryWeak
toEnum 1 = ValueType
ValueTypeWeak
toEnum 2 = ValueType
ValueTypeAcceptable
toEnum 3 = ValueType
ValueTypeStrong
toEnum 4 = ValueType
ValueTypeVeryStrong
toEnum 5 = ValueType
ValueTypeVeryLow
toEnum 6 = ValueType
ValueTypeLow
toEnum 7 = ValueType
ValueTypeMedium
toEnum 8 = ValueType
ValueTypeHigh
toEnum 9 = ValueType
ValueTypeVeryHigh
toEnum 10 = ValueType
ValueTypeVeryBad
toEnum 11 = ValueType
ValueTypeBad
toEnum 12 = ValueType
ValueTypeGood
toEnum 13 = ValueType
ValueTypeVeryGood
toEnum 14 = ValueType
ValueTypeBest
toEnum 15 = ValueType
ValueTypeLastDefined
toEnum k :: Int
k = Int -> ValueType
AnotherValueType Int
k
instance P.Ord ValueType where
compare :: ValueType -> ValueType -> Ordering
compare a :: ValueType
a b :: ValueType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ValueType -> Int
forall a. Enum a => a -> Int
P.fromEnum ValueType
a) (ValueType -> Int
forall a. Enum a => a -> Int
P.fromEnum ValueType
b)
foreign import ccall "atk_value_type_get_type" c_atk_value_type_get_type ::
IO GType
instance BoxedEnum ValueType where
boxedEnumType :: ValueType -> IO GType
boxedEnumType _ = IO GType
c_atk_value_type_get_type
data TextGranularity =
TextGranularityChar
| TextGranularityWord
| TextGranularitySentence
| TextGranularityLine
| TextGranularityParagraph
| AnotherTextGranularity Int
deriving (Int -> TextGranularity -> ShowS
[TextGranularity] -> ShowS
TextGranularity -> String
(Int -> TextGranularity -> ShowS)
-> (TextGranularity -> String)
-> ([TextGranularity] -> ShowS)
-> Show TextGranularity
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextGranularity] -> ShowS
$cshowList :: [TextGranularity] -> ShowS
show :: TextGranularity -> String
$cshow :: TextGranularity -> String
showsPrec :: Int -> TextGranularity -> ShowS
$cshowsPrec :: Int -> TextGranularity -> ShowS
Show, TextGranularity -> TextGranularity -> Bool
(TextGranularity -> TextGranularity -> Bool)
-> (TextGranularity -> TextGranularity -> Bool)
-> Eq TextGranularity
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextGranularity -> TextGranularity -> Bool
$c/= :: TextGranularity -> TextGranularity -> Bool
== :: TextGranularity -> TextGranularity -> Bool
$c== :: TextGranularity -> TextGranularity -> Bool
Eq)
instance P.Enum TextGranularity where
fromEnum :: TextGranularity -> Int
fromEnum TextGranularityChar = 0
fromEnum TextGranularityWord = 1
fromEnum TextGranularitySentence = 2
fromEnum TextGranularityLine = 3
fromEnum TextGranularityParagraph = 4
fromEnum (AnotherTextGranularity k :: Int
k) = Int
k
toEnum :: Int -> TextGranularity
toEnum 0 = TextGranularity
TextGranularityChar
toEnum 1 = TextGranularity
TextGranularityWord
toEnum 2 = TextGranularity
TextGranularitySentence
toEnum 3 = TextGranularity
TextGranularityLine
toEnum 4 = TextGranularity
TextGranularityParagraph
toEnum k :: Int
k = Int -> TextGranularity
AnotherTextGranularity Int
k
instance P.Ord TextGranularity where
compare :: TextGranularity -> TextGranularity -> Ordering
compare a :: TextGranularity
a b :: TextGranularity
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TextGranularity -> Int
forall a. Enum a => a -> Int
P.fromEnum TextGranularity
a) (TextGranularity -> Int
forall a. Enum a => a -> Int
P.fromEnum TextGranularity
b)
foreign import ccall "atk_text_granularity_get_type" c_atk_text_granularity_get_type ::
IO GType
instance BoxedEnum TextGranularity where
boxedEnumType :: TextGranularity -> IO GType
boxedEnumType _ = IO GType
c_atk_text_granularity_get_type
data TextClipType =
TextClipTypeNone
| TextClipTypeMin
| TextClipTypeMax
| TextClipTypeBoth
| AnotherTextClipType Int
deriving (Int -> TextClipType -> ShowS
[TextClipType] -> ShowS
TextClipType -> String
(Int -> TextClipType -> ShowS)
-> (TextClipType -> String)
-> ([TextClipType] -> ShowS)
-> Show TextClipType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextClipType] -> ShowS
$cshowList :: [TextClipType] -> ShowS
show :: TextClipType -> String
$cshow :: TextClipType -> String
showsPrec :: Int -> TextClipType -> ShowS
$cshowsPrec :: Int -> TextClipType -> ShowS
Show, TextClipType -> TextClipType -> Bool
(TextClipType -> TextClipType -> Bool)
-> (TextClipType -> TextClipType -> Bool) -> Eq TextClipType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextClipType -> TextClipType -> Bool
$c/= :: TextClipType -> TextClipType -> Bool
== :: TextClipType -> TextClipType -> Bool
$c== :: TextClipType -> TextClipType -> Bool
Eq)
instance P.Enum TextClipType where
fromEnum :: TextClipType -> Int
fromEnum TextClipTypeNone = 0
fromEnum TextClipTypeMin = 1
fromEnum TextClipTypeMax = 2
fromEnum TextClipTypeBoth = 3
fromEnum (AnotherTextClipType k :: Int
k) = Int
k
toEnum :: Int -> TextClipType
toEnum 0 = TextClipType
TextClipTypeNone
toEnum 1 = TextClipType
TextClipTypeMin
toEnum 2 = TextClipType
TextClipTypeMax
toEnum 3 = TextClipType
TextClipTypeBoth
toEnum k :: Int
k = Int -> TextClipType
AnotherTextClipType Int
k
instance P.Ord TextClipType where
compare :: TextClipType -> TextClipType -> Ordering
compare a :: TextClipType
a b :: TextClipType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TextClipType -> Int
forall a. Enum a => a -> Int
P.fromEnum TextClipType
a) (TextClipType -> Int
forall a. Enum a => a -> Int
P.fromEnum TextClipType
b)
foreign import ccall "atk_text_clip_type_get_type" c_atk_text_clip_type_get_type ::
IO GType
instance BoxedEnum TextClipType where
boxedEnumType :: TextClipType -> IO GType
boxedEnumType _ = IO GType
c_atk_text_clip_type_get_type
data TextBoundary =
TextBoundaryChar
| TextBoundaryWordStart
| TextBoundaryWordEnd
| TextBoundarySentenceStart
| TextBoundarySentenceEnd
| TextBoundaryLineStart
| TextBoundaryLineEnd
| AnotherTextBoundary Int
deriving (Int -> TextBoundary -> ShowS
[TextBoundary] -> ShowS
TextBoundary -> String
(Int -> TextBoundary -> ShowS)
-> (TextBoundary -> String)
-> ([TextBoundary] -> ShowS)
-> Show TextBoundary
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextBoundary] -> ShowS
$cshowList :: [TextBoundary] -> ShowS
show :: TextBoundary -> String
$cshow :: TextBoundary -> String
showsPrec :: Int -> TextBoundary -> ShowS
$cshowsPrec :: Int -> TextBoundary -> ShowS
Show, TextBoundary -> TextBoundary -> Bool
(TextBoundary -> TextBoundary -> Bool)
-> (TextBoundary -> TextBoundary -> Bool) -> Eq TextBoundary
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextBoundary -> TextBoundary -> Bool
$c/= :: TextBoundary -> TextBoundary -> Bool
== :: TextBoundary -> TextBoundary -> Bool
$c== :: TextBoundary -> TextBoundary -> Bool
Eq)
instance P.Enum TextBoundary where
fromEnum :: TextBoundary -> Int
fromEnum TextBoundaryChar = 0
fromEnum TextBoundaryWordStart = 1
fromEnum TextBoundaryWordEnd = 2
fromEnum TextBoundarySentenceStart = 3
fromEnum TextBoundarySentenceEnd = 4
fromEnum TextBoundaryLineStart = 5
fromEnum TextBoundaryLineEnd = 6
fromEnum (AnotherTextBoundary k :: Int
k) = Int
k
toEnum :: Int -> TextBoundary
toEnum 0 = TextBoundary
TextBoundaryChar
toEnum 1 = TextBoundary
TextBoundaryWordStart
toEnum 2 = TextBoundary
TextBoundaryWordEnd
toEnum 3 = TextBoundary
TextBoundarySentenceStart
toEnum 4 = TextBoundary
TextBoundarySentenceEnd
toEnum 5 = TextBoundary
TextBoundaryLineStart
toEnum 6 = TextBoundary
TextBoundaryLineEnd
toEnum k :: Int
k = Int -> TextBoundary
AnotherTextBoundary Int
k
instance P.Ord TextBoundary where
compare :: TextBoundary -> TextBoundary -> Ordering
compare a :: TextBoundary
a b :: TextBoundary
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TextBoundary -> Int
forall a. Enum a => a -> Int
P.fromEnum TextBoundary
a) (TextBoundary -> Int
forall a. Enum a => a -> Int
P.fromEnum TextBoundary
b)
foreign import ccall "atk_text_boundary_get_type" c_atk_text_boundary_get_type ::
IO GType
instance BoxedEnum TextBoundary where
boxedEnumType :: TextBoundary -> IO GType
boxedEnumType _ = IO GType
c_atk_text_boundary_get_type
data TextAttribute =
TextAttributeInvalid
| TextAttributeLeftMargin
| TextAttributeRightMargin
| TextAttributeIndent
| TextAttributeInvisible
| TextAttributeEditable
| TextAttributePixelsAboveLines
| TextAttributePixelsBelowLines
| TextAttributePixelsInsideWrap
| TextAttributeBgFullHeight
| TextAttributeRise
| TextAttributeUnderline
| TextAttributeStrikethrough
| TextAttributeSize
| TextAttributeScale
| TextAttributeWeight
| TextAttributeLanguage
| TextAttributeFamilyName
| TextAttributeBgColor
| TextAttributeFgColor
| TextAttributeBgStipple
| TextAttributeFgStipple
| TextAttributeWrapMode
| TextAttributeDirection
| TextAttributeJustification
| TextAttributeStretch
| TextAttributeVariant
| TextAttributeStyle
| TextAttributeLastDefined
| AnotherTextAttribute Int
deriving (Int -> TextAttribute -> ShowS
[TextAttribute] -> ShowS
TextAttribute -> String
(Int -> TextAttribute -> ShowS)
-> (TextAttribute -> String)
-> ([TextAttribute] -> ShowS)
-> Show TextAttribute
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextAttribute] -> ShowS
$cshowList :: [TextAttribute] -> ShowS
show :: TextAttribute -> String
$cshow :: TextAttribute -> String
showsPrec :: Int -> TextAttribute -> ShowS
$cshowsPrec :: Int -> TextAttribute -> ShowS
Show, TextAttribute -> TextAttribute -> Bool
(TextAttribute -> TextAttribute -> Bool)
-> (TextAttribute -> TextAttribute -> Bool) -> Eq TextAttribute
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextAttribute -> TextAttribute -> Bool
$c/= :: TextAttribute -> TextAttribute -> Bool
== :: TextAttribute -> TextAttribute -> Bool
$c== :: TextAttribute -> TextAttribute -> Bool
Eq)
instance P.Enum TextAttribute where
fromEnum :: TextAttribute -> Int
fromEnum TextAttributeInvalid = 0
fromEnum TextAttributeLeftMargin = 1
fromEnum TextAttributeRightMargin = 2
fromEnum TextAttributeIndent = 3
fromEnum TextAttributeInvisible = 4
fromEnum TextAttributeEditable = 5
fromEnum TextAttributePixelsAboveLines = 6
fromEnum TextAttributePixelsBelowLines = 7
fromEnum TextAttributePixelsInsideWrap = 8
fromEnum TextAttributeBgFullHeight = 9
fromEnum TextAttributeRise = 10
fromEnum TextAttributeUnderline = 11
fromEnum TextAttributeStrikethrough = 12
fromEnum TextAttributeSize = 13
fromEnum TextAttributeScale = 14
fromEnum TextAttributeWeight = 15
fromEnum TextAttributeLanguage = 16
fromEnum TextAttributeFamilyName = 17
fromEnum TextAttributeBgColor = 18
fromEnum TextAttributeFgColor = 19
fromEnum TextAttributeBgStipple = 20
fromEnum TextAttributeFgStipple = 21
fromEnum TextAttributeWrapMode = 22
fromEnum TextAttributeDirection = 23
fromEnum TextAttributeJustification = 24
fromEnum TextAttributeStretch = 25
fromEnum TextAttributeVariant = 26
fromEnum TextAttributeStyle = 27
fromEnum TextAttributeLastDefined = 28
fromEnum (AnotherTextAttribute k :: Int
k) = Int
k
toEnum :: Int -> TextAttribute
toEnum 0 = TextAttribute
TextAttributeInvalid
toEnum 1 = TextAttribute
TextAttributeLeftMargin
toEnum 2 = TextAttribute
TextAttributeRightMargin
toEnum 3 = TextAttribute
TextAttributeIndent
toEnum 4 = TextAttribute
TextAttributeInvisible
toEnum 5 = TextAttribute
TextAttributeEditable
toEnum 6 = TextAttribute
TextAttributePixelsAboveLines
toEnum 7 = TextAttribute
TextAttributePixelsBelowLines
toEnum 8 = TextAttribute
TextAttributePixelsInsideWrap
toEnum 9 = TextAttribute
TextAttributeBgFullHeight
toEnum 10 = TextAttribute
TextAttributeRise
toEnum 11 = TextAttribute
TextAttributeUnderline
toEnum 12 = TextAttribute
TextAttributeStrikethrough
toEnum 13 = TextAttribute
TextAttributeSize
toEnum 14 = TextAttribute
TextAttributeScale
toEnum 15 = TextAttribute
TextAttributeWeight
toEnum 16 = TextAttribute
TextAttributeLanguage
toEnum 17 = TextAttribute
TextAttributeFamilyName
toEnum 18 = TextAttribute
TextAttributeBgColor
toEnum 19 = TextAttribute
TextAttributeFgColor
toEnum 20 = TextAttribute
TextAttributeBgStipple
toEnum 21 = TextAttribute
TextAttributeFgStipple
toEnum 22 = TextAttribute
TextAttributeWrapMode
toEnum 23 = TextAttribute
TextAttributeDirection
toEnum 24 = TextAttribute
TextAttributeJustification
toEnum 25 = TextAttribute
TextAttributeStretch
toEnum 26 = TextAttribute
TextAttributeVariant
toEnum 27 = TextAttribute
TextAttributeStyle
toEnum 28 = TextAttribute
TextAttributeLastDefined
toEnum k :: Int
k = Int -> TextAttribute
AnotherTextAttribute Int
k
instance P.Ord TextAttribute where
compare :: TextAttribute -> TextAttribute -> Ordering
compare a :: TextAttribute
a b :: TextAttribute
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TextAttribute -> Int
forall a. Enum a => a -> Int
P.fromEnum TextAttribute
a) (TextAttribute -> Int
forall a. Enum a => a -> Int
P.fromEnum TextAttribute
b)
foreign import ccall "atk_text_attribute_get_type" c_atk_text_attribute_get_type ::
IO GType
instance BoxedEnum TextAttribute where
boxedEnumType :: TextAttribute -> IO GType
boxedEnumType _ = IO GType
c_atk_text_attribute_get_type
data StateType =
StateTypeInvalid
| StateTypeActive
| StateTypeArmed
| StateTypeBusy
| StateTypeChecked
| StateTypeDefunct
| StateTypeEditable
| StateTypeEnabled
| StateTypeExpandable
| StateTypeExpanded
| StateTypeFocusable
| StateTypeFocused
| StateTypeHorizontal
| StateTypeIconified
| StateTypeModal
| StateTypeMultiLine
| StateTypeMultiselectable
| StateTypeOpaque
| StateTypePressed
| StateTypeResizable
| StateTypeSelectable
| StateTypeSelected
| StateTypeSensitive
| StateTypeShowing
| StateTypeSingleLine
| StateTypeStale
| StateTypeTransient
| StateTypeVertical
| StateTypeVisible
| StateTypeManagesDescendants
| StateTypeIndeterminate
| StateTypeTruncated
| StateTypeRequired
| StateTypeInvalidEntry
| StateTypeSupportsAutocompletion
| StateTypeSelectableText
| StateTypeDefault
| StateTypeAnimated
| StateTypeVisited
| StateTypeCheckable
|
| StateTypeHasTooltip
| StateTypeReadOnly
| StateTypeLastDefined
| AnotherStateType Int
deriving (Int -> StateType -> ShowS
[StateType] -> ShowS
StateType -> String
(Int -> StateType -> ShowS)
-> (StateType -> String)
-> ([StateType] -> ShowS)
-> Show StateType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StateType] -> ShowS
$cshowList :: [StateType] -> ShowS
show :: StateType -> String
$cshow :: StateType -> String
showsPrec :: Int -> StateType -> ShowS
$cshowsPrec :: Int -> StateType -> ShowS
Show, StateType -> StateType -> Bool
(StateType -> StateType -> Bool)
-> (StateType -> StateType -> Bool) -> Eq StateType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StateType -> StateType -> Bool
$c/= :: StateType -> StateType -> Bool
== :: StateType -> StateType -> Bool
$c== :: StateType -> StateType -> Bool
Eq)
instance P.Enum StateType where
fromEnum :: StateType -> Int
fromEnum StateTypeInvalid = 0
fromEnum StateTypeActive = 1
fromEnum StateTypeArmed = 2
fromEnum StateTypeBusy = 3
fromEnum StateTypeChecked = 4
fromEnum StateTypeDefunct = 5
fromEnum StateTypeEditable = 6
fromEnum StateTypeEnabled = 7
fromEnum StateTypeExpandable = 8
fromEnum StateTypeExpanded = 9
fromEnum StateTypeFocusable = 10
fromEnum StateTypeFocused = 11
fromEnum StateTypeHorizontal = 12
fromEnum StateTypeIconified = 13
fromEnum StateTypeModal = 14
fromEnum StateTypeMultiLine = 15
fromEnum StateTypeMultiselectable = 16
fromEnum StateTypeOpaque = 17
fromEnum StateTypePressed = 18
fromEnum StateTypeResizable = 19
fromEnum StateTypeSelectable = 20
fromEnum StateTypeSelected = 21
fromEnum StateTypeSensitive = 22
fromEnum StateTypeShowing = 23
fromEnum StateTypeSingleLine = 24
fromEnum StateTypeStale = 25
fromEnum StateTypeTransient = 26
fromEnum StateTypeVertical = 27
fromEnum StateTypeVisible = 28
fromEnum StateTypeManagesDescendants = 29
fromEnum StateTypeIndeterminate = 30
fromEnum StateTypeTruncated = 31
fromEnum StateTypeRequired = 32
fromEnum StateTypeInvalidEntry = 33
fromEnum StateTypeSupportsAutocompletion = 34
fromEnum StateTypeSelectableText = 35
fromEnum StateTypeDefault = 36
fromEnum StateTypeAnimated = 37
fromEnum StateTypeVisited = 38
fromEnum StateTypeCheckable = 39
fromEnum StateTypeHasPopup = 40
fromEnum StateTypeHasTooltip = 41
fromEnum StateTypeReadOnly = 42
fromEnum StateTypeLastDefined = 43
fromEnum (AnotherStateType k :: Int
k) = Int
k
toEnum :: Int -> StateType
toEnum 0 = StateType
StateTypeInvalid
toEnum 1 = StateType
StateTypeActive
toEnum 2 = StateType
StateTypeArmed
toEnum 3 = StateType
StateTypeBusy
toEnum 4 = StateType
StateTypeChecked
toEnum 5 = StateType
StateTypeDefunct
toEnum 6 = StateType
StateTypeEditable
toEnum 7 = StateType
StateTypeEnabled
toEnum 8 = StateType
StateTypeExpandable
toEnum 9 = StateType
StateTypeExpanded
toEnum 10 = StateType
StateTypeFocusable
toEnum 11 = StateType
StateTypeFocused
toEnum 12 = StateType
StateTypeHorizontal
toEnum 13 = StateType
StateTypeIconified
toEnum 14 = StateType
StateTypeModal
toEnum 15 = StateType
StateTypeMultiLine
toEnum 16 = StateType
StateTypeMultiselectable
toEnum 17 = StateType
StateTypeOpaque
toEnum 18 = StateType
StateTypePressed
toEnum 19 = StateType
StateTypeResizable
toEnum 20 = StateType
StateTypeSelectable
toEnum 21 = StateType
StateTypeSelected
toEnum 22 = StateType
StateTypeSensitive
toEnum 23 = StateType
StateTypeShowing
toEnum 24 = StateType
StateTypeSingleLine
toEnum 25 = StateType
StateTypeStale
toEnum 26 = StateType
StateTypeTransient
toEnum 27 = StateType
StateTypeVertical
toEnum 28 = StateType
StateTypeVisible
toEnum 29 = StateType
StateTypeManagesDescendants
toEnum 30 = StateType
StateTypeIndeterminate
toEnum 31 = StateType
StateTypeTruncated
toEnum 32 = StateType
StateTypeRequired
toEnum 33 = StateType
StateTypeInvalidEntry
toEnum 34 = StateType
StateTypeSupportsAutocompletion
toEnum 35 = StateType
StateTypeSelectableText
toEnum 36 = StateType
StateTypeDefault
toEnum 37 = StateType
StateTypeAnimated
toEnum 38 = StateType
StateTypeVisited
toEnum 39 = StateType
StateTypeCheckable
toEnum 40 = StateType
StateTypeHasPopup
toEnum 41 = StateType
StateTypeHasTooltip
toEnum 42 = StateType
StateTypeReadOnly
toEnum 43 = StateType
StateTypeLastDefined
toEnum k :: Int
k = Int -> StateType
AnotherStateType Int
k
instance P.Ord StateType where
compare :: StateType -> StateType -> Ordering
compare a :: StateType
a b :: StateType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (StateType -> Int
forall a. Enum a => a -> Int
P.fromEnum StateType
a) (StateType -> Int
forall a. Enum a => a -> Int
P.fromEnum StateType
b)
foreign import ccall "atk_state_type_get_type" c_atk_state_type_get_type ::
IO GType
instance BoxedEnum StateType where
boxedEnumType :: StateType -> IO GType
boxedEnumType _ = IO GType
c_atk_state_type_get_type
data ScrollType =
ScrollTypeTopLeft
| ScrollTypeBottomRight
| ScrollTypeTopEdge
| ScrollTypeBottomEdge
| ScrollTypeLeftEdge
| ScrollTypeRightEdge
| ScrollTypeAnywhere
| AnotherScrollType Int
deriving (Int -> ScrollType -> ShowS
[ScrollType] -> ShowS
ScrollType -> String
(Int -> ScrollType -> ShowS)
-> (ScrollType -> String)
-> ([ScrollType] -> ShowS)
-> Show ScrollType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ScrollType] -> ShowS
$cshowList :: [ScrollType] -> ShowS
show :: ScrollType -> String
$cshow :: ScrollType -> String
showsPrec :: Int -> ScrollType -> ShowS
$cshowsPrec :: Int -> ScrollType -> ShowS
Show, ScrollType -> ScrollType -> Bool
(ScrollType -> ScrollType -> Bool)
-> (ScrollType -> ScrollType -> Bool) -> Eq ScrollType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ScrollType -> ScrollType -> Bool
$c/= :: ScrollType -> ScrollType -> Bool
== :: ScrollType -> ScrollType -> Bool
$c== :: ScrollType -> ScrollType -> Bool
Eq)
instance P.Enum ScrollType where
fromEnum :: ScrollType -> Int
fromEnum ScrollTypeTopLeft = 0
fromEnum ScrollTypeBottomRight = 1
fromEnum ScrollTypeTopEdge = 2
fromEnum ScrollTypeBottomEdge = 3
fromEnum ScrollTypeLeftEdge = 4
fromEnum ScrollTypeRightEdge = 5
fromEnum ScrollTypeAnywhere = 6
fromEnum (AnotherScrollType k :: Int
k) = Int
k
toEnum :: Int -> ScrollType
toEnum 0 = ScrollType
ScrollTypeTopLeft
toEnum 1 = ScrollType
ScrollTypeBottomRight
toEnum 2 = ScrollType
ScrollTypeTopEdge
toEnum 3 = ScrollType
ScrollTypeBottomEdge
toEnum 4 = ScrollType
ScrollTypeLeftEdge
toEnum 5 = ScrollType
ScrollTypeRightEdge
toEnum 6 = ScrollType
ScrollTypeAnywhere
toEnum k :: Int
k = Int -> ScrollType
AnotherScrollType Int
k
instance P.Ord ScrollType where
compare :: ScrollType -> ScrollType -> Ordering
compare a :: ScrollType
a b :: ScrollType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ScrollType -> Int
forall a. Enum a => a -> Int
P.fromEnum ScrollType
a) (ScrollType -> Int
forall a. Enum a => a -> Int
P.fromEnum ScrollType
b)
foreign import ccall "atk_scroll_type_get_type" c_atk_scroll_type_get_type ::
IO GType
instance BoxedEnum ScrollType where
boxedEnumType :: ScrollType -> IO GType
boxedEnumType _ = IO GType
c_atk_scroll_type_get_type
data Role =
RoleInvalid
| RoleAcceleratorLabel
| RoleAlert
| RoleAnimation
| RoleArrow
| RoleCalendar
| RoleCanvas
| RoleCheckBox
|
| RoleColorChooser
| RoleColumnHeader
| RoleComboBox
| RoleDateEditor
| RoleDesktopIcon
| RoleDesktopFrame
| RoleDial
| RoleDialog
| RoleDirectoryPane
| RoleDrawingArea
| RoleFileChooser
| RoleFiller
| RoleFontChooser
| RoleFrame
| RoleGlassPane
| RoleHtmlContainer
| RoleIcon
| RoleImage
| RoleInternalFrame
| RoleLabel
| RoleLayeredPane
| RoleList
| RoleListItem
|
|
|
| RoleOptionPane
| RolePageTab
| RolePageTabList
| RolePanel
| RolePasswordText
|
| RoleProgressBar
| RolePushButton
| RoleRadioButton
|
| RoleRootPane
|
| RoleScrollBar
| RoleScrollPane
| RoleSeparator
| RoleSlider
| RoleSplitPane
| RoleSpinButton
| RoleStatusbar
| RoleTable
| RoleTableCell
| RoleTableColumnHeader
|
|
| RoleTerminal
| RoleText
| RoleToggleButton
| RoleToolBar
| RoleToolTip
| RoleTree
| RoleTreeTable
| RoleUnknown
| RoleViewport
| RoleWindow
|
|
| RoleParagraph
| RoleRuler
| RoleApplication
| RoleAutocomplete
| RoleEditBar
| RoleEmbedded
| RoleEntry
| RoleChart
| RoleCaption
| RoleDocumentFrame
| RoleHeading
| RolePage
| RoleSection
| RoleRedundantObject
| RoleForm
| RoleLink
| RoleInputMethodWindow
| RoleTableRow
| RoleTreeItem
| RoleDocumentSpreadsheet
| RoleDocumentPresentation
| RoleDocumentText
| RoleDocumentWeb
| RoleDocumentEmail
|
| RoleListBox
| RoleGrouping
| RoleImageMap
| RoleNotification
| RoleInfoBar
| RoleLevelBar
| RoleTitleBar
| RoleBlockQuote
| RoleAudio
| RoleVideo
| RoleDefinition
| RoleArticle
| RoleLandmark
| RoleLog
| RoleMarquee
| RoleMath
| RoleRating
| RoleTimer
| RoleDescriptionList
| RoleDescriptionTerm
| RoleDescriptionValue
| RoleStatic
| RoleMathFraction
| RoleMathRoot
| RoleSubscript
| RoleSuperscript
|
| RoleLastDefined
| AnotherRole Int
deriving (Int -> Role -> ShowS
[Role] -> ShowS
Role -> String
(Int -> Role -> ShowS)
-> (Role -> String) -> ([Role] -> ShowS) -> Show Role
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Role] -> ShowS
$cshowList :: [Role] -> ShowS
show :: Role -> String
$cshow :: Role -> String
showsPrec :: Int -> Role -> ShowS
$cshowsPrec :: Int -> Role -> ShowS
Show, Role -> Role -> Bool
(Role -> Role -> Bool) -> (Role -> Role -> Bool) -> Eq Role
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Role -> Role -> Bool
$c/= :: Role -> Role -> Bool
== :: Role -> Role -> Bool
$c== :: Role -> Role -> Bool
Eq)
instance P.Enum Role where
fromEnum :: Role -> Int
fromEnum RoleInvalid = 0
fromEnum RoleAcceleratorLabel = 1
fromEnum RoleAlert = 2
fromEnum RoleAnimation = 3
fromEnum RoleArrow = 4
fromEnum RoleCalendar = 5
fromEnum RoleCanvas = 6
fromEnum RoleCheckBox = 7
fromEnum RoleCheckMenuItem = 8
fromEnum RoleColorChooser = 9
fromEnum RoleColumnHeader = 10
fromEnum RoleComboBox = 11
fromEnum RoleDateEditor = 12
fromEnum RoleDesktopIcon = 13
fromEnum RoleDesktopFrame = 14
fromEnum RoleDial = 15
fromEnum RoleDialog = 16
fromEnum RoleDirectoryPane = 17
fromEnum RoleDrawingArea = 18
fromEnum RoleFileChooser = 19
fromEnum RoleFiller = 20
fromEnum RoleFontChooser = 21
fromEnum RoleFrame = 22
fromEnum RoleGlassPane = 23
fromEnum RoleHtmlContainer = 24
fromEnum RoleIcon = 25
fromEnum RoleImage = 26
fromEnum RoleInternalFrame = 27
fromEnum RoleLabel = 28
fromEnum RoleLayeredPane = 29
fromEnum RoleList = 30
fromEnum RoleListItem = 31
fromEnum RoleMenu = 32
fromEnum RoleMenuBar = 33
fromEnum RoleMenuItem = 34
fromEnum RoleOptionPane = 35
fromEnum RolePageTab = 36
fromEnum RolePageTabList = 37
fromEnum RolePanel = 38
fromEnum RolePasswordText = 39
fromEnum RolePopupMenu = 40
fromEnum RoleProgressBar = 41
fromEnum RolePushButton = 42
fromEnum RoleRadioButton = 43
fromEnum RoleRadioMenuItem = 44
fromEnum RoleRootPane = 45
fromEnum RoleRowHeader = 46
fromEnum RoleScrollBar = 47
fromEnum RoleScrollPane = 48
fromEnum RoleSeparator = 49
fromEnum RoleSlider = 50
fromEnum RoleSplitPane = 51
fromEnum RoleSpinButton = 52
fromEnum RoleStatusbar = 53
fromEnum RoleTable = 54
fromEnum RoleTableCell = 55
fromEnum RoleTableColumnHeader = 56
fromEnum RoleTableRowHeader = 57
fromEnum RoleTearOffMenuItem = 58
fromEnum RoleTerminal = 59
fromEnum RoleText = 60
fromEnum RoleToggleButton = 61
fromEnum RoleToolBar = 62
fromEnum RoleToolTip = 63
fromEnum RoleTree = 64
fromEnum RoleTreeTable = 65
fromEnum RoleUnknown = 66
fromEnum RoleViewport = 67
fromEnum RoleWindow = 68
fromEnum RoleHeader = 69
fromEnum RoleFooter = 70
fromEnum RoleParagraph = 71
fromEnum RoleRuler = 72
fromEnum RoleApplication = 73
fromEnum RoleAutocomplete = 74
fromEnum RoleEditBar = 75
fromEnum RoleEmbedded = 76
fromEnum RoleEntry = 77
fromEnum RoleChart = 78
fromEnum RoleCaption = 79
fromEnum RoleDocumentFrame = 80
fromEnum RoleHeading = 81
fromEnum RolePage = 82
fromEnum RoleSection = 83
fromEnum RoleRedundantObject = 84
fromEnum RoleForm = 85
fromEnum RoleLink = 86
fromEnum RoleInputMethodWindow = 87
fromEnum RoleTableRow = 88
fromEnum RoleTreeItem = 89
fromEnum RoleDocumentSpreadsheet = 90
fromEnum RoleDocumentPresentation = 91
fromEnum RoleDocumentText = 92
fromEnum RoleDocumentWeb = 93
fromEnum RoleDocumentEmail = 94
fromEnum RoleComment = 95
fromEnum RoleListBox = 96
fromEnum RoleGrouping = 97
fromEnum RoleImageMap = 98
fromEnum RoleNotification = 99
fromEnum RoleInfoBar = 100
fromEnum RoleLevelBar = 101
fromEnum RoleTitleBar = 102
fromEnum RoleBlockQuote = 103
fromEnum RoleAudio = 104
fromEnum RoleVideo = 105
fromEnum RoleDefinition = 106
fromEnum RoleArticle = 107
fromEnum RoleLandmark = 108
fromEnum RoleLog = 109
fromEnum RoleMarquee = 110
fromEnum RoleMath = 111
fromEnum RoleRating = 112
fromEnum RoleTimer = 113
fromEnum RoleDescriptionList = 114
fromEnum RoleDescriptionTerm = 115
fromEnum RoleDescriptionValue = 116
fromEnum RoleStatic = 117
fromEnum RoleMathFraction = 118
fromEnum RoleMathRoot = 119
fromEnum RoleSubscript = 120
fromEnum RoleSuperscript = 121
fromEnum RoleFootnote = 122
fromEnum RoleLastDefined = 123
fromEnum (AnotherRole k :: Int
k) = Int
k
toEnum :: Int -> Role
toEnum 0 = Role
RoleInvalid
toEnum 1 = Role
RoleAcceleratorLabel
toEnum 2 = Role
RoleAlert
toEnum 3 = Role
RoleAnimation
toEnum 4 = Role
RoleArrow
toEnum 5 = Role
RoleCalendar
toEnum 6 = Role
RoleCanvas
toEnum 7 = Role
RoleCheckBox
toEnum 8 = Role
RoleCheckMenuItem
toEnum 9 = Role
RoleColorChooser
toEnum 10 = Role
RoleColumnHeader
toEnum 11 = Role
RoleComboBox
toEnum 12 = Role
RoleDateEditor
toEnum 13 = Role
RoleDesktopIcon
toEnum 14 = Role
RoleDesktopFrame
toEnum 15 = Role
RoleDial
toEnum 16 = Role
RoleDialog
toEnum 17 = Role
RoleDirectoryPane
toEnum 18 = Role
RoleDrawingArea
toEnum 19 = Role
RoleFileChooser
toEnum 20 = Role
RoleFiller
toEnum 21 = Role
RoleFontChooser
toEnum 22 = Role
RoleFrame
toEnum 23 = Role
RoleGlassPane
toEnum 24 = Role
RoleHtmlContainer
toEnum 25 = Role
RoleIcon
toEnum 26 = Role
RoleImage
toEnum 27 = Role
RoleInternalFrame
toEnum 28 = Role
RoleLabel
toEnum 29 = Role
RoleLayeredPane
toEnum 30 = Role
RoleList
toEnum 31 = Role
RoleListItem
toEnum 32 = Role
RoleMenu
toEnum 33 = Role
RoleMenuBar
toEnum 34 = Role
RoleMenuItem
toEnum 35 = Role
RoleOptionPane
toEnum 36 = Role
RolePageTab
toEnum 37 = Role
RolePageTabList
toEnum 38 = Role
RolePanel
toEnum 39 = Role
RolePasswordText
toEnum 40 = Role
RolePopupMenu
toEnum 41 = Role
RoleProgressBar
toEnum 42 = Role
RolePushButton
toEnum 43 = Role
RoleRadioButton
toEnum 44 = Role
RoleRadioMenuItem
toEnum 45 = Role
RoleRootPane
toEnum 46 = Role
RoleRowHeader
toEnum 47 = Role
RoleScrollBar
toEnum 48 = Role
RoleScrollPane
toEnum 49 = Role
RoleSeparator
toEnum 50 = Role
RoleSlider
toEnum 51 = Role
RoleSplitPane
toEnum 52 = Role
RoleSpinButton
toEnum 53 = Role
RoleStatusbar
toEnum 54 = Role
RoleTable
toEnum 55 = Role
RoleTableCell
toEnum 56 = Role
RoleTableColumnHeader
toEnum 57 = Role
RoleTableRowHeader
toEnum 58 = Role
RoleTearOffMenuItem
toEnum 59 = Role
RoleTerminal
toEnum 60 = Role
RoleText
toEnum 61 = Role
RoleToggleButton
toEnum 62 = Role
RoleToolBar
toEnum 63 = Role
RoleToolTip
toEnum 64 = Role
RoleTree
toEnum 65 = Role
RoleTreeTable
toEnum 66 = Role
RoleUnknown
toEnum 67 = Role
RoleViewport
toEnum 68 = Role
RoleWindow
toEnum 69 = Role
RoleHeader
toEnum 70 = Role
RoleFooter
toEnum 71 = Role
RoleParagraph
toEnum 72 = Role
RoleRuler
toEnum 73 = Role
RoleApplication
toEnum 74 = Role
RoleAutocomplete
toEnum 75 = Role
RoleEditBar
toEnum 76 = Role
RoleEmbedded
toEnum 77 = Role
RoleEntry
toEnum 78 = Role
RoleChart
toEnum 79 = Role
RoleCaption
toEnum 80 = Role
RoleDocumentFrame
toEnum 81 = Role
RoleHeading
toEnum 82 = Role
RolePage
toEnum 83 = Role
RoleSection
toEnum 84 = Role
RoleRedundantObject
toEnum 85 = Role
RoleForm
toEnum 86 = Role
RoleLink
toEnum 87 = Role
RoleInputMethodWindow
toEnum 88 = Role
RoleTableRow
toEnum 89 = Role
RoleTreeItem
toEnum 90 = Role
RoleDocumentSpreadsheet
toEnum 91 = Role
RoleDocumentPresentation
toEnum 92 = Role
RoleDocumentText
toEnum 93 = Role
RoleDocumentWeb
toEnum 94 = Role
RoleDocumentEmail
toEnum 95 = Role
RoleComment
toEnum 96 = Role
RoleListBox
toEnum 97 = Role
RoleGrouping
toEnum 98 = Role
RoleImageMap
toEnum 99 = Role
RoleNotification
toEnum 100 = Role
RoleInfoBar
toEnum 101 = Role
RoleLevelBar
toEnum 102 = Role
RoleTitleBar
toEnum 103 = Role
RoleBlockQuote
toEnum 104 = Role
RoleAudio
toEnum 105 = Role
RoleVideo
toEnum 106 = Role
RoleDefinition
toEnum 107 = Role
RoleArticle
toEnum 108 = Role
RoleLandmark
toEnum 109 = Role
RoleLog
toEnum 110 = Role
RoleMarquee
toEnum 111 = Role
RoleMath
toEnum 112 = Role
RoleRating
toEnum 113 = Role
RoleTimer
toEnum 114 = Role
RoleDescriptionList
toEnum 115 = Role
RoleDescriptionTerm
toEnum 116 = Role
RoleDescriptionValue
toEnum 117 = Role
RoleStatic
toEnum 118 = Role
RoleMathFraction
toEnum 119 = Role
RoleMathRoot
toEnum 120 = Role
RoleSubscript
toEnum 121 = Role
RoleSuperscript
toEnum 122 = Role
RoleFootnote
toEnum 123 = Role
RoleLastDefined
toEnum k :: Int
k = Int -> Role
AnotherRole Int
k
instance P.Ord Role where
compare :: Role -> Role -> Ordering
compare a :: Role
a b :: Role
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (Role -> Int
forall a. Enum a => a -> Int
P.fromEnum Role
a) (Role -> Int
forall a. Enum a => a -> Int
P.fromEnum Role
b)
foreign import ccall "atk_role_get_type" c_atk_role_get_type ::
IO GType
instance BoxedEnum Role where
boxedEnumType :: Role -> IO GType
boxedEnumType _ = IO GType
c_atk_role_get_type
data RelationType =
RelationTypeNull
| RelationTypeControlledBy
| RelationTypeControllerFor
| RelationTypeLabelFor
| RelationTypeLabelledBy
| RelationTypeMemberOf
| RelationTypeNodeChildOf
| RelationTypeFlowsTo
| RelationTypeFlowsFrom
| RelationTypeSubwindowOf
| RelationTypeEmbeds
| RelationTypeEmbeddedBy
|
| RelationTypeParentWindowOf
| RelationTypeDescribedBy
| RelationTypeDescriptionFor
| RelationTypeNodeParentOf
| RelationTypeDetails
| RelationTypeDetailsFor
| RelationTypeErrorMessage
| RelationTypeErrorFor
| RelationTypeLastDefined
| AnotherRelationType Int
deriving (Int -> RelationType -> ShowS
[RelationType] -> ShowS
RelationType -> String
(Int -> RelationType -> ShowS)
-> (RelationType -> String)
-> ([RelationType] -> ShowS)
-> Show RelationType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RelationType] -> ShowS
$cshowList :: [RelationType] -> ShowS
show :: RelationType -> String
$cshow :: RelationType -> String
showsPrec :: Int -> RelationType -> ShowS
$cshowsPrec :: Int -> RelationType -> ShowS
Show, RelationType -> RelationType -> Bool
(RelationType -> RelationType -> Bool)
-> (RelationType -> RelationType -> Bool) -> Eq RelationType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RelationType -> RelationType -> Bool
$c/= :: RelationType -> RelationType -> Bool
== :: RelationType -> RelationType -> Bool
$c== :: RelationType -> RelationType -> Bool
Eq)
instance P.Enum RelationType where
fromEnum :: RelationType -> Int
fromEnum RelationTypeNull = 0
fromEnum RelationTypeControlledBy = 1
fromEnum RelationTypeControllerFor = 2
fromEnum RelationTypeLabelFor = 3
fromEnum RelationTypeLabelledBy = 4
fromEnum RelationTypeMemberOf = 5
fromEnum RelationTypeNodeChildOf = 6
fromEnum RelationTypeFlowsTo = 7
fromEnum RelationTypeFlowsFrom = 8
fromEnum RelationTypeSubwindowOf = 9
fromEnum RelationTypeEmbeds = 10
fromEnum RelationTypeEmbeddedBy = 11
fromEnum RelationTypePopupFor = 12
fromEnum RelationTypeParentWindowOf = 13
fromEnum RelationTypeDescribedBy = 14
fromEnum RelationTypeDescriptionFor = 15
fromEnum RelationTypeNodeParentOf = 16
fromEnum RelationTypeDetails = 17
fromEnum RelationTypeDetailsFor = 18
fromEnum RelationTypeErrorMessage = 19
fromEnum RelationTypeErrorFor = 20
fromEnum RelationTypeLastDefined = 21
fromEnum (AnotherRelationType k :: Int
k) = Int
k
toEnum :: Int -> RelationType
toEnum 0 = RelationType
RelationTypeNull
toEnum 1 = RelationType
RelationTypeControlledBy
toEnum 2 = RelationType
RelationTypeControllerFor
toEnum 3 = RelationType
RelationTypeLabelFor
toEnum 4 = RelationType
RelationTypeLabelledBy
toEnum 5 = RelationType
RelationTypeMemberOf
toEnum 6 = RelationType
RelationTypeNodeChildOf
toEnum 7 = RelationType
RelationTypeFlowsTo
toEnum 8 = RelationType
RelationTypeFlowsFrom
toEnum 9 = RelationType
RelationTypeSubwindowOf
toEnum 10 = RelationType
RelationTypeEmbeds
toEnum 11 = RelationType
RelationTypeEmbeddedBy
toEnum 12 = RelationType
RelationTypePopupFor
toEnum 13 = RelationType
RelationTypeParentWindowOf
toEnum 14 = RelationType
RelationTypeDescribedBy
toEnum 15 = RelationType
RelationTypeDescriptionFor
toEnum 16 = RelationType
RelationTypeNodeParentOf
toEnum 17 = RelationType
RelationTypeDetails
toEnum 18 = RelationType
RelationTypeDetailsFor
toEnum 19 = RelationType
RelationTypeErrorMessage
toEnum 20 = RelationType
RelationTypeErrorFor
toEnum 21 = RelationType
RelationTypeLastDefined
toEnum k :: Int
k = Int -> RelationType
AnotherRelationType Int
k
instance P.Ord RelationType where
compare :: RelationType -> RelationType -> Ordering
compare a :: RelationType
a b :: RelationType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (RelationType -> Int
forall a. Enum a => a -> Int
P.fromEnum RelationType
a) (RelationType -> Int
forall a. Enum a => a -> Int
P.fromEnum RelationType
b)
foreign import ccall "atk_relation_type_get_type" c_atk_relation_type_get_type ::
IO GType
instance BoxedEnum RelationType where
boxedEnumType :: RelationType -> IO GType
boxedEnumType _ = IO GType
c_atk_relation_type_get_type
data Layer =
LayerInvalid
| LayerBackground
| LayerCanvas
| LayerWidget
| LayerMdi
|
| LayerOverlay
| LayerWindow
| AnotherLayer Int
deriving (Int -> Layer -> ShowS
[Layer] -> ShowS
Layer -> String
(Int -> Layer -> ShowS)
-> (Layer -> String) -> ([Layer] -> ShowS) -> Show Layer
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Layer] -> ShowS
$cshowList :: [Layer] -> ShowS
show :: Layer -> String
$cshow :: Layer -> String
showsPrec :: Int -> Layer -> ShowS
$cshowsPrec :: Int -> Layer -> ShowS
Show, Layer -> Layer -> Bool
(Layer -> Layer -> Bool) -> (Layer -> Layer -> Bool) -> Eq Layer
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Layer -> Layer -> Bool
$c/= :: Layer -> Layer -> Bool
== :: Layer -> Layer -> Bool
$c== :: Layer -> Layer -> Bool
Eq)
instance P.Enum Layer where
fromEnum :: Layer -> Int
fromEnum LayerInvalid = 0
fromEnum LayerBackground = 1
fromEnum LayerCanvas = 2
fromEnum LayerWidget = 3
fromEnum LayerMdi = 4
fromEnum LayerPopup = 5
fromEnum LayerOverlay = 6
fromEnum LayerWindow = 7
fromEnum (AnotherLayer k :: Int
k) = Int
k
toEnum :: Int -> Layer
toEnum 0 = Layer
LayerInvalid
toEnum 1 = Layer
LayerBackground
toEnum 2 = Layer
LayerCanvas
toEnum 3 = Layer
LayerWidget
toEnum 4 = Layer
LayerMdi
toEnum 5 = Layer
LayerPopup
toEnum 6 = Layer
LayerOverlay
toEnum 7 = Layer
LayerWindow
toEnum k :: Int
k = Int -> Layer
AnotherLayer Int
k
instance P.Ord Layer where
compare :: Layer -> Layer -> Ordering
compare a :: Layer
a b :: Layer
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (Layer -> Int
forall a. Enum a => a -> Int
P.fromEnum Layer
a) (Layer -> Int
forall a. Enum a => a -> Int
P.fromEnum Layer
b)
foreign import ccall "atk_layer_get_type" c_atk_layer_get_type ::
IO GType
instance BoxedEnum Layer where
boxedEnumType :: Layer -> IO GType
boxedEnumType _ = IO GType
c_atk_layer_get_type
data KeyEventType =
KeyEventTypePress
| KeyEventTypeRelease
| KeyEventTypeLastDefined
| AnotherKeyEventType Int
deriving (Int -> KeyEventType -> ShowS
[KeyEventType] -> ShowS
KeyEventType -> String
(Int -> KeyEventType -> ShowS)
-> (KeyEventType -> String)
-> ([KeyEventType] -> ShowS)
-> Show KeyEventType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [KeyEventType] -> ShowS
$cshowList :: [KeyEventType] -> ShowS
show :: KeyEventType -> String
$cshow :: KeyEventType -> String
showsPrec :: Int -> KeyEventType -> ShowS
$cshowsPrec :: Int -> KeyEventType -> ShowS
Show, KeyEventType -> KeyEventType -> Bool
(KeyEventType -> KeyEventType -> Bool)
-> (KeyEventType -> KeyEventType -> Bool) -> Eq KeyEventType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: KeyEventType -> KeyEventType -> Bool
$c/= :: KeyEventType -> KeyEventType -> Bool
== :: KeyEventType -> KeyEventType -> Bool
$c== :: KeyEventType -> KeyEventType -> Bool
Eq)
instance P.Enum KeyEventType where
fromEnum :: KeyEventType -> Int
fromEnum KeyEventTypePress = 0
fromEnum KeyEventTypeRelease = 1
fromEnum KeyEventTypeLastDefined = 2
fromEnum (AnotherKeyEventType k :: Int
k) = Int
k
toEnum :: Int -> KeyEventType
toEnum 0 = KeyEventType
KeyEventTypePress
toEnum 1 = KeyEventType
KeyEventTypeRelease
toEnum 2 = KeyEventType
KeyEventTypeLastDefined
toEnum k :: Int
k = Int -> KeyEventType
AnotherKeyEventType Int
k
instance P.Ord KeyEventType where
compare :: KeyEventType -> KeyEventType -> Ordering
compare a :: KeyEventType
a b :: KeyEventType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (KeyEventType -> Int
forall a. Enum a => a -> Int
P.fromEnum KeyEventType
a) (KeyEventType -> Int
forall a. Enum a => a -> Int
P.fromEnum KeyEventType
b)
foreign import ccall "atk_key_event_type_get_type" c_atk_key_event_type_get_type ::
IO GType
instance BoxedEnum KeyEventType where
boxedEnumType :: KeyEventType -> IO GType
boxedEnumType _ = IO GType
c_atk_key_event_type_get_type
data CoordType =
CoordTypeScreen
| CoordTypeWindow
| CoordTypeParent
| AnotherCoordType Int
deriving (Int -> CoordType -> ShowS
[CoordType] -> ShowS
CoordType -> String
(Int -> CoordType -> ShowS)
-> (CoordType -> String)
-> ([CoordType] -> ShowS)
-> Show CoordType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CoordType] -> ShowS
$cshowList :: [CoordType] -> ShowS
show :: CoordType -> String
$cshow :: CoordType -> String
showsPrec :: Int -> CoordType -> ShowS
$cshowsPrec :: Int -> CoordType -> ShowS
Show, CoordType -> CoordType -> Bool
(CoordType -> CoordType -> Bool)
-> (CoordType -> CoordType -> Bool) -> Eq CoordType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CoordType -> CoordType -> Bool
$c/= :: CoordType -> CoordType -> Bool
== :: CoordType -> CoordType -> Bool
$c== :: CoordType -> CoordType -> Bool
Eq)
instance P.Enum CoordType where
fromEnum :: CoordType -> Int
fromEnum CoordTypeScreen = 0
fromEnum CoordTypeWindow = 1
fromEnum CoordTypeParent = 2
fromEnum (AnotherCoordType k :: Int
k) = Int
k
toEnum :: Int -> CoordType
toEnum 0 = CoordType
CoordTypeScreen
toEnum 1 = CoordType
CoordTypeWindow
toEnum 2 = CoordType
CoordTypeParent
toEnum k :: Int
k = Int -> CoordType
AnotherCoordType Int
k
instance P.Ord CoordType where
compare :: CoordType -> CoordType -> Ordering
compare a :: CoordType
a b :: CoordType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (CoordType -> Int
forall a. Enum a => a -> Int
P.fromEnum CoordType
a) (CoordType -> Int
forall a. Enum a => a -> Int
P.fromEnum CoordType
b)
foreign import ccall "atk_coord_type_get_type" c_atk_coord_type_get_type ::
IO GType
instance BoxedEnum CoordType where
boxedEnumType :: CoordType -> IO GType
boxedEnumType _ = IO GType
c_atk_coord_type_get_type