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