#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Clutter.Enums
(
ActorAlign(..) ,
AlignAxis(..) ,
AnimationMode(..) ,
BinAlignment(..) ,
BindCoordinate(..) ,
BoxAlignment(..) ,
ContentGravity(..) ,
DragAxis(..) ,
EventType(..) ,
FlowOrientation(..) ,
GestureTriggerEdge(..) ,
Gravity(..) ,
GridPosition(..) ,
ImageError(..) ,
catchImageError ,
handleImageError ,
InitError(..) ,
catchInitError ,
handleInitError ,
InputAxis(..) ,
InputDeviceType(..) ,
InputMode(..) ,
Interpolation(..) ,
LongPressState(..) ,
Orientation(..) ,
PanAxis(..) ,
PathNodeType(..) ,
PickMode(..) ,
RequestMode(..) ,
RotateAxis(..) ,
RotateDirection(..) ,
ScalingFilter(..) ,
ScriptError(..) ,
catchScriptError ,
handleScriptError ,
ScrollDirection(..) ,
ScrollSource(..) ,
ShaderError(..) ,
catchShaderError ,
handleShaderError ,
ShaderType(..) ,
SnapEdge(..) ,
StaticColor(..) ,
StepMode(..) ,
TableAlignment(..) ,
TextDirection(..) ,
TextureError(..) ,
catchTextureError ,
handleTextureError ,
TextureQuality(..) ,
TimelineDirection(..) ,
TouchpadGesturePhase(..) ,
UnitType(..) ,
ZoomAxis(..) ,
) 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.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GHashTable as B.GHT
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.Coerce as Coerce
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
import qualified GHC.Records as R
data ZoomAxis =
ZoomAxisXAxis
| ZoomAxisYAxis
| ZoomAxisBoth
| AnotherZoomAxis Int
deriving (Int -> ZoomAxis -> ShowS
[ZoomAxis] -> ShowS
ZoomAxis -> String
(Int -> ZoomAxis -> ShowS)
-> (ZoomAxis -> String) -> ([ZoomAxis] -> ShowS) -> Show ZoomAxis
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ZoomAxis -> ShowS
showsPrec :: Int -> ZoomAxis -> ShowS
$cshow :: ZoomAxis -> String
show :: ZoomAxis -> String
$cshowList :: [ZoomAxis] -> ShowS
showList :: [ZoomAxis] -> ShowS
Show, ZoomAxis -> ZoomAxis -> Bool
(ZoomAxis -> ZoomAxis -> Bool)
-> (ZoomAxis -> ZoomAxis -> Bool) -> Eq ZoomAxis
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ZoomAxis -> ZoomAxis -> Bool
== :: ZoomAxis -> ZoomAxis -> Bool
$c/= :: ZoomAxis -> ZoomAxis -> Bool
/= :: ZoomAxis -> ZoomAxis -> Bool
Eq)
instance P.Enum ZoomAxis where
fromEnum :: ZoomAxis -> Int
fromEnum ZoomAxis
ZoomAxisXAxis = Int
0
fromEnum ZoomAxis
ZoomAxisYAxis = Int
1
fromEnum ZoomAxis
ZoomAxisBoth = Int
2
fromEnum (AnotherZoomAxis Int
k) = Int
k
toEnum :: Int -> ZoomAxis
toEnum Int
0 = ZoomAxis
ZoomAxisXAxis
toEnum Int
1 = ZoomAxis
ZoomAxisYAxis
toEnum Int
2 = ZoomAxis
ZoomAxisBoth
toEnum Int
k = Int -> ZoomAxis
AnotherZoomAxis Int
k
instance P.Ord ZoomAxis where
compare :: ZoomAxis -> ZoomAxis -> Ordering
compare ZoomAxis
a ZoomAxis
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ZoomAxis -> Int
forall a. Enum a => a -> Int
P.fromEnum ZoomAxis
a) (ZoomAxis -> Int
forall a. Enum a => a -> Int
P.fromEnum ZoomAxis
b)
type instance O.ParentTypes ZoomAxis = '[]
instance O.HasParentTypes ZoomAxis
foreign import ccall "clutter_zoom_axis_get_type" c_clutter_zoom_axis_get_type ::
IO GType
instance B.Types.TypedObject ZoomAxis where
glibType :: IO GType
glibType = IO GType
c_clutter_zoom_axis_get_type
instance B.Types.BoxedEnum ZoomAxis
data UnitType =
UnitTypePixel
| UnitTypeEm
| UnitTypeMm
| UnitTypePoint
| UnitTypeCm
| AnotherUnitType Int
deriving (Int -> UnitType -> ShowS
[UnitType] -> ShowS
UnitType -> String
(Int -> UnitType -> ShowS)
-> (UnitType -> String) -> ([UnitType] -> ShowS) -> Show UnitType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> UnitType -> ShowS
showsPrec :: Int -> UnitType -> ShowS
$cshow :: UnitType -> String
show :: UnitType -> String
$cshowList :: [UnitType] -> ShowS
showList :: [UnitType] -> ShowS
Show, UnitType -> UnitType -> Bool
(UnitType -> UnitType -> Bool)
-> (UnitType -> UnitType -> Bool) -> Eq UnitType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: UnitType -> UnitType -> Bool
== :: UnitType -> UnitType -> Bool
$c/= :: UnitType -> UnitType -> Bool
/= :: UnitType -> UnitType -> Bool
Eq)
instance P.Enum UnitType where
fromEnum :: UnitType -> Int
fromEnum UnitType
UnitTypePixel = Int
0
fromEnum UnitType
UnitTypeEm = Int
1
fromEnum UnitType
UnitTypeMm = Int
2
fromEnum UnitType
UnitTypePoint = Int
3
fromEnum UnitType
UnitTypeCm = Int
4
fromEnum (AnotherUnitType Int
k) = Int
k
toEnum :: Int -> UnitType
toEnum Int
0 = UnitType
UnitTypePixel
toEnum Int
1 = UnitType
UnitTypeEm
toEnum Int
2 = UnitType
UnitTypeMm
toEnum Int
3 = UnitType
UnitTypePoint
toEnum Int
4 = UnitType
UnitTypeCm
toEnum Int
k = Int -> UnitType
AnotherUnitType Int
k
instance P.Ord UnitType where
compare :: UnitType -> UnitType -> Ordering
compare UnitType
a UnitType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (UnitType -> Int
forall a. Enum a => a -> Int
P.fromEnum UnitType
a) (UnitType -> Int
forall a. Enum a => a -> Int
P.fromEnum UnitType
b)
type instance O.ParentTypes UnitType = '[]
instance O.HasParentTypes UnitType
foreign import ccall "clutter_unit_type_get_type" c_clutter_unit_type_get_type ::
IO GType
instance B.Types.TypedObject UnitType where
glibType :: IO GType
glibType = IO GType
c_clutter_unit_type_get_type
instance B.Types.BoxedEnum UnitType
data TouchpadGesturePhase =
TouchpadGesturePhaseBegin
| TouchpadGesturePhaseUpdate
| TouchpadGesturePhaseEnd
| TouchpadGesturePhaseCancel
| AnotherTouchpadGesturePhase Int
deriving (Int -> TouchpadGesturePhase -> ShowS
[TouchpadGesturePhase] -> ShowS
TouchpadGesturePhase -> String
(Int -> TouchpadGesturePhase -> ShowS)
-> (TouchpadGesturePhase -> String)
-> ([TouchpadGesturePhase] -> ShowS)
-> Show TouchpadGesturePhase
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TouchpadGesturePhase -> ShowS
showsPrec :: Int -> TouchpadGesturePhase -> ShowS
$cshow :: TouchpadGesturePhase -> String
show :: TouchpadGesturePhase -> String
$cshowList :: [TouchpadGesturePhase] -> ShowS
showList :: [TouchpadGesturePhase] -> ShowS
Show, TouchpadGesturePhase -> TouchpadGesturePhase -> Bool
(TouchpadGesturePhase -> TouchpadGesturePhase -> Bool)
-> (TouchpadGesturePhase -> TouchpadGesturePhase -> Bool)
-> Eq TouchpadGesturePhase
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TouchpadGesturePhase -> TouchpadGesturePhase -> Bool
== :: TouchpadGesturePhase -> TouchpadGesturePhase -> Bool
$c/= :: TouchpadGesturePhase -> TouchpadGesturePhase -> Bool
/= :: TouchpadGesturePhase -> TouchpadGesturePhase -> Bool
Eq)
instance P.Enum TouchpadGesturePhase where
fromEnum :: TouchpadGesturePhase -> Int
fromEnum TouchpadGesturePhase
TouchpadGesturePhaseBegin = Int
0
fromEnum TouchpadGesturePhase
TouchpadGesturePhaseUpdate = Int
1
fromEnum TouchpadGesturePhase
TouchpadGesturePhaseEnd = Int
2
fromEnum TouchpadGesturePhase
TouchpadGesturePhaseCancel = Int
3
fromEnum (AnotherTouchpadGesturePhase Int
k) = Int
k
toEnum :: Int -> TouchpadGesturePhase
toEnum Int
0 = TouchpadGesturePhase
TouchpadGesturePhaseBegin
toEnum Int
1 = TouchpadGesturePhase
TouchpadGesturePhaseUpdate
toEnum Int
2 = TouchpadGesturePhase
TouchpadGesturePhaseEnd
toEnum Int
3 = TouchpadGesturePhase
TouchpadGesturePhaseCancel
toEnum Int
k = Int -> TouchpadGesturePhase
AnotherTouchpadGesturePhase Int
k
instance P.Ord TouchpadGesturePhase where
compare :: TouchpadGesturePhase -> TouchpadGesturePhase -> Ordering
compare TouchpadGesturePhase
a TouchpadGesturePhase
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TouchpadGesturePhase -> Int
forall a. Enum a => a -> Int
P.fromEnum TouchpadGesturePhase
a) (TouchpadGesturePhase -> Int
forall a. Enum a => a -> Int
P.fromEnum TouchpadGesturePhase
b)
type instance O.ParentTypes TouchpadGesturePhase = '[]
instance O.HasParentTypes TouchpadGesturePhase
foreign import ccall "clutter_touchpad_gesture_phase_get_type" c_clutter_touchpad_gesture_phase_get_type ::
IO GType
instance B.Types.TypedObject TouchpadGesturePhase where
glibType :: IO GType
glibType = IO GType
c_clutter_touchpad_gesture_phase_get_type
instance B.Types.BoxedEnum TouchpadGesturePhase
data TimelineDirection =
TimelineDirectionForward
| TimelineDirectionBackward
| AnotherTimelineDirection Int
deriving (Int -> TimelineDirection -> ShowS
[TimelineDirection] -> ShowS
TimelineDirection -> String
(Int -> TimelineDirection -> ShowS)
-> (TimelineDirection -> String)
-> ([TimelineDirection] -> ShowS)
-> Show TimelineDirection
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TimelineDirection -> ShowS
showsPrec :: Int -> TimelineDirection -> ShowS
$cshow :: TimelineDirection -> String
show :: TimelineDirection -> String
$cshowList :: [TimelineDirection] -> ShowS
showList :: [TimelineDirection] -> ShowS
Show, TimelineDirection -> TimelineDirection -> Bool
(TimelineDirection -> TimelineDirection -> Bool)
-> (TimelineDirection -> TimelineDirection -> Bool)
-> Eq TimelineDirection
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TimelineDirection -> TimelineDirection -> Bool
== :: TimelineDirection -> TimelineDirection -> Bool
$c/= :: TimelineDirection -> TimelineDirection -> Bool
/= :: TimelineDirection -> TimelineDirection -> Bool
Eq)
instance P.Enum TimelineDirection where
fromEnum :: TimelineDirection -> Int
fromEnum TimelineDirection
TimelineDirectionForward = Int
0
fromEnum TimelineDirection
TimelineDirectionBackward = Int
1
fromEnum (AnotherTimelineDirection Int
k) = Int
k
toEnum :: Int -> TimelineDirection
toEnum Int
0 = TimelineDirection
TimelineDirectionForward
toEnum Int
1 = TimelineDirection
TimelineDirectionBackward
toEnum Int
k = Int -> TimelineDirection
AnotherTimelineDirection Int
k
instance P.Ord TimelineDirection where
compare :: TimelineDirection -> TimelineDirection -> Ordering
compare TimelineDirection
a TimelineDirection
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TimelineDirection -> Int
forall a. Enum a => a -> Int
P.fromEnum TimelineDirection
a) (TimelineDirection -> Int
forall a. Enum a => a -> Int
P.fromEnum TimelineDirection
b)
type instance O.ParentTypes TimelineDirection = '[]
instance O.HasParentTypes TimelineDirection
foreign import ccall "clutter_timeline_direction_get_type" c_clutter_timeline_direction_get_type ::
IO GType
instance B.Types.TypedObject TimelineDirection where
glibType :: IO GType
glibType = IO GType
c_clutter_timeline_direction_get_type
instance B.Types.BoxedEnum TimelineDirection
{-# DEPRECATED TextureQuality ["(Since version 1.22)","The t'GI.Clutter.Objects.Texture.Texture' class was the only used ot"," this API; use t'GI.Clutter.Objects.Image.Image' and 'GI.Clutter.Objects.Actor.actorSetContentScalingFilters'"," instead."] #-}
data TextureQuality =
TextureQualityLow
| TextureQualityMedium
| TextureQualityHigh
| AnotherTextureQuality Int
deriving (Int -> TextureQuality -> ShowS
[TextureQuality] -> ShowS
TextureQuality -> String
(Int -> TextureQuality -> ShowS)
-> (TextureQuality -> String)
-> ([TextureQuality] -> ShowS)
-> Show TextureQuality
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TextureQuality -> ShowS
showsPrec :: Int -> TextureQuality -> ShowS
$cshow :: TextureQuality -> String
show :: TextureQuality -> String
$cshowList :: [TextureQuality] -> ShowS
showList :: [TextureQuality] -> ShowS
Show, TextureQuality -> TextureQuality -> Bool
(TextureQuality -> TextureQuality -> Bool)
-> (TextureQuality -> TextureQuality -> Bool) -> Eq TextureQuality
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TextureQuality -> TextureQuality -> Bool
== :: TextureQuality -> TextureQuality -> Bool
$c/= :: TextureQuality -> TextureQuality -> Bool
/= :: TextureQuality -> TextureQuality -> Bool
Eq)
instance P.Enum TextureQuality where
fromEnum :: TextureQuality -> Int
fromEnum TextureQuality
TextureQualityLow = Int
0
fromEnum TextureQuality
TextureQualityMedium = Int
1
fromEnum TextureQuality
TextureQualityHigh = Int
2
fromEnum (AnotherTextureQuality Int
k) = Int
k
toEnum :: Int -> TextureQuality
toEnum Int
0 = TextureQuality
TextureQualityLow
toEnum Int
1 = TextureQuality
TextureQualityMedium
toEnum Int
2 = TextureQuality
TextureQualityHigh
toEnum Int
k = Int -> TextureQuality
AnotherTextureQuality Int
k
instance P.Ord TextureQuality where
compare :: TextureQuality -> TextureQuality -> Ordering
compare TextureQuality
a TextureQuality
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TextureQuality -> Int
forall a. Enum a => a -> Int
P.fromEnum TextureQuality
a) (TextureQuality -> Int
forall a. Enum a => a -> Int
P.fromEnum TextureQuality
b)
type instance O.ParentTypes TextureQuality = '[]
instance O.HasParentTypes TextureQuality
foreign import ccall "clutter_texture_quality_get_type" c_clutter_texture_quality_get_type ::
IO GType
instance B.Types.TypedObject TextureQuality where
glibType :: IO GType
glibType = IO GType
c_clutter_texture_quality_get_type
instance B.Types.BoxedEnum TextureQuality
data TextureError =
TextureErrorOutOfMemory
| TextureErrorNoYuv
| TextureErrorBadFormat
| AnotherTextureError Int
deriving (Int -> TextureError -> ShowS
[TextureError] -> ShowS
TextureError -> String
(Int -> TextureError -> ShowS)
-> (TextureError -> String)
-> ([TextureError] -> ShowS)
-> Show TextureError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TextureError -> ShowS
showsPrec :: Int -> TextureError -> ShowS
$cshow :: TextureError -> String
show :: TextureError -> String
$cshowList :: [TextureError] -> ShowS
showList :: [TextureError] -> ShowS
Show, TextureError -> TextureError -> Bool
(TextureError -> TextureError -> Bool)
-> (TextureError -> TextureError -> Bool) -> Eq TextureError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TextureError -> TextureError -> Bool
== :: TextureError -> TextureError -> Bool
$c/= :: TextureError -> TextureError -> Bool
/= :: TextureError -> TextureError -> Bool
Eq)
instance P.Enum TextureError where
fromEnum :: TextureError -> Int
fromEnum TextureError
TextureErrorOutOfMemory = Int
0
fromEnum TextureError
TextureErrorNoYuv = Int
1
fromEnum TextureError
TextureErrorBadFormat = Int
2
fromEnum (AnotherTextureError Int
k) = Int
k
toEnum :: Int -> TextureError
toEnum Int
0 = TextureError
TextureErrorOutOfMemory
toEnum Int
1 = TextureError
TextureErrorNoYuv
toEnum Int
2 = TextureError
TextureErrorBadFormat
toEnum Int
k = Int -> TextureError
AnotherTextureError Int
k
instance P.Ord TextureError where
compare :: TextureError -> TextureError -> Ordering
compare TextureError
a TextureError
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TextureError -> Int
forall a. Enum a => a -> Int
P.fromEnum TextureError
a) (TextureError -> Int
forall a. Enum a => a -> Int
P.fromEnum TextureError
b)
instance GErrorClass TextureError where
gerrorClassDomain :: TextureError -> Text
gerrorClassDomain TextureError
_ = Text
"clutter-texture-error-quark"
catchTextureError ::
IO a ->
(TextureError -> GErrorMessage -> IO a) ->
IO a
catchTextureError :: forall a. IO a -> (TextureError -> Text -> IO a) -> IO a
catchTextureError = IO a -> (TextureError -> Text -> IO a) -> IO a
forall err a.
GErrorClass err =>
IO a -> (err -> Text -> IO a) -> IO a
catchGErrorJustDomain
handleTextureError ::
(TextureError -> GErrorMessage -> IO a) ->
IO a ->
IO a
handleTextureError :: forall a. (TextureError -> Text -> IO a) -> IO a -> IO a
handleTextureError = (TextureError -> Text -> IO a) -> IO a -> IO a
forall err a.
GErrorClass err =>
(err -> Text -> IO a) -> IO a -> IO a
handleGErrorJustDomain
type instance O.ParentTypes TextureError = '[]
instance O.HasParentTypes TextureError
foreign import ccall "clutter_texture_error_get_type" c_clutter_texture_error_get_type ::
IO GType
instance B.Types.TypedObject TextureError where
glibType :: IO GType
glibType = IO GType
c_clutter_texture_error_get_type
instance B.Types.BoxedEnum TextureError
data TextDirection =
TextDirectionDefault
| TextDirectionLtr
| TextDirectionRtl
| AnotherTextDirection Int
deriving (Int -> TextDirection -> ShowS
[TextDirection] -> ShowS
TextDirection -> String
(Int -> TextDirection -> ShowS)
-> (TextDirection -> String)
-> ([TextDirection] -> ShowS)
-> Show TextDirection
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TextDirection -> ShowS
showsPrec :: Int -> TextDirection -> ShowS
$cshow :: TextDirection -> String
show :: TextDirection -> String
$cshowList :: [TextDirection] -> ShowS
showList :: [TextDirection] -> ShowS
Show, TextDirection -> TextDirection -> Bool
(TextDirection -> TextDirection -> Bool)
-> (TextDirection -> TextDirection -> Bool) -> Eq TextDirection
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TextDirection -> TextDirection -> Bool
== :: TextDirection -> TextDirection -> Bool
$c/= :: TextDirection -> TextDirection -> Bool
/= :: TextDirection -> TextDirection -> Bool
Eq)
instance P.Enum TextDirection where
fromEnum :: TextDirection -> Int
fromEnum TextDirection
TextDirectionDefault = Int
0
fromEnum TextDirection
TextDirectionLtr = Int
1
fromEnum TextDirection
TextDirectionRtl = Int
2
fromEnum (AnotherTextDirection Int
k) = Int
k
toEnum :: Int -> TextDirection
toEnum Int
0 = TextDirection
TextDirectionDefault
toEnum Int
1 = TextDirection
TextDirectionLtr
toEnum Int
2 = TextDirection
TextDirectionRtl
toEnum Int
k = Int -> TextDirection
AnotherTextDirection Int
k
instance P.Ord TextDirection where
compare :: TextDirection -> TextDirection -> Ordering
compare TextDirection
a TextDirection
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TextDirection -> Int
forall a. Enum a => a -> Int
P.fromEnum TextDirection
a) (TextDirection -> Int
forall a. Enum a => a -> Int
P.fromEnum TextDirection
b)
type instance O.ParentTypes TextDirection = '[]
instance O.HasParentTypes TextDirection
foreign import ccall "clutter_text_direction_get_type" c_clutter_text_direction_get_type ::
IO GType
instance B.Types.TypedObject TextDirection where
glibType :: IO GType
glibType = IO GType
c_clutter_text_direction_get_type
instance B.Types.BoxedEnum TextDirection
{-# DEPRECATED TableAlignment ["(Since version 1.22)","Use the alignment properties of t'GI.Clutter.Objects.Actor.Actor'"] #-}
data TableAlignment =
TableAlignmentStart
| TableAlignmentCenter
| TableAlignmentEnd
| AnotherTableAlignment Int
deriving (Int -> TableAlignment -> ShowS
[TableAlignment] -> ShowS
TableAlignment -> String
(Int -> TableAlignment -> ShowS)
-> (TableAlignment -> String)
-> ([TableAlignment] -> ShowS)
-> Show TableAlignment
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TableAlignment -> ShowS
showsPrec :: Int -> TableAlignment -> ShowS
$cshow :: TableAlignment -> String
show :: TableAlignment -> String
$cshowList :: [TableAlignment] -> ShowS
showList :: [TableAlignment] -> ShowS
Show, TableAlignment -> TableAlignment -> Bool
(TableAlignment -> TableAlignment -> Bool)
-> (TableAlignment -> TableAlignment -> Bool) -> Eq TableAlignment
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TableAlignment -> TableAlignment -> Bool
== :: TableAlignment -> TableAlignment -> Bool
$c/= :: TableAlignment -> TableAlignment -> Bool
/= :: TableAlignment -> TableAlignment -> Bool
Eq)
instance P.Enum TableAlignment where
fromEnum :: TableAlignment -> Int
fromEnum TableAlignment
TableAlignmentStart = Int
0
fromEnum TableAlignment
TableAlignmentCenter = Int
1
fromEnum TableAlignment
TableAlignmentEnd = Int
2
fromEnum (AnotherTableAlignment Int
k) = Int
k
toEnum :: Int -> TableAlignment
toEnum Int
0 = TableAlignment
TableAlignmentStart
toEnum Int
1 = TableAlignment
TableAlignmentCenter
toEnum Int
2 = TableAlignment
TableAlignmentEnd
toEnum Int
k = Int -> TableAlignment
AnotherTableAlignment Int
k
instance P.Ord TableAlignment where
compare :: TableAlignment -> TableAlignment -> Ordering
compare TableAlignment
a TableAlignment
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (TableAlignment -> Int
forall a. Enum a => a -> Int
P.fromEnum TableAlignment
a) (TableAlignment -> Int
forall a. Enum a => a -> Int
P.fromEnum TableAlignment
b)
type instance O.ParentTypes TableAlignment = '[]
instance O.HasParentTypes TableAlignment
foreign import ccall "clutter_table_alignment_get_type" c_clutter_table_alignment_get_type ::
IO GType
instance B.Types.TypedObject TableAlignment where
glibType :: IO GType
glibType = IO GType
c_clutter_table_alignment_get_type
instance B.Types.BoxedEnum TableAlignment
data StepMode =
StepModeStart
| StepModeEnd
| AnotherStepMode Int
deriving (Int -> StepMode -> ShowS
[StepMode] -> ShowS
StepMode -> String
(Int -> StepMode -> ShowS)
-> (StepMode -> String) -> ([StepMode] -> ShowS) -> Show StepMode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> StepMode -> ShowS
showsPrec :: Int -> StepMode -> ShowS
$cshow :: StepMode -> String
show :: StepMode -> String
$cshowList :: [StepMode] -> ShowS
showList :: [StepMode] -> ShowS
Show, StepMode -> StepMode -> Bool
(StepMode -> StepMode -> Bool)
-> (StepMode -> StepMode -> Bool) -> Eq StepMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: StepMode -> StepMode -> Bool
== :: StepMode -> StepMode -> Bool
$c/= :: StepMode -> StepMode -> Bool
/= :: StepMode -> StepMode -> Bool
Eq)
instance P.Enum StepMode where
fromEnum :: StepMode -> Int
fromEnum StepMode
StepModeStart = Int
0
fromEnum StepMode
StepModeEnd = Int
1
fromEnum (AnotherStepMode Int
k) = Int
k
toEnum :: Int -> StepMode
toEnum Int
0 = StepMode
StepModeStart
toEnum Int
1 = StepMode
StepModeEnd
toEnum Int
k = Int -> StepMode
AnotherStepMode Int
k
instance P.Ord StepMode where
compare :: StepMode -> StepMode -> Ordering
compare StepMode
a StepMode
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (StepMode -> Int
forall a. Enum a => a -> Int
P.fromEnum StepMode
a) (StepMode -> Int
forall a. Enum a => a -> Int
P.fromEnum StepMode
b)
type instance O.ParentTypes StepMode = '[]
instance O.HasParentTypes StepMode
foreign import ccall "clutter_step_mode_get_type" c_clutter_step_mode_get_type ::
IO GType
instance B.Types.TypedObject StepMode where
glibType :: IO GType
glibType = IO GType
c_clutter_step_mode_get_type
instance B.Types.BoxedEnum StepMode
data StaticColor =
StaticColorWhite
| StaticColorBlack
| StaticColorRed
| StaticColorDarkRed
| StaticColorGreen
| StaticColorDarkGreen
| StaticColorBlue
| StaticColorDarkBlue
| StaticColorCyan
| StaticColorDarkCyan
| StaticColorMagenta
| StaticColorDarkMagenta
| StaticColorYellow
| StaticColorDarkYellow
| StaticColorGray
| StaticColorDarkGray
| StaticColorLightGray
| StaticColorButter
| StaticColorButterLight
| StaticColorButterDark
| StaticColorOrange
| StaticColorOrangeLight
| StaticColorOrangeDark
| StaticColorChocolate
| StaticColorChocolateLight
| StaticColorChocolateDark
| StaticColorChameleon
| StaticColorChameleonLight
| StaticColorChameleonDark
| StaticColorSkyBlue
| StaticColorSkyBlueLight
| StaticColorSkyBlueDark
| StaticColorPlum
| StaticColorPlumLight
| StaticColorPlumDark
| StaticColorScarletRed
| StaticColorScarletRedLight
| StaticColorScarletRedDark
| StaticColorAluminium1
| StaticColorAluminium2
| StaticColorAluminium3
| StaticColorAluminium4
| StaticColorAluminium5
| StaticColorAluminium6
| StaticColorTransparent
| AnotherStaticColor Int
deriving (Int -> StaticColor -> ShowS
[StaticColor] -> ShowS
StaticColor -> String
(Int -> StaticColor -> ShowS)
-> (StaticColor -> String)
-> ([StaticColor] -> ShowS)
-> Show StaticColor
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> StaticColor -> ShowS
showsPrec :: Int -> StaticColor -> ShowS
$cshow :: StaticColor -> String
show :: StaticColor -> String
$cshowList :: [StaticColor] -> ShowS
showList :: [StaticColor] -> ShowS
Show, StaticColor -> StaticColor -> Bool
(StaticColor -> StaticColor -> Bool)
-> (StaticColor -> StaticColor -> Bool) -> Eq StaticColor
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: StaticColor -> StaticColor -> Bool
== :: StaticColor -> StaticColor -> Bool
$c/= :: StaticColor -> StaticColor -> Bool
/= :: StaticColor -> StaticColor -> Bool
Eq)
instance P.Enum StaticColor where
fromEnum :: StaticColor -> Int
fromEnum StaticColor
StaticColorWhite = Int
0
fromEnum StaticColor
StaticColorBlack = Int
1
fromEnum StaticColor
StaticColorRed = Int
2
fromEnum StaticColor
StaticColorDarkRed = Int
3
fromEnum StaticColor
StaticColorGreen = Int
4
fromEnum StaticColor
StaticColorDarkGreen = Int
5
fromEnum StaticColor
StaticColorBlue = Int
6
fromEnum StaticColor
StaticColorDarkBlue = Int
7
fromEnum StaticColor
StaticColorCyan = Int
8
fromEnum StaticColor
StaticColorDarkCyan = Int
9
fromEnum StaticColor
StaticColorMagenta = Int
10
fromEnum StaticColor
StaticColorDarkMagenta = Int
11
fromEnum StaticColor
StaticColorYellow = Int
12
fromEnum StaticColor
StaticColorDarkYellow = Int
13
fromEnum StaticColor
StaticColorGray = Int
14
fromEnum StaticColor
StaticColorDarkGray = Int
15
fromEnum StaticColor
StaticColorLightGray = Int
16
fromEnum StaticColor
StaticColorButter = Int
17
fromEnum StaticColor
StaticColorButterLight = Int
18
fromEnum StaticColor
StaticColorButterDark = Int
19
fromEnum StaticColor
StaticColorOrange = Int
20
fromEnum StaticColor
StaticColorOrangeLight = Int
21
fromEnum StaticColor
StaticColorOrangeDark = Int
22
fromEnum StaticColor
StaticColorChocolate = Int
23
fromEnum StaticColor
StaticColorChocolateLight = Int
24
fromEnum StaticColor
StaticColorChocolateDark = Int
25
fromEnum StaticColor
StaticColorChameleon = Int
26
fromEnum StaticColor
StaticColorChameleonLight = Int
27
fromEnum StaticColor
StaticColorChameleonDark = Int
28
fromEnum StaticColor
StaticColorSkyBlue = Int
29
fromEnum StaticColor
StaticColorSkyBlueLight = Int
30
fromEnum StaticColor
StaticColorSkyBlueDark = Int
31
fromEnum StaticColor
StaticColorPlum = Int
32
fromEnum StaticColor
StaticColorPlumLight = Int
33
fromEnum StaticColor
StaticColorPlumDark = Int
34
fromEnum StaticColor
StaticColorScarletRed = Int
35
fromEnum StaticColor
StaticColorScarletRedLight = Int
36
fromEnum StaticColor
StaticColorScarletRedDark = Int
37
fromEnum StaticColor
StaticColorAluminium1 = Int
38
fromEnum StaticColor
StaticColorAluminium2 = Int
39
fromEnum StaticColor
StaticColorAluminium3 = Int
40
fromEnum StaticColor
StaticColorAluminium4 = Int
41
fromEnum StaticColor
StaticColorAluminium5 = Int
42
fromEnum StaticColor
StaticColorAluminium6 = Int
43
fromEnum StaticColor
StaticColorTransparent = Int
44
fromEnum (AnotherStaticColor Int
k) = Int
k
toEnum :: Int -> StaticColor
toEnum Int
0 = StaticColor
StaticColorWhite
toEnum Int
1 = StaticColor
StaticColorBlack
toEnum Int
2 = StaticColor
StaticColorRed
toEnum Int
3 = StaticColor
StaticColorDarkRed
toEnum Int
4 = StaticColor
StaticColorGreen
toEnum Int
5 = StaticColor
StaticColorDarkGreen
toEnum Int
6 = StaticColor
StaticColorBlue
toEnum Int
7 = StaticColor
StaticColorDarkBlue
toEnum Int
8 = StaticColor
StaticColorCyan
toEnum Int
9 = StaticColor
StaticColorDarkCyan
toEnum Int
10 = StaticColor
StaticColorMagenta
toEnum Int
11 = StaticColor
StaticColorDarkMagenta
toEnum Int
12 = StaticColor
StaticColorYellow
toEnum Int
13 = StaticColor
StaticColorDarkYellow
toEnum Int
14 = StaticColor
StaticColorGray
toEnum Int
15 = StaticColor
StaticColorDarkGray
toEnum Int
16 = StaticColor
StaticColorLightGray
toEnum Int
17 = StaticColor
StaticColorButter
toEnum Int
18 = StaticColor
StaticColorButterLight
toEnum Int
19 = StaticColor
StaticColorButterDark
toEnum Int
20 = StaticColor
StaticColorOrange
toEnum Int
21 = StaticColor
StaticColorOrangeLight
toEnum Int
22 = StaticColor
StaticColorOrangeDark
toEnum Int
23 = StaticColor
StaticColorChocolate
toEnum Int
24 = StaticColor
StaticColorChocolateLight
toEnum Int
25 = StaticColor
StaticColorChocolateDark
toEnum Int
26 = StaticColor
StaticColorChameleon
toEnum Int
27 = StaticColor
StaticColorChameleonLight
toEnum Int
28 = StaticColor
StaticColorChameleonDark
toEnum Int
29 = StaticColor
StaticColorSkyBlue
toEnum Int
30 = StaticColor
StaticColorSkyBlueLight
toEnum Int
31 = StaticColor
StaticColorSkyBlueDark
toEnum Int
32 = StaticColor
StaticColorPlum
toEnum Int
33 = StaticColor
StaticColorPlumLight
toEnum Int
34 = StaticColor
StaticColorPlumDark
toEnum Int
35 = StaticColor
StaticColorScarletRed
toEnum Int
36 = StaticColor
StaticColorScarletRedLight
toEnum Int
37 = StaticColor
StaticColorScarletRedDark
toEnum Int
38 = StaticColor
StaticColorAluminium1
toEnum Int
39 = StaticColor
StaticColorAluminium2
toEnum Int
40 = StaticColor
StaticColorAluminium3
toEnum Int
41 = StaticColor
StaticColorAluminium4
toEnum Int
42 = StaticColor
StaticColorAluminium5
toEnum Int
43 = StaticColor
StaticColorAluminium6
toEnum Int
44 = StaticColor
StaticColorTransparent
toEnum Int
k = Int -> StaticColor
AnotherStaticColor Int
k
instance P.Ord StaticColor where
compare :: StaticColor -> StaticColor -> Ordering
compare StaticColor
a StaticColor
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (StaticColor -> Int
forall a. Enum a => a -> Int
P.fromEnum StaticColor
a) (StaticColor -> Int
forall a. Enum a => a -> Int
P.fromEnum StaticColor
b)
type instance O.ParentTypes StaticColor = '[]
instance O.HasParentTypes StaticColor
foreign import ccall "clutter_static_color_get_type" c_clutter_static_color_get_type ::
IO GType
instance B.Types.TypedObject StaticColor where
glibType :: IO GType
glibType = IO GType
c_clutter_static_color_get_type
instance B.Types.BoxedEnum StaticColor
data SnapEdge =
SnapEdgeTop
| SnapEdgeRight
| SnapEdgeBottom
| SnapEdgeLeft
| AnotherSnapEdge Int
deriving (Int -> SnapEdge -> ShowS
[SnapEdge] -> ShowS
SnapEdge -> String
(Int -> SnapEdge -> ShowS)
-> (SnapEdge -> String) -> ([SnapEdge] -> ShowS) -> Show SnapEdge
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SnapEdge -> ShowS
showsPrec :: Int -> SnapEdge -> ShowS
$cshow :: SnapEdge -> String
show :: SnapEdge -> String
$cshowList :: [SnapEdge] -> ShowS
showList :: [SnapEdge] -> ShowS
Show, SnapEdge -> SnapEdge -> Bool
(SnapEdge -> SnapEdge -> Bool)
-> (SnapEdge -> SnapEdge -> Bool) -> Eq SnapEdge
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SnapEdge -> SnapEdge -> Bool
== :: SnapEdge -> SnapEdge -> Bool
$c/= :: SnapEdge -> SnapEdge -> Bool
/= :: SnapEdge -> SnapEdge -> Bool
Eq)
instance P.Enum SnapEdge where
fromEnum :: SnapEdge -> Int
fromEnum SnapEdge
SnapEdgeTop = Int
0
fromEnum SnapEdge
SnapEdgeRight = Int
1
fromEnum SnapEdge
SnapEdgeBottom = Int
2
fromEnum SnapEdge
SnapEdgeLeft = Int
3
fromEnum (AnotherSnapEdge Int
k) = Int
k
toEnum :: Int -> SnapEdge
toEnum Int
0 = SnapEdge
SnapEdgeTop
toEnum Int
1 = SnapEdge
SnapEdgeRight
toEnum Int
2 = SnapEdge
SnapEdgeBottom
toEnum Int
3 = SnapEdge
SnapEdgeLeft
toEnum Int
k = Int -> SnapEdge
AnotherSnapEdge Int
k
instance P.Ord SnapEdge where
compare :: SnapEdge -> SnapEdge -> Ordering
compare SnapEdge
a SnapEdge
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (SnapEdge -> Int
forall a. Enum a => a -> Int
P.fromEnum SnapEdge
a) (SnapEdge -> Int
forall a. Enum a => a -> Int
P.fromEnum SnapEdge
b)
type instance O.ParentTypes SnapEdge = '[]
instance O.HasParentTypes SnapEdge
foreign import ccall "clutter_snap_edge_get_type" c_clutter_snap_edge_get_type ::
IO GType
instance B.Types.TypedObject SnapEdge where
glibType :: IO GType
glibType = IO GType
c_clutter_snap_edge_get_type
instance B.Types.BoxedEnum SnapEdge
data ShaderType =
ShaderTypeVertexShader
| ShaderTypeFragmentShader
| AnotherShaderType Int
deriving (Int -> ShaderType -> ShowS
[ShaderType] -> ShowS
ShaderType -> String
(Int -> ShaderType -> ShowS)
-> (ShaderType -> String)
-> ([ShaderType] -> ShowS)
-> Show ShaderType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ShaderType -> ShowS
showsPrec :: Int -> ShaderType -> ShowS
$cshow :: ShaderType -> String
show :: ShaderType -> String
$cshowList :: [ShaderType] -> ShowS
showList :: [ShaderType] -> ShowS
Show, ShaderType -> ShaderType -> Bool
(ShaderType -> ShaderType -> Bool)
-> (ShaderType -> ShaderType -> Bool) -> Eq ShaderType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ShaderType -> ShaderType -> Bool
== :: ShaderType -> ShaderType -> Bool
$c/= :: ShaderType -> ShaderType -> Bool
/= :: ShaderType -> ShaderType -> Bool
Eq)
instance P.Enum ShaderType where
fromEnum :: ShaderType -> Int
fromEnum ShaderType
ShaderTypeVertexShader = Int
0
fromEnum ShaderType
ShaderTypeFragmentShader = Int
1
fromEnum (AnotherShaderType Int
k) = Int
k
toEnum :: Int -> ShaderType
toEnum Int
0 = ShaderType
ShaderTypeVertexShader
toEnum Int
1 = ShaderType
ShaderTypeFragmentShader
toEnum Int
k = Int -> ShaderType
AnotherShaderType Int
k
instance P.Ord ShaderType where
compare :: ShaderType -> ShaderType -> Ordering
compare ShaderType
a ShaderType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ShaderType -> Int
forall a. Enum a => a -> Int
P.fromEnum ShaderType
a) (ShaderType -> Int
forall a. Enum a => a -> Int
P.fromEnum ShaderType
b)
type instance O.ParentTypes ShaderType = '[]
instance O.HasParentTypes ShaderType
foreign import ccall "clutter_shader_type_get_type" c_clutter_shader_type_get_type ::
IO GType
instance B.Types.TypedObject ShaderType where
glibType :: IO GType
glibType = IO GType
c_clutter_shader_type_get_type
instance B.Types.BoxedEnum ShaderType
{-# DEPRECATED ShaderError ["(Since version 1.8)"] #-}
data ShaderError =
ShaderErrorNoAsm
| ShaderErrorNoGlsl
| ShaderErrorCompile
| AnotherShaderError Int
deriving (Int -> ShaderError -> ShowS
[ShaderError] -> ShowS
ShaderError -> String
(Int -> ShaderError -> ShowS)
-> (ShaderError -> String)
-> ([ShaderError] -> ShowS)
-> Show ShaderError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ShaderError -> ShowS
showsPrec :: Int -> ShaderError -> ShowS
$cshow :: ShaderError -> String
show :: ShaderError -> String
$cshowList :: [ShaderError] -> ShowS
showList :: [ShaderError] -> ShowS
Show, ShaderError -> ShaderError -> Bool
(ShaderError -> ShaderError -> Bool)
-> (ShaderError -> ShaderError -> Bool) -> Eq ShaderError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ShaderError -> ShaderError -> Bool
== :: ShaderError -> ShaderError -> Bool
$c/= :: ShaderError -> ShaderError -> Bool
/= :: ShaderError -> ShaderError -> Bool
Eq)
instance P.Enum ShaderError where
fromEnum :: ShaderError -> Int
fromEnum ShaderError
ShaderErrorNoAsm = Int
0
fromEnum ShaderError
ShaderErrorNoGlsl = Int
1
fromEnum ShaderError
ShaderErrorCompile = Int
2
fromEnum (AnotherShaderError Int
k) = Int
k
toEnum :: Int -> ShaderError
toEnum Int
0 = ShaderError
ShaderErrorNoAsm
toEnum Int
1 = ShaderError
ShaderErrorNoGlsl
toEnum Int
2 = ShaderError
ShaderErrorCompile
toEnum Int
k = Int -> ShaderError
AnotherShaderError Int
k
instance P.Ord ShaderError where
compare :: ShaderError -> ShaderError -> Ordering
compare ShaderError
a ShaderError
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ShaderError -> Int
forall a. Enum a => a -> Int
P.fromEnum ShaderError
a) (ShaderError -> Int
forall a. Enum a => a -> Int
P.fromEnum ShaderError
b)
instance GErrorClass ShaderError where
gerrorClassDomain :: ShaderError -> Text
gerrorClassDomain ShaderError
_ = Text
"clutter-shader-error"
catchShaderError ::
IO a ->
(ShaderError -> GErrorMessage -> IO a) ->
IO a
catchShaderError :: forall a. IO a -> (ShaderError -> Text -> IO a) -> IO a
catchShaderError = IO a -> (ShaderError -> Text -> IO a) -> IO a
forall err a.
GErrorClass err =>
IO a -> (err -> Text -> IO a) -> IO a
catchGErrorJustDomain
handleShaderError ::
(ShaderError -> GErrorMessage -> IO a) ->
IO a ->
IO a
handleShaderError :: forall a. (ShaderError -> Text -> IO a) -> IO a -> IO a
handleShaderError = (ShaderError -> Text -> IO a) -> IO a -> IO a
forall err a.
GErrorClass err =>
(err -> Text -> IO a) -> IO a -> IO a
handleGErrorJustDomain
type instance O.ParentTypes ShaderError = '[]
instance O.HasParentTypes ShaderError
foreign import ccall "clutter_shader_error_get_type" c_clutter_shader_error_get_type ::
IO GType
instance B.Types.TypedObject ShaderError where
glibType :: IO GType
glibType = IO GType
c_clutter_shader_error_get_type
instance B.Types.BoxedEnum ShaderError
data ScrollSource =
ScrollSourceUnknown
| ScrollSourceWheel
| ScrollSourceFinger
| ScrollSourceContinuous
| AnotherScrollSource Int
deriving (Int -> ScrollSource -> ShowS
[ScrollSource] -> ShowS
ScrollSource -> String
(Int -> ScrollSource -> ShowS)
-> (ScrollSource -> String)
-> ([ScrollSource] -> ShowS)
-> Show ScrollSource
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ScrollSource -> ShowS
showsPrec :: Int -> ScrollSource -> ShowS
$cshow :: ScrollSource -> String
show :: ScrollSource -> String
$cshowList :: [ScrollSource] -> ShowS
showList :: [ScrollSource] -> ShowS
Show, ScrollSource -> ScrollSource -> Bool
(ScrollSource -> ScrollSource -> Bool)
-> (ScrollSource -> ScrollSource -> Bool) -> Eq ScrollSource
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ScrollSource -> ScrollSource -> Bool
== :: ScrollSource -> ScrollSource -> Bool
$c/= :: ScrollSource -> ScrollSource -> Bool
/= :: ScrollSource -> ScrollSource -> Bool
Eq)
instance P.Enum ScrollSource where
fromEnum :: ScrollSource -> Int
fromEnum ScrollSource
ScrollSourceUnknown = Int
0
fromEnum ScrollSource
ScrollSourceWheel = Int
1
fromEnum ScrollSource
ScrollSourceFinger = Int
2
fromEnum ScrollSource
ScrollSourceContinuous = Int
3
fromEnum (AnotherScrollSource Int
k) = Int
k
toEnum :: Int -> ScrollSource
toEnum Int
0 = ScrollSource
ScrollSourceUnknown
toEnum Int
1 = ScrollSource
ScrollSourceWheel
toEnum Int
2 = ScrollSource
ScrollSourceFinger
toEnum Int
3 = ScrollSource
ScrollSourceContinuous
toEnum Int
k = Int -> ScrollSource
AnotherScrollSource Int
k
instance P.Ord ScrollSource where
compare :: ScrollSource -> ScrollSource -> Ordering
compare ScrollSource
a ScrollSource
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ScrollSource -> Int
forall a. Enum a => a -> Int
P.fromEnum ScrollSource
a) (ScrollSource -> Int
forall a. Enum a => a -> Int
P.fromEnum ScrollSource
b)
type instance O.ParentTypes ScrollSource = '[]
instance O.HasParentTypes ScrollSource
foreign import ccall "clutter_scroll_source_get_type" c_clutter_scroll_source_get_type ::
IO GType
instance B.Types.TypedObject ScrollSource where
glibType :: IO GType
glibType = IO GType
c_clutter_scroll_source_get_type
instance B.Types.BoxedEnum ScrollSource
data ScrollDirection =
ScrollDirectionUp
| ScrollDirectionDown
| ScrollDirectionLeft
| ScrollDirectionRight
| ScrollDirectionSmooth
| AnotherScrollDirection Int
deriving (Int -> ScrollDirection -> ShowS
[ScrollDirection] -> ShowS
ScrollDirection -> String
(Int -> ScrollDirection -> ShowS)
-> (ScrollDirection -> String)
-> ([ScrollDirection] -> ShowS)
-> Show ScrollDirection
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ScrollDirection -> ShowS
showsPrec :: Int -> ScrollDirection -> ShowS
$cshow :: ScrollDirection -> String
show :: ScrollDirection -> String
$cshowList :: [ScrollDirection] -> ShowS
showList :: [ScrollDirection] -> ShowS
Show, ScrollDirection -> ScrollDirection -> Bool
(ScrollDirection -> ScrollDirection -> Bool)
-> (ScrollDirection -> ScrollDirection -> Bool)
-> Eq ScrollDirection
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ScrollDirection -> ScrollDirection -> Bool
== :: ScrollDirection -> ScrollDirection -> Bool
$c/= :: ScrollDirection -> ScrollDirection -> Bool
/= :: ScrollDirection -> ScrollDirection -> Bool
Eq)
instance P.Enum ScrollDirection where
fromEnum :: ScrollDirection -> Int
fromEnum ScrollDirection
ScrollDirectionUp = Int
0
fromEnum ScrollDirection
ScrollDirectionDown = Int
1
fromEnum ScrollDirection
ScrollDirectionLeft = Int
2
fromEnum ScrollDirection
ScrollDirectionRight = Int
3
fromEnum ScrollDirection
ScrollDirectionSmooth = Int
4
fromEnum (AnotherScrollDirection Int
k) = Int
k
toEnum :: Int -> ScrollDirection
toEnum Int
0 = ScrollDirection
ScrollDirectionUp
toEnum Int
1 = ScrollDirection
ScrollDirectionDown
toEnum Int
2 = ScrollDirection
ScrollDirectionLeft
toEnum Int
3 = ScrollDirection
ScrollDirectionRight
toEnum Int
4 = ScrollDirection
ScrollDirectionSmooth
toEnum Int
k = Int -> ScrollDirection
AnotherScrollDirection Int
k
instance P.Ord ScrollDirection where
compare :: ScrollDirection -> ScrollDirection -> Ordering
compare ScrollDirection
a ScrollDirection
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ScrollDirection -> Int
forall a. Enum a => a -> Int
P.fromEnum ScrollDirection
a) (ScrollDirection -> Int
forall a. Enum a => a -> Int
P.fromEnum ScrollDirection
b)
type instance O.ParentTypes ScrollDirection = '[]
instance O.HasParentTypes ScrollDirection
foreign import ccall "clutter_scroll_direction_get_type" c_clutter_scroll_direction_get_type ::
IO GType
instance B.Types.TypedObject ScrollDirection where
glibType :: IO GType
glibType = IO GType
c_clutter_scroll_direction_get_type
instance B.Types.BoxedEnum ScrollDirection
data ScriptError =
ScriptErrorTypeFunction
| ScriptErrorProperty
| ScriptErrorValue
| AnotherScriptError Int
deriving (Int -> ScriptError -> ShowS
[ScriptError] -> ShowS
ScriptError -> String
(Int -> ScriptError -> ShowS)
-> (ScriptError -> String)
-> ([ScriptError] -> ShowS)
-> Show ScriptError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ScriptError -> ShowS
showsPrec :: Int -> ScriptError -> ShowS
$cshow :: ScriptError -> String
show :: ScriptError -> String
$cshowList :: [ScriptError] -> ShowS
showList :: [ScriptError] -> ShowS
Show, ScriptError -> ScriptError -> Bool
(ScriptError -> ScriptError -> Bool)
-> (ScriptError -> ScriptError -> Bool) -> Eq ScriptError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ScriptError -> ScriptError -> Bool
== :: ScriptError -> ScriptError -> Bool
$c/= :: ScriptError -> ScriptError -> Bool
/= :: ScriptError -> ScriptError -> Bool
Eq)
instance P.Enum ScriptError where
fromEnum :: ScriptError -> Int
fromEnum ScriptError
ScriptErrorTypeFunction = Int
0
fromEnum ScriptError
ScriptErrorProperty = Int
1
fromEnum ScriptError
ScriptErrorValue = Int
2
fromEnum (AnotherScriptError Int
k) = Int
k
toEnum :: Int -> ScriptError
toEnum Int
0 = ScriptError
ScriptErrorTypeFunction
toEnum Int
1 = ScriptError
ScriptErrorProperty
toEnum Int
2 = ScriptError
ScriptErrorValue
toEnum Int
k = Int -> ScriptError
AnotherScriptError Int
k
instance P.Ord ScriptError where
compare :: ScriptError -> ScriptError -> Ordering
compare ScriptError
a ScriptError
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ScriptError -> Int
forall a. Enum a => a -> Int
P.fromEnum ScriptError
a) (ScriptError -> Int
forall a. Enum a => a -> Int
P.fromEnum ScriptError
b)
instance GErrorClass ScriptError where
gerrorClassDomain :: ScriptError -> Text
gerrorClassDomain ScriptError
_ = Text
"clutter-script-error"
catchScriptError ::
IO a ->
(ScriptError -> GErrorMessage -> IO a) ->
IO a
catchScriptError :: forall a. IO a -> (ScriptError -> Text -> IO a) -> IO a
catchScriptError = IO a -> (ScriptError -> Text -> IO a) -> IO a
forall err a.
GErrorClass err =>
IO a -> (err -> Text -> IO a) -> IO a
catchGErrorJustDomain
handleScriptError ::
(ScriptError -> GErrorMessage -> IO a) ->
IO a ->
IO a
handleScriptError :: forall a. (ScriptError -> Text -> IO a) -> IO a -> IO a
handleScriptError = (ScriptError -> Text -> IO a) -> IO a -> IO a
forall err a.
GErrorClass err =>
(err -> Text -> IO a) -> IO a -> IO a
handleGErrorJustDomain
type instance O.ParentTypes ScriptError = '[]
instance O.HasParentTypes ScriptError
foreign import ccall "clutter_script_error_get_type" c_clutter_script_error_get_type ::
IO GType
instance B.Types.TypedObject ScriptError where
glibType :: IO GType
glibType = IO GType
c_clutter_script_error_get_type
instance B.Types.BoxedEnum ScriptError
data ScalingFilter =
ScalingFilterLinear
| ScalingFilterNearest
| ScalingFilterTrilinear
| AnotherScalingFilter Int
deriving (Int -> ScalingFilter -> ShowS
[ScalingFilter] -> ShowS
ScalingFilter -> String
(Int -> ScalingFilter -> ShowS)
-> (ScalingFilter -> String)
-> ([ScalingFilter] -> ShowS)
-> Show ScalingFilter
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ScalingFilter -> ShowS
showsPrec :: Int -> ScalingFilter -> ShowS
$cshow :: ScalingFilter -> String
show :: ScalingFilter -> String
$cshowList :: [ScalingFilter] -> ShowS
showList :: [ScalingFilter] -> ShowS
Show, ScalingFilter -> ScalingFilter -> Bool
(ScalingFilter -> ScalingFilter -> Bool)
-> (ScalingFilter -> ScalingFilter -> Bool) -> Eq ScalingFilter
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ScalingFilter -> ScalingFilter -> Bool
== :: ScalingFilter -> ScalingFilter -> Bool
$c/= :: ScalingFilter -> ScalingFilter -> Bool
/= :: ScalingFilter -> ScalingFilter -> Bool
Eq)
instance P.Enum ScalingFilter where
fromEnum :: ScalingFilter -> Int
fromEnum ScalingFilter
ScalingFilterLinear = Int
0
fromEnum ScalingFilter
ScalingFilterNearest = Int
1
fromEnum ScalingFilter
ScalingFilterTrilinear = Int
2
fromEnum (AnotherScalingFilter Int
k) = Int
k
toEnum :: Int -> ScalingFilter
toEnum Int
0 = ScalingFilter
ScalingFilterLinear
toEnum Int
1 = ScalingFilter
ScalingFilterNearest
toEnum Int
2 = ScalingFilter
ScalingFilterTrilinear
toEnum Int
k = Int -> ScalingFilter
AnotherScalingFilter Int
k
instance P.Ord ScalingFilter where
compare :: ScalingFilter -> ScalingFilter -> Ordering
compare ScalingFilter
a ScalingFilter
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ScalingFilter -> Int
forall a. Enum a => a -> Int
P.fromEnum ScalingFilter
a) (ScalingFilter -> Int
forall a. Enum a => a -> Int
P.fromEnum ScalingFilter
b)
type instance O.ParentTypes ScalingFilter = '[]
instance O.HasParentTypes ScalingFilter
foreign import ccall "clutter_scaling_filter_get_type" c_clutter_scaling_filter_get_type ::
IO GType
instance B.Types.TypedObject ScalingFilter where
glibType :: IO GType
glibType = IO GType
c_clutter_scaling_filter_get_type
instance B.Types.BoxedEnum ScalingFilter
{-# DEPRECATED RotateDirection ["(Since version 1.22)"] #-}
data RotateDirection =
RotateDirectionCw
| RotateDirectionCcw
| AnotherRotateDirection Int
deriving (Int -> RotateDirection -> ShowS
[RotateDirection] -> ShowS
RotateDirection -> String
(Int -> RotateDirection -> ShowS)
-> (RotateDirection -> String)
-> ([RotateDirection] -> ShowS)
-> Show RotateDirection
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RotateDirection -> ShowS
showsPrec :: Int -> RotateDirection -> ShowS
$cshow :: RotateDirection -> String
show :: RotateDirection -> String
$cshowList :: [RotateDirection] -> ShowS
showList :: [RotateDirection] -> ShowS
Show, RotateDirection -> RotateDirection -> Bool
(RotateDirection -> RotateDirection -> Bool)
-> (RotateDirection -> RotateDirection -> Bool)
-> Eq RotateDirection
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RotateDirection -> RotateDirection -> Bool
== :: RotateDirection -> RotateDirection -> Bool
$c/= :: RotateDirection -> RotateDirection -> Bool
/= :: RotateDirection -> RotateDirection -> Bool
Eq)
instance P.Enum RotateDirection where
fromEnum :: RotateDirection -> Int
fromEnum RotateDirection
RotateDirectionCw = Int
0
fromEnum RotateDirection
RotateDirectionCcw = Int
1
fromEnum (AnotherRotateDirection Int
k) = Int
k
toEnum :: Int -> RotateDirection
toEnum Int
0 = RotateDirection
RotateDirectionCw
toEnum Int
1 = RotateDirection
RotateDirectionCcw
toEnum Int
k = Int -> RotateDirection
AnotherRotateDirection Int
k
instance P.Ord RotateDirection where
compare :: RotateDirection -> RotateDirection -> Ordering
compare RotateDirection
a RotateDirection
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (RotateDirection -> Int
forall a. Enum a => a -> Int
P.fromEnum RotateDirection
a) (RotateDirection -> Int
forall a. Enum a => a -> Int
P.fromEnum RotateDirection
b)
type instance O.ParentTypes RotateDirection = '[]
instance O.HasParentTypes RotateDirection
foreign import ccall "clutter_rotate_direction_get_type" c_clutter_rotate_direction_get_type ::
IO GType
instance B.Types.TypedObject RotateDirection where
glibType :: IO GType
glibType = IO GType
c_clutter_rotate_direction_get_type
instance B.Types.BoxedEnum RotateDirection
data RotateAxis =
RotateAxisXAxis
| RotateAxisYAxis
| RotateAxisZAxis
| AnotherRotateAxis Int
deriving (Int -> RotateAxis -> ShowS
[RotateAxis] -> ShowS
RotateAxis -> String
(Int -> RotateAxis -> ShowS)
-> (RotateAxis -> String)
-> ([RotateAxis] -> ShowS)
-> Show RotateAxis
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RotateAxis -> ShowS
showsPrec :: Int -> RotateAxis -> ShowS
$cshow :: RotateAxis -> String
show :: RotateAxis -> String
$cshowList :: [RotateAxis] -> ShowS
showList :: [RotateAxis] -> ShowS
Show, RotateAxis -> RotateAxis -> Bool
(RotateAxis -> RotateAxis -> Bool)
-> (RotateAxis -> RotateAxis -> Bool) -> Eq RotateAxis
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RotateAxis -> RotateAxis -> Bool
== :: RotateAxis -> RotateAxis -> Bool
$c/= :: RotateAxis -> RotateAxis -> Bool
/= :: RotateAxis -> RotateAxis -> Bool
Eq)
instance P.Enum RotateAxis where
fromEnum :: RotateAxis -> Int
fromEnum RotateAxis
RotateAxisXAxis = Int
0
fromEnum RotateAxis
RotateAxisYAxis = Int
1
fromEnum RotateAxis
RotateAxisZAxis = Int
2
fromEnum (AnotherRotateAxis Int
k) = Int
k
toEnum :: Int -> RotateAxis
toEnum Int
0 = RotateAxis
RotateAxisXAxis
toEnum Int
1 = RotateAxis
RotateAxisYAxis
toEnum Int
2 = RotateAxis
RotateAxisZAxis
toEnum Int
k = Int -> RotateAxis
AnotherRotateAxis Int
k
instance P.Ord RotateAxis where
compare :: RotateAxis -> RotateAxis -> Ordering
compare RotateAxis
a RotateAxis
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (RotateAxis -> Int
forall a. Enum a => a -> Int
P.fromEnum RotateAxis
a) (RotateAxis -> Int
forall a. Enum a => a -> Int
P.fromEnum RotateAxis
b)
type instance O.ParentTypes RotateAxis = '[]
instance O.HasParentTypes RotateAxis
foreign import ccall "clutter_rotate_axis_get_type" c_clutter_rotate_axis_get_type ::
IO GType
instance B.Types.TypedObject RotateAxis where
glibType :: IO GType
glibType = IO GType
c_clutter_rotate_axis_get_type
instance B.Types.BoxedEnum RotateAxis
data RequestMode =
RequestModeHeightForWidth
| RequestModeWidthForHeight
| RequestModeContentSize
| AnotherRequestMode Int
deriving (Int -> RequestMode -> ShowS
[RequestMode] -> ShowS
RequestMode -> String
(Int -> RequestMode -> ShowS)
-> (RequestMode -> String)
-> ([RequestMode] -> ShowS)
-> Show RequestMode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RequestMode -> ShowS
showsPrec :: Int -> RequestMode -> ShowS
$cshow :: RequestMode -> String
show :: RequestMode -> String
$cshowList :: [RequestMode] -> ShowS
showList :: [RequestMode] -> ShowS
Show, RequestMode -> RequestMode -> Bool
(RequestMode -> RequestMode -> Bool)
-> (RequestMode -> RequestMode -> Bool) -> Eq RequestMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RequestMode -> RequestMode -> Bool
== :: RequestMode -> RequestMode -> Bool
$c/= :: RequestMode -> RequestMode -> Bool
/= :: RequestMode -> RequestMode -> Bool
Eq)
instance P.Enum RequestMode where
fromEnum :: RequestMode -> Int
fromEnum RequestMode
RequestModeHeightForWidth = Int
0
fromEnum RequestMode
RequestModeWidthForHeight = Int
1
fromEnum RequestMode
RequestModeContentSize = Int
2
fromEnum (AnotherRequestMode Int
k) = Int
k
toEnum :: Int -> RequestMode
toEnum Int
0 = RequestMode
RequestModeHeightForWidth
toEnum Int
1 = RequestMode
RequestModeWidthForHeight
toEnum Int
2 = RequestMode
RequestModeContentSize
toEnum Int
k = Int -> RequestMode
AnotherRequestMode Int
k
instance P.Ord RequestMode where
compare :: RequestMode -> RequestMode -> Ordering
compare RequestMode
a RequestMode
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (RequestMode -> Int
forall a. Enum a => a -> Int
P.fromEnum RequestMode
a) (RequestMode -> Int
forall a. Enum a => a -> Int
P.fromEnum RequestMode
b)
type instance O.ParentTypes RequestMode = '[]
instance O.HasParentTypes RequestMode
foreign import ccall "clutter_request_mode_get_type" c_clutter_request_mode_get_type ::
IO GType
instance B.Types.TypedObject RequestMode where
glibType :: IO GType
glibType = IO GType
c_clutter_request_mode_get_type
instance B.Types.BoxedEnum RequestMode
data PickMode =
PickModeNone
| PickModeReactive
| PickModeAll
| AnotherPickMode Int
deriving (Int -> PickMode -> ShowS
[PickMode] -> ShowS
PickMode -> String
(Int -> PickMode -> ShowS)
-> (PickMode -> String) -> ([PickMode] -> ShowS) -> Show PickMode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PickMode -> ShowS
showsPrec :: Int -> PickMode -> ShowS
$cshow :: PickMode -> String
show :: PickMode -> String
$cshowList :: [PickMode] -> ShowS
showList :: [PickMode] -> ShowS
Show, PickMode -> PickMode -> Bool
(PickMode -> PickMode -> Bool)
-> (PickMode -> PickMode -> Bool) -> Eq PickMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PickMode -> PickMode -> Bool
== :: PickMode -> PickMode -> Bool
$c/= :: PickMode -> PickMode -> Bool
/= :: PickMode -> PickMode -> Bool
Eq)
instance P.Enum PickMode where
fromEnum :: PickMode -> Int
fromEnum PickMode
PickModeNone = Int
0
fromEnum PickMode
PickModeReactive = Int
1
fromEnum PickMode
PickModeAll = Int
2
fromEnum (AnotherPickMode Int
k) = Int
k
toEnum :: Int -> PickMode
toEnum Int
0 = PickMode
PickModeNone
toEnum Int
1 = PickMode
PickModeReactive
toEnum Int
2 = PickMode
PickModeAll
toEnum Int
k = Int -> PickMode
AnotherPickMode Int
k
instance P.Ord PickMode where
compare :: PickMode -> PickMode -> Ordering
compare PickMode
a PickMode
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PickMode -> Int
forall a. Enum a => a -> Int
P.fromEnum PickMode
a) (PickMode -> Int
forall a. Enum a => a -> Int
P.fromEnum PickMode
b)
type instance O.ParentTypes PickMode = '[]
instance O.HasParentTypes PickMode
foreign import ccall "clutter_pick_mode_get_type" c_clutter_pick_mode_get_type ::
IO GType
instance B.Types.TypedObject PickMode where
glibType :: IO GType
glibType = IO GType
c_clutter_pick_mode_get_type
instance B.Types.BoxedEnum PickMode
data PathNodeType =
PathNodeTypeMoveTo
| PathNodeTypeLineTo
| PathNodeTypeCurveTo
| PathNodeTypeClose
| PathNodeTypeRelMoveTo
| PathNodeTypeRelLineTo
| PathNodeTypeRelCurveTo
| AnotherPathNodeType Int
deriving (Int -> PathNodeType -> ShowS
[PathNodeType] -> ShowS
PathNodeType -> String
(Int -> PathNodeType -> ShowS)
-> (PathNodeType -> String)
-> ([PathNodeType] -> ShowS)
-> Show PathNodeType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PathNodeType -> ShowS
showsPrec :: Int -> PathNodeType -> ShowS
$cshow :: PathNodeType -> String
show :: PathNodeType -> String
$cshowList :: [PathNodeType] -> ShowS
showList :: [PathNodeType] -> ShowS
Show, PathNodeType -> PathNodeType -> Bool
(PathNodeType -> PathNodeType -> Bool)
-> (PathNodeType -> PathNodeType -> Bool) -> Eq PathNodeType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PathNodeType -> PathNodeType -> Bool
== :: PathNodeType -> PathNodeType -> Bool
$c/= :: PathNodeType -> PathNodeType -> Bool
/= :: PathNodeType -> PathNodeType -> Bool
Eq)
instance P.Enum PathNodeType where
fromEnum :: PathNodeType -> Int
fromEnum PathNodeType
PathNodeTypeMoveTo = Int
0
fromEnum PathNodeType
PathNodeTypeLineTo = Int
1
fromEnum PathNodeType
PathNodeTypeCurveTo = Int
2
fromEnum PathNodeType
PathNodeTypeClose = Int
3
fromEnum PathNodeType
PathNodeTypeRelMoveTo = Int
32
fromEnum PathNodeType
PathNodeTypeRelLineTo = Int
33
fromEnum PathNodeType
PathNodeTypeRelCurveTo = Int
34
fromEnum (AnotherPathNodeType Int
k) = Int
k
toEnum :: Int -> PathNodeType
toEnum Int
0 = PathNodeType
PathNodeTypeMoveTo
toEnum Int
1 = PathNodeType
PathNodeTypeLineTo
toEnum Int
2 = PathNodeType
PathNodeTypeCurveTo
toEnum Int
3 = PathNodeType
PathNodeTypeClose
toEnum Int
32 = PathNodeType
PathNodeTypeRelMoveTo
toEnum Int
33 = PathNodeType
PathNodeTypeRelLineTo
toEnum Int
34 = PathNodeType
PathNodeTypeRelCurveTo
toEnum Int
k = Int -> PathNodeType
AnotherPathNodeType Int
k
instance P.Ord PathNodeType where
compare :: PathNodeType -> PathNodeType -> Ordering
compare PathNodeType
a PathNodeType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PathNodeType -> Int
forall a. Enum a => a -> Int
P.fromEnum PathNodeType
a) (PathNodeType -> Int
forall a. Enum a => a -> Int
P.fromEnum PathNodeType
b)
type instance O.ParentTypes PathNodeType = '[]
instance O.HasParentTypes PathNodeType
foreign import ccall "clutter_path_node_type_get_type" c_clutter_path_node_type_get_type ::
IO GType
instance B.Types.TypedObject PathNodeType where
glibType :: IO GType
glibType = IO GType
c_clutter_path_node_type_get_type
instance B.Types.BoxedEnum PathNodeType
data PanAxis =
PanAxisAxisNone
| PanAxisXAxis
| PanAxisYAxis
| PanAxisAxisAuto
| AnotherPanAxis Int
deriving (Int -> PanAxis -> ShowS
[PanAxis] -> ShowS
PanAxis -> String
(Int -> PanAxis -> ShowS)
-> (PanAxis -> String) -> ([PanAxis] -> ShowS) -> Show PanAxis
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PanAxis -> ShowS
showsPrec :: Int -> PanAxis -> ShowS
$cshow :: PanAxis -> String
show :: PanAxis -> String
$cshowList :: [PanAxis] -> ShowS
showList :: [PanAxis] -> ShowS
Show, PanAxis -> PanAxis -> Bool
(PanAxis -> PanAxis -> Bool)
-> (PanAxis -> PanAxis -> Bool) -> Eq PanAxis
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PanAxis -> PanAxis -> Bool
== :: PanAxis -> PanAxis -> Bool
$c/= :: PanAxis -> PanAxis -> Bool
/= :: PanAxis -> PanAxis -> Bool
Eq)
instance P.Enum PanAxis where
fromEnum :: PanAxis -> Int
fromEnum PanAxis
PanAxisAxisNone = Int
0
fromEnum PanAxis
PanAxisXAxis = Int
1
fromEnum PanAxis
PanAxisYAxis = Int
2
fromEnum PanAxis
PanAxisAxisAuto = Int
3
fromEnum (AnotherPanAxis Int
k) = Int
k
toEnum :: Int -> PanAxis
toEnum Int
0 = PanAxis
PanAxisAxisNone
toEnum Int
1 = PanAxis
PanAxisXAxis
toEnum Int
2 = PanAxis
PanAxisYAxis
toEnum Int
3 = PanAxis
PanAxisAxisAuto
toEnum Int
k = Int -> PanAxis
AnotherPanAxis Int
k
instance P.Ord PanAxis where
compare :: PanAxis -> PanAxis -> Ordering
compare PanAxis
a PanAxis
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (PanAxis -> Int
forall a. Enum a => a -> Int
P.fromEnum PanAxis
a) (PanAxis -> Int
forall a. Enum a => a -> Int
P.fromEnum PanAxis
b)
type instance O.ParentTypes PanAxis = '[]
instance O.HasParentTypes PanAxis
foreign import ccall "clutter_pan_axis_get_type" c_clutter_pan_axis_get_type ::
IO GType
instance B.Types.TypedObject PanAxis where
glibType :: IO GType
glibType = IO GType
c_clutter_pan_axis_get_type
instance B.Types.BoxedEnum PanAxis
data Orientation =
OrientationHorizontal
| OrientationVertical
| AnotherOrientation Int
deriving (Int -> Orientation -> ShowS
[Orientation] -> ShowS
Orientation -> String
(Int -> Orientation -> ShowS)
-> (Orientation -> String)
-> ([Orientation] -> ShowS)
-> Show Orientation
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Orientation -> ShowS
showsPrec :: Int -> Orientation -> ShowS
$cshow :: Orientation -> String
show :: Orientation -> String
$cshowList :: [Orientation] -> ShowS
showList :: [Orientation] -> ShowS
Show, Orientation -> Orientation -> Bool
(Orientation -> Orientation -> Bool)
-> (Orientation -> Orientation -> Bool) -> Eq Orientation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Orientation -> Orientation -> Bool
== :: Orientation -> Orientation -> Bool
$c/= :: Orientation -> Orientation -> Bool
/= :: Orientation -> Orientation -> Bool
Eq)
instance P.Enum Orientation where
fromEnum :: Orientation -> Int
fromEnum Orientation
OrientationHorizontal = Int
0
fromEnum Orientation
OrientationVertical = Int
1
fromEnum (AnotherOrientation Int
k) = Int
k
toEnum :: Int -> Orientation
toEnum Int
0 = Orientation
OrientationHorizontal
toEnum Int
1 = Orientation
OrientationVertical
toEnum Int
k = Int -> Orientation
AnotherOrientation Int
k
instance P.Ord Orientation where
compare :: Orientation -> Orientation -> Ordering
compare Orientation
a Orientation
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (Orientation -> Int
forall a. Enum a => a -> Int
P.fromEnum Orientation
a) (Orientation -> Int
forall a. Enum a => a -> Int
P.fromEnum Orientation
b)
type instance O.ParentTypes Orientation = '[]
instance O.HasParentTypes Orientation
foreign import ccall "clutter_orientation_get_type" c_clutter_orientation_get_type ::
IO GType
instance B.Types.TypedObject Orientation where
glibType :: IO GType
glibType = IO GType
c_clutter_orientation_get_type
instance B.Types.BoxedEnum Orientation
data LongPressState =
LongPressStateQuery
| LongPressStateActivate
| LongPressStateCancel
| AnotherLongPressState Int
deriving (Int -> LongPressState -> ShowS
[LongPressState] -> ShowS
LongPressState -> String
(Int -> LongPressState -> ShowS)
-> (LongPressState -> String)
-> ([LongPressState] -> ShowS)
-> Show LongPressState
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> LongPressState -> ShowS
showsPrec :: Int -> LongPressState -> ShowS
$cshow :: LongPressState -> String
show :: LongPressState -> String
$cshowList :: [LongPressState] -> ShowS
showList :: [LongPressState] -> ShowS
Show, LongPressState -> LongPressState -> Bool
(LongPressState -> LongPressState -> Bool)
-> (LongPressState -> LongPressState -> Bool) -> Eq LongPressState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: LongPressState -> LongPressState -> Bool
== :: LongPressState -> LongPressState -> Bool
$c/= :: LongPressState -> LongPressState -> Bool
/= :: LongPressState -> LongPressState -> Bool
Eq)
instance P.Enum LongPressState where
fromEnum :: LongPressState -> Int
fromEnum LongPressState
LongPressStateQuery = Int
0
fromEnum LongPressState
LongPressStateActivate = Int
1
fromEnum LongPressState
LongPressStateCancel = Int
2
fromEnum (AnotherLongPressState Int
k) = Int
k
toEnum :: Int -> LongPressState
toEnum Int
0 = LongPressState
LongPressStateQuery
toEnum Int
1 = LongPressState
LongPressStateActivate
toEnum Int
2 = LongPressState
LongPressStateCancel
toEnum Int
k = Int -> LongPressState
AnotherLongPressState Int
k
instance P.Ord LongPressState where
compare :: LongPressState -> LongPressState -> Ordering
compare LongPressState
a LongPressState
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (LongPressState -> Int
forall a. Enum a => a -> Int
P.fromEnum LongPressState
a) (LongPressState -> Int
forall a. Enum a => a -> Int
P.fromEnum LongPressState
b)
type instance O.ParentTypes LongPressState = '[]
instance O.HasParentTypes LongPressState
foreign import ccall "clutter_long_press_state_get_type" c_clutter_long_press_state_get_type ::
IO GType
instance B.Types.TypedObject LongPressState where
glibType :: IO GType
glibType = IO GType
c_clutter_long_press_state_get_type
instance B.Types.BoxedEnum LongPressState
{-# DEPRECATED Interpolation ["(Since version 1.22)"] #-}
data Interpolation =
InterpolationLinear
| InterpolationCubic
| AnotherInterpolation Int
deriving (Int -> Interpolation -> ShowS
[Interpolation] -> ShowS
Interpolation -> String
(Int -> Interpolation -> ShowS)
-> (Interpolation -> String)
-> ([Interpolation] -> ShowS)
-> Show Interpolation
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Interpolation -> ShowS
showsPrec :: Int -> Interpolation -> ShowS
$cshow :: Interpolation -> String
show :: Interpolation -> String
$cshowList :: [Interpolation] -> ShowS
showList :: [Interpolation] -> ShowS
Show, Interpolation -> Interpolation -> Bool
(Interpolation -> Interpolation -> Bool)
-> (Interpolation -> Interpolation -> Bool) -> Eq Interpolation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Interpolation -> Interpolation -> Bool
== :: Interpolation -> Interpolation -> Bool
$c/= :: Interpolation -> Interpolation -> Bool
/= :: Interpolation -> Interpolation -> Bool
Eq)
instance P.Enum Interpolation where
fromEnum :: Interpolation -> Int
fromEnum Interpolation
InterpolationLinear = Int
0
fromEnum Interpolation
InterpolationCubic = Int
1
fromEnum (AnotherInterpolation Int
k) = Int
k
toEnum :: Int -> Interpolation
toEnum Int
0 = Interpolation
InterpolationLinear
toEnum Int
1 = Interpolation
InterpolationCubic
toEnum Int
k = Int -> Interpolation
AnotherInterpolation Int
k
instance P.Ord Interpolation where
compare :: Interpolation -> Interpolation -> Ordering
compare Interpolation
a Interpolation
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (Interpolation -> Int
forall a. Enum a => a -> Int
P.fromEnum Interpolation
a) (Interpolation -> Int
forall a. Enum a => a -> Int
P.fromEnum Interpolation
b)
type instance O.ParentTypes Interpolation = '[]
instance O.HasParentTypes Interpolation
foreign import ccall "clutter_interpolation_get_type" c_clutter_interpolation_get_type ::
IO GType
instance B.Types.TypedObject Interpolation where
glibType :: IO GType
glibType = IO GType
c_clutter_interpolation_get_type
instance B.Types.BoxedEnum Interpolation
data InputMode =
InputModeMaster
| InputModeSlave
| InputModeFloating
| AnotherInputMode Int
deriving (Int -> InputMode -> ShowS
[InputMode] -> ShowS
InputMode -> String
(Int -> InputMode -> ShowS)
-> (InputMode -> String)
-> ([InputMode] -> ShowS)
-> Show InputMode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> InputMode -> ShowS
showsPrec :: Int -> InputMode -> ShowS
$cshow :: InputMode -> String
show :: InputMode -> String
$cshowList :: [InputMode] -> ShowS
showList :: [InputMode] -> ShowS
Show, InputMode -> InputMode -> Bool
(InputMode -> InputMode -> Bool)
-> (InputMode -> InputMode -> Bool) -> Eq InputMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InputMode -> InputMode -> Bool
== :: InputMode -> InputMode -> Bool
$c/= :: InputMode -> InputMode -> Bool
/= :: InputMode -> InputMode -> Bool
Eq)
instance P.Enum InputMode where
fromEnum :: InputMode -> Int
fromEnum InputMode
InputModeMaster = Int
0
fromEnum InputMode
InputModeSlave = Int
1
fromEnum InputMode
InputModeFloating = Int
2
fromEnum (AnotherInputMode Int
k) = Int
k
toEnum :: Int -> InputMode
toEnum Int
0 = InputMode
InputModeMaster
toEnum Int
1 = InputMode
InputModeSlave
toEnum Int
2 = InputMode
InputModeFloating
toEnum Int
k = Int -> InputMode
AnotherInputMode Int
k
instance P.Ord InputMode where
compare :: InputMode -> InputMode -> Ordering
compare InputMode
a InputMode
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (InputMode -> Int
forall a. Enum a => a -> Int
P.fromEnum InputMode
a) (InputMode -> Int
forall a. Enum a => a -> Int
P.fromEnum InputMode
b)
type instance O.ParentTypes InputMode = '[]
instance O.HasParentTypes InputMode
foreign import ccall "clutter_input_mode_get_type" c_clutter_input_mode_get_type ::
IO GType
instance B.Types.TypedObject InputMode where
glibType :: IO GType
glibType = IO GType
c_clutter_input_mode_get_type
instance B.Types.BoxedEnum InputMode
data InputDeviceType =
InputDeviceTypePointerDevice
| InputDeviceTypeKeyboardDevice
| InputDeviceTypeExtensionDevice
| InputDeviceTypeJoystickDevice
| InputDeviceTypeTabletDevice
| InputDeviceTypeTouchpadDevice
| InputDeviceTypeTouchscreenDevice
| InputDeviceTypePenDevice
| InputDeviceTypeEraserDevice
| InputDeviceTypeCursorDevice
| InputDeviceTypeNDeviceTypes
| AnotherInputDeviceType Int
deriving (Int -> InputDeviceType -> ShowS
[InputDeviceType] -> ShowS
InputDeviceType -> String
(Int -> InputDeviceType -> ShowS)
-> (InputDeviceType -> String)
-> ([InputDeviceType] -> ShowS)
-> Show InputDeviceType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> InputDeviceType -> ShowS
showsPrec :: Int -> InputDeviceType -> ShowS
$cshow :: InputDeviceType -> String
show :: InputDeviceType -> String
$cshowList :: [InputDeviceType] -> ShowS
showList :: [InputDeviceType] -> ShowS
Show, InputDeviceType -> InputDeviceType -> Bool
(InputDeviceType -> InputDeviceType -> Bool)
-> (InputDeviceType -> InputDeviceType -> Bool)
-> Eq InputDeviceType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InputDeviceType -> InputDeviceType -> Bool
== :: InputDeviceType -> InputDeviceType -> Bool
$c/= :: InputDeviceType -> InputDeviceType -> Bool
/= :: InputDeviceType -> InputDeviceType -> Bool
Eq)
instance P.Enum InputDeviceType where
fromEnum :: InputDeviceType -> Int
fromEnum InputDeviceType
InputDeviceTypePointerDevice = Int
0
fromEnum InputDeviceType
InputDeviceTypeKeyboardDevice = Int
1
fromEnum InputDeviceType
InputDeviceTypeExtensionDevice = Int
2
fromEnum InputDeviceType
InputDeviceTypeJoystickDevice = Int
3
fromEnum InputDeviceType
InputDeviceTypeTabletDevice = Int
4
fromEnum InputDeviceType
InputDeviceTypeTouchpadDevice = Int
5
fromEnum InputDeviceType
InputDeviceTypeTouchscreenDevice = Int
6
fromEnum InputDeviceType
InputDeviceTypePenDevice = Int
7
fromEnum InputDeviceType
InputDeviceTypeEraserDevice = Int
8
fromEnum InputDeviceType
InputDeviceTypeCursorDevice = Int
9
fromEnum InputDeviceType
InputDeviceTypeNDeviceTypes = Int
10
fromEnum (AnotherInputDeviceType Int
k) = Int
k
toEnum :: Int -> InputDeviceType
toEnum Int
0 = InputDeviceType
InputDeviceTypePointerDevice
toEnum Int
1 = InputDeviceType
InputDeviceTypeKeyboardDevice
toEnum Int
2 = InputDeviceType
InputDeviceTypeExtensionDevice
toEnum Int
3 = InputDeviceType
InputDeviceTypeJoystickDevice
toEnum Int
4 = InputDeviceType
InputDeviceTypeTabletDevice
toEnum Int
5 = InputDeviceType
InputDeviceTypeTouchpadDevice
toEnum Int
6 = InputDeviceType
InputDeviceTypeTouchscreenDevice
toEnum Int
7 = InputDeviceType
InputDeviceTypePenDevice
toEnum Int
8 = InputDeviceType
InputDeviceTypeEraserDevice
toEnum Int
9 = InputDeviceType
InputDeviceTypeCursorDevice
toEnum Int
10 = InputDeviceType
InputDeviceTypeNDeviceTypes
toEnum Int
k = Int -> InputDeviceType
AnotherInputDeviceType Int
k
instance P.Ord InputDeviceType where
compare :: InputDeviceType -> InputDeviceType -> Ordering
compare InputDeviceType
a InputDeviceType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (InputDeviceType -> Int
forall a. Enum a => a -> Int
P.fromEnum InputDeviceType
a) (InputDeviceType -> Int
forall a. Enum a => a -> Int
P.fromEnum InputDeviceType
b)
type instance O.ParentTypes InputDeviceType = '[]
instance O.HasParentTypes InputDeviceType
foreign import ccall "clutter_input_device_type_get_type" c_clutter_input_device_type_get_type ::
IO GType
instance B.Types.TypedObject InputDeviceType where
glibType :: IO GType
glibType = IO GType
c_clutter_input_device_type_get_type
instance B.Types.BoxedEnum InputDeviceType
data InputAxis =
InputAxisIgnore
| InputAxisX
| InputAxisY
| InputAxisPressure
| InputAxisXtilt
| InputAxisYtilt
| InputAxisWheel
| InputAxisDistance
| InputAxisLast
| AnotherInputAxis Int
deriving (Int -> InputAxis -> ShowS
[InputAxis] -> ShowS
InputAxis -> String
(Int -> InputAxis -> ShowS)
-> (InputAxis -> String)
-> ([InputAxis] -> ShowS)
-> Show InputAxis
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> InputAxis -> ShowS
showsPrec :: Int -> InputAxis -> ShowS
$cshow :: InputAxis -> String
show :: InputAxis -> String
$cshowList :: [InputAxis] -> ShowS
showList :: [InputAxis] -> ShowS
Show, InputAxis -> InputAxis -> Bool
(InputAxis -> InputAxis -> Bool)
-> (InputAxis -> InputAxis -> Bool) -> Eq InputAxis
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InputAxis -> InputAxis -> Bool
== :: InputAxis -> InputAxis -> Bool
$c/= :: InputAxis -> InputAxis -> Bool
/= :: InputAxis -> InputAxis -> Bool
Eq)
instance P.Enum InputAxis where
fromEnum :: InputAxis -> Int
fromEnum InputAxis
InputAxisIgnore = Int
0
fromEnum InputAxis
InputAxisX = Int
1
fromEnum InputAxis
InputAxisY = Int
2
fromEnum InputAxis
InputAxisPressure = Int
3
fromEnum InputAxis
InputAxisXtilt = Int
4
fromEnum InputAxis
InputAxisYtilt = Int
5
fromEnum InputAxis
InputAxisWheel = Int
6
fromEnum InputAxis
InputAxisDistance = Int
7
fromEnum InputAxis
InputAxisLast = Int
8
fromEnum (AnotherInputAxis Int
k) = Int
k
toEnum :: Int -> InputAxis
toEnum Int
0 = InputAxis
InputAxisIgnore
toEnum Int
1 = InputAxis
InputAxisX
toEnum Int
2 = InputAxis
InputAxisY
toEnum Int
3 = InputAxis
InputAxisPressure
toEnum Int
4 = InputAxis
InputAxisXtilt
toEnum Int
5 = InputAxis
InputAxisYtilt
toEnum Int
6 = InputAxis
InputAxisWheel
toEnum Int
7 = InputAxis
InputAxisDistance
toEnum Int
8 = InputAxis
InputAxisLast
toEnum Int
k = Int -> InputAxis
AnotherInputAxis Int
k
instance P.Ord InputAxis where
compare :: InputAxis -> InputAxis -> Ordering
compare InputAxis
a InputAxis
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (InputAxis -> Int
forall a. Enum a => a -> Int
P.fromEnum InputAxis
a) (InputAxis -> Int
forall a. Enum a => a -> Int
P.fromEnum InputAxis
b)
type instance O.ParentTypes InputAxis = '[]
instance O.HasParentTypes InputAxis
foreign import ccall "clutter_input_axis_get_type" c_clutter_input_axis_get_type ::
IO GType
instance B.Types.TypedObject InputAxis where
glibType :: IO GType
glibType = IO GType
c_clutter_input_axis_get_type
instance B.Types.BoxedEnum InputAxis
data InitError =
InitErrorSuccess
| InitErrorErrorUnknown
| InitErrorErrorThreads
| InitErrorErrorBackend
| InitErrorErrorInternal
| AnotherInitError Int
deriving (Int -> InitError -> ShowS
[InitError] -> ShowS
InitError -> String
(Int -> InitError -> ShowS)
-> (InitError -> String)
-> ([InitError] -> ShowS)
-> Show InitError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> InitError -> ShowS
showsPrec :: Int -> InitError -> ShowS
$cshow :: InitError -> String
show :: InitError -> String
$cshowList :: [InitError] -> ShowS
showList :: [InitError] -> ShowS
Show, InitError -> InitError -> Bool
(InitError -> InitError -> Bool)
-> (InitError -> InitError -> Bool) -> Eq InitError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InitError -> InitError -> Bool
== :: InitError -> InitError -> Bool
$c/= :: InitError -> InitError -> Bool
/= :: InitError -> InitError -> Bool
Eq)
instance P.Enum InitError where
fromEnum :: InitError -> Int
fromEnum InitError
InitErrorSuccess = Int
1
fromEnum InitError
InitErrorErrorUnknown = Int
0
fromEnum InitError
InitErrorErrorThreads = Int
-1
fromEnum InitError
InitErrorErrorBackend = Int
-2
fromEnum InitError
InitErrorErrorInternal = Int
-3
fromEnum (AnotherInitError Int
k) = Int
k
toEnum :: Int -> InitError
toEnum Int
1 = InitError
InitErrorSuccess
toEnum Int
0 = InitError
InitErrorErrorUnknown
toEnum Int
-1 = InitError
InitErrorErrorThreads
toEnum Int
-2 = InitError
InitErrorErrorBackend
toEnum Int
-3 = InitError
InitErrorErrorInternal
toEnum Int
k = Int -> InitError
AnotherInitError Int
k
instance P.Ord InitError where
compare :: InitError -> InitError -> Ordering
compare InitError
a InitError
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (InitError -> Int
forall a. Enum a => a -> Int
P.fromEnum InitError
a) (InitError -> Int
forall a. Enum a => a -> Int
P.fromEnum InitError
b)
instance GErrorClass InitError where
gerrorClassDomain :: InitError -> Text
gerrorClassDomain InitError
_ = Text
"clutter-init-error-quark"
catchInitError ::
IO a ->
(InitError -> GErrorMessage -> IO a) ->
IO a
catchInitError :: forall a. IO a -> (InitError -> Text -> IO a) -> IO a
catchInitError = IO a -> (InitError -> Text -> IO a) -> IO a
forall err a.
GErrorClass err =>
IO a -> (err -> Text -> IO a) -> IO a
catchGErrorJustDomain
handleInitError ::
(InitError -> GErrorMessage -> IO a) ->
IO a ->
IO a
handleInitError :: forall a. (InitError -> Text -> IO a) -> IO a -> IO a
handleInitError = (InitError -> Text -> IO a) -> IO a -> IO a
forall err a.
GErrorClass err =>
(err -> Text -> IO a) -> IO a -> IO a
handleGErrorJustDomain
type instance O.ParentTypes InitError = '[]
instance O.HasParentTypes InitError
foreign import ccall "clutter_init_error_get_type" c_clutter_init_error_get_type ::
IO GType
instance B.Types.TypedObject InitError where
glibType :: IO GType
glibType = IO GType
c_clutter_init_error_get_type
instance B.Types.BoxedEnum InitError
data ImageError =
ImageErrorData
| AnotherImageError Int
deriving (Int -> ImageError -> ShowS
[ImageError] -> ShowS
ImageError -> String
(Int -> ImageError -> ShowS)
-> (ImageError -> String)
-> ([ImageError] -> ShowS)
-> Show ImageError
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ImageError -> ShowS
showsPrec :: Int -> ImageError -> ShowS
$cshow :: ImageError -> String
show :: ImageError -> String
$cshowList :: [ImageError] -> ShowS
showList :: [ImageError] -> ShowS
Show, ImageError -> ImageError -> Bool
(ImageError -> ImageError -> Bool)
-> (ImageError -> ImageError -> Bool) -> Eq ImageError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ImageError -> ImageError -> Bool
== :: ImageError -> ImageError -> Bool
$c/= :: ImageError -> ImageError -> Bool
/= :: ImageError -> ImageError -> Bool
Eq)
instance P.Enum ImageError where
fromEnum :: ImageError -> Int
fromEnum ImageError
ImageErrorData = Int
0
fromEnum (AnotherImageError Int
k) = Int
k
toEnum :: Int -> ImageError
toEnum Int
0 = ImageError
ImageErrorData
toEnum Int
k = Int -> ImageError
AnotherImageError Int
k
instance P.Ord ImageError where
compare :: ImageError -> ImageError -> Ordering
compare ImageError
a ImageError
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ImageError -> Int
forall a. Enum a => a -> Int
P.fromEnum ImageError
a) (ImageError -> Int
forall a. Enum a => a -> Int
P.fromEnum ImageError
b)
instance GErrorClass ImageError where
gerrorClassDomain :: ImageError -> Text
gerrorClassDomain ImageError
_ = Text
"clutter-image-error-quark"
catchImageError ::
IO a ->
(ImageError -> GErrorMessage -> IO a) ->
IO a
catchImageError :: forall a. IO a -> (ImageError -> Text -> IO a) -> IO a
catchImageError = IO a -> (ImageError -> Text -> IO a) -> IO a
forall err a.
GErrorClass err =>
IO a -> (err -> Text -> IO a) -> IO a
catchGErrorJustDomain
handleImageError ::
(ImageError -> GErrorMessage -> IO a) ->
IO a ->
IO a
handleImageError :: forall a. (ImageError -> Text -> IO a) -> IO a -> IO a
handleImageError = (ImageError -> Text -> IO a) -> IO a -> IO a
forall err a.
GErrorClass err =>
(err -> Text -> IO a) -> IO a -> IO a
handleGErrorJustDomain
type instance O.ParentTypes ImageError = '[]
instance O.HasParentTypes ImageError
foreign import ccall "clutter_image_error_get_type" c_clutter_image_error_get_type ::
IO GType
instance B.Types.TypedObject ImageError where
glibType :: IO GType
glibType = IO GType
c_clutter_image_error_get_type
instance B.Types.BoxedEnum ImageError
data GridPosition =
GridPositionLeft
| GridPositionRight
| GridPositionTop
| GridPositionBottom
| AnotherGridPosition Int
deriving (Int -> GridPosition -> ShowS
[GridPosition] -> ShowS
GridPosition -> String
(Int -> GridPosition -> ShowS)
-> (GridPosition -> String)
-> ([GridPosition] -> ShowS)
-> Show GridPosition
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GridPosition -> ShowS
showsPrec :: Int -> GridPosition -> ShowS
$cshow :: GridPosition -> String
show :: GridPosition -> String
$cshowList :: [GridPosition] -> ShowS
showList :: [GridPosition] -> ShowS
Show, GridPosition -> GridPosition -> Bool
(GridPosition -> GridPosition -> Bool)
-> (GridPosition -> GridPosition -> Bool) -> Eq GridPosition
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GridPosition -> GridPosition -> Bool
== :: GridPosition -> GridPosition -> Bool
$c/= :: GridPosition -> GridPosition -> Bool
/= :: GridPosition -> GridPosition -> Bool
Eq)
instance P.Enum GridPosition where
fromEnum :: GridPosition -> Int
fromEnum GridPosition
GridPositionLeft = Int
0
fromEnum GridPosition
GridPositionRight = Int
1
fromEnum GridPosition
GridPositionTop = Int
2
fromEnum GridPosition
GridPositionBottom = Int
3
fromEnum (AnotherGridPosition Int
k) = Int
k
toEnum :: Int -> GridPosition
toEnum Int
0 = GridPosition
GridPositionLeft
toEnum Int
1 = GridPosition
GridPositionRight
toEnum Int
2 = GridPosition
GridPositionTop
toEnum Int
3 = GridPosition
GridPositionBottom
toEnum Int
k = Int -> GridPosition
AnotherGridPosition Int
k
instance P.Ord GridPosition where
compare :: GridPosition -> GridPosition -> Ordering
compare GridPosition
a GridPosition
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (GridPosition -> Int
forall a. Enum a => a -> Int
P.fromEnum GridPosition
a) (GridPosition -> Int
forall a. Enum a => a -> Int
P.fromEnum GridPosition
b)
type instance O.ParentTypes GridPosition = '[]
instance O.HasParentTypes GridPosition
foreign import ccall "clutter_grid_position_get_type" c_clutter_grid_position_get_type ::
IO GType
instance B.Types.TypedObject GridPosition where
glibType :: IO GType
glibType = IO GType
c_clutter_grid_position_get_type
instance B.Types.BoxedEnum GridPosition
{-# DEPRECATED Gravity ["(Since version 1.22)","Use the normalized t'GI.Clutter.Objects.Actor.Actor' pivot point instead"] #-}
data Gravity =
GravityNone
| GravityNorth
| GravityNorthEast
| GravityEast
| GravitySouthEast
| GravitySouth
| GravitySouthWest
| GravityWest
| GravityNorthWest
| GravityCenter
| AnotherGravity Int
deriving (Int -> Gravity -> ShowS
[Gravity] -> ShowS
Gravity -> String
(Int -> Gravity -> ShowS)
-> (Gravity -> String) -> ([Gravity] -> ShowS) -> Show Gravity
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Gravity -> ShowS
showsPrec :: Int -> Gravity -> ShowS
$cshow :: Gravity -> String
show :: Gravity -> String
$cshowList :: [Gravity] -> ShowS
showList :: [Gravity] -> ShowS
Show, Gravity -> Gravity -> Bool
(Gravity -> Gravity -> Bool)
-> (Gravity -> Gravity -> Bool) -> Eq Gravity
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Gravity -> Gravity -> Bool
== :: Gravity -> Gravity -> Bool
$c/= :: Gravity -> Gravity -> Bool
/= :: Gravity -> Gravity -> Bool
Eq)
instance P.Enum Gravity where
fromEnum :: Gravity -> Int
fromEnum Gravity
GravityNone = Int
0
fromEnum Gravity
GravityNorth = Int
1
fromEnum Gravity
GravityNorthEast = Int
2
fromEnum Gravity
GravityEast = Int
3
fromEnum Gravity
GravitySouthEast = Int
4
fromEnum Gravity
GravitySouth = Int
5
fromEnum Gravity
GravitySouthWest = Int
6
fromEnum Gravity
GravityWest = Int
7
fromEnum Gravity
GravityNorthWest = Int
8
fromEnum Gravity
GravityCenter = Int
9
fromEnum (AnotherGravity Int
k) = Int
k
toEnum :: Int -> Gravity
toEnum Int
0 = Gravity
GravityNone
toEnum Int
1 = Gravity
GravityNorth
toEnum Int
2 = Gravity
GravityNorthEast
toEnum Int
3 = Gravity
GravityEast
toEnum Int
4 = Gravity
GravitySouthEast
toEnum Int
5 = Gravity
GravitySouth
toEnum Int
6 = Gravity
GravitySouthWest
toEnum Int
7 = Gravity
GravityWest
toEnum Int
8 = Gravity
GravityNorthWest
toEnum Int
9 = Gravity
GravityCenter
toEnum Int
k = Int -> Gravity
AnotherGravity Int
k
instance P.Ord Gravity where
compare :: Gravity -> Gravity -> Ordering
compare Gravity
a Gravity
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (Gravity -> Int
forall a. Enum a => a -> Int
P.fromEnum Gravity
a) (Gravity -> Int
forall a. Enum a => a -> Int
P.fromEnum Gravity
b)
type instance O.ParentTypes Gravity = '[]
instance O.HasParentTypes Gravity
foreign import ccall "clutter_gravity_get_type" c_clutter_gravity_get_type ::
IO GType
instance B.Types.TypedObject Gravity where
glibType :: IO GType
glibType = IO GType
c_clutter_gravity_get_type
instance B.Types.BoxedEnum Gravity
data GestureTriggerEdge =
GestureTriggerEdgeNone
| GestureTriggerEdgeAfter
| GestureTriggerEdgeBefore
| AnotherGestureTriggerEdge Int
deriving (Int -> GestureTriggerEdge -> ShowS
[GestureTriggerEdge] -> ShowS
GestureTriggerEdge -> String
(Int -> GestureTriggerEdge -> ShowS)
-> (GestureTriggerEdge -> String)
-> ([GestureTriggerEdge] -> ShowS)
-> Show GestureTriggerEdge
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GestureTriggerEdge -> ShowS
showsPrec :: Int -> GestureTriggerEdge -> ShowS
$cshow :: GestureTriggerEdge -> String
show :: GestureTriggerEdge -> String
$cshowList :: [GestureTriggerEdge] -> ShowS
showList :: [GestureTriggerEdge] -> ShowS
Show, GestureTriggerEdge -> GestureTriggerEdge -> Bool
(GestureTriggerEdge -> GestureTriggerEdge -> Bool)
-> (GestureTriggerEdge -> GestureTriggerEdge -> Bool)
-> Eq GestureTriggerEdge
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GestureTriggerEdge -> GestureTriggerEdge -> Bool
== :: GestureTriggerEdge -> GestureTriggerEdge -> Bool
$c/= :: GestureTriggerEdge -> GestureTriggerEdge -> Bool
/= :: GestureTriggerEdge -> GestureTriggerEdge -> Bool
Eq)
instance P.Enum GestureTriggerEdge where
fromEnum :: GestureTriggerEdge -> Int
fromEnum GestureTriggerEdge
GestureTriggerEdgeNone = Int
0
fromEnum GestureTriggerEdge
GestureTriggerEdgeAfter = Int
1
fromEnum GestureTriggerEdge
GestureTriggerEdgeBefore = Int
2
fromEnum (AnotherGestureTriggerEdge Int
k) = Int
k
toEnum :: Int -> GestureTriggerEdge
toEnum Int
0 = GestureTriggerEdge
GestureTriggerEdgeNone
toEnum Int
1 = GestureTriggerEdge
GestureTriggerEdgeAfter
toEnum Int
2 = GestureTriggerEdge
GestureTriggerEdgeBefore
toEnum Int
k = Int -> GestureTriggerEdge
AnotherGestureTriggerEdge Int
k
instance P.Ord GestureTriggerEdge where
compare :: GestureTriggerEdge -> GestureTriggerEdge -> Ordering
compare GestureTriggerEdge
a GestureTriggerEdge
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (GestureTriggerEdge -> Int
forall a. Enum a => a -> Int
P.fromEnum GestureTriggerEdge
a) (GestureTriggerEdge -> Int
forall a. Enum a => a -> Int
P.fromEnum GestureTriggerEdge
b)
type instance O.ParentTypes GestureTriggerEdge = '[]
instance O.HasParentTypes GestureTriggerEdge
foreign import ccall "clutter_gesture_trigger_edge_get_type" c_clutter_gesture_trigger_edge_get_type ::
IO GType
instance B.Types.TypedObject GestureTriggerEdge where
glibType :: IO GType
glibType = IO GType
c_clutter_gesture_trigger_edge_get_type
instance B.Types.BoxedEnum GestureTriggerEdge
data FlowOrientation =
FlowOrientationHorizontal
| FlowOrientationVertical
| AnotherFlowOrientation Int
deriving (Int -> FlowOrientation -> ShowS
[FlowOrientation] -> ShowS
FlowOrientation -> String
(Int -> FlowOrientation -> ShowS)
-> (FlowOrientation -> String)
-> ([FlowOrientation] -> ShowS)
-> Show FlowOrientation
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> FlowOrientation -> ShowS
showsPrec :: Int -> FlowOrientation -> ShowS
$cshow :: FlowOrientation -> String
show :: FlowOrientation -> String
$cshowList :: [FlowOrientation] -> ShowS
showList :: [FlowOrientation] -> ShowS
Show, FlowOrientation -> FlowOrientation -> Bool
(FlowOrientation -> FlowOrientation -> Bool)
-> (FlowOrientation -> FlowOrientation -> Bool)
-> Eq FlowOrientation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: FlowOrientation -> FlowOrientation -> Bool
== :: FlowOrientation -> FlowOrientation -> Bool
$c/= :: FlowOrientation -> FlowOrientation -> Bool
/= :: FlowOrientation -> FlowOrientation -> Bool
Eq)
instance P.Enum FlowOrientation where
fromEnum :: FlowOrientation -> Int
fromEnum FlowOrientation
FlowOrientationHorizontal = Int
0
fromEnum FlowOrientation
FlowOrientationVertical = Int
1
fromEnum (AnotherFlowOrientation Int
k) = Int
k
toEnum :: Int -> FlowOrientation
toEnum Int
0 = FlowOrientation
FlowOrientationHorizontal
toEnum Int
1 = FlowOrientation
FlowOrientationVertical
toEnum Int
k = Int -> FlowOrientation
AnotherFlowOrientation Int
k
instance P.Ord FlowOrientation where
compare :: FlowOrientation -> FlowOrientation -> Ordering
compare FlowOrientation
a FlowOrientation
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (FlowOrientation -> Int
forall a. Enum a => a -> Int
P.fromEnum FlowOrientation
a) (FlowOrientation -> Int
forall a. Enum a => a -> Int
P.fromEnum FlowOrientation
b)
type instance O.ParentTypes FlowOrientation = '[]
instance O.HasParentTypes FlowOrientation
foreign import ccall "clutter_flow_orientation_get_type" c_clutter_flow_orientation_get_type ::
IO GType
instance B.Types.TypedObject FlowOrientation where
glibType :: IO GType
glibType = IO GType
c_clutter_flow_orientation_get_type
instance B.Types.BoxedEnum FlowOrientation
data EventType =
EventTypeNothing
| EventTypeKeyPress
| EventTypeKeyRelease
| EventTypeMotion
| EventTypeEnter
| EventTypeLeave
| EventTypeButtonPress
| EventTypeButtonRelease
| EventTypeScroll
| EventTypeStageState
| EventTypeDestroyNotify
| EventTypeClientMessage
| EventTypeDelete
| EventTypeTouchBegin
| EventTypeTouchUpdate
| EventTypeTouchEnd
| EventTypeTouchCancel
| EventTypeTouchpadPinch
| EventTypeTouchpadSwipe
| EventTypeEventLast
| AnotherEventType Int
deriving (Int -> EventType -> ShowS
[EventType] -> ShowS
EventType -> String
(Int -> EventType -> ShowS)
-> (EventType -> String)
-> ([EventType] -> ShowS)
-> Show EventType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> EventType -> ShowS
showsPrec :: Int -> EventType -> ShowS
$cshow :: EventType -> String
show :: EventType -> String
$cshowList :: [EventType] -> ShowS
showList :: [EventType] -> ShowS
Show, EventType -> EventType -> Bool
(EventType -> EventType -> Bool)
-> (EventType -> EventType -> Bool) -> Eq EventType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: EventType -> EventType -> Bool
== :: EventType -> EventType -> Bool
$c/= :: EventType -> EventType -> Bool
/= :: EventType -> EventType -> Bool
Eq)
instance P.Enum EventType where
fromEnum :: EventType -> Int
fromEnum EventType
EventTypeNothing = Int
0
fromEnum EventType
EventTypeKeyPress = Int
1
fromEnum EventType
EventTypeKeyRelease = Int
2
fromEnum EventType
EventTypeMotion = Int
3
fromEnum EventType
EventTypeEnter = Int
4
fromEnum EventType
EventTypeLeave = Int
5
fromEnum EventType
EventTypeButtonPress = Int
6
fromEnum EventType
EventTypeButtonRelease = Int
7
fromEnum EventType
EventTypeScroll = Int
8
fromEnum EventType
EventTypeStageState = Int
9
fromEnum EventType
EventTypeDestroyNotify = Int
10
fromEnum EventType
EventTypeClientMessage = Int
11
fromEnum EventType
EventTypeDelete = Int
12
fromEnum EventType
EventTypeTouchBegin = Int
13
fromEnum EventType
EventTypeTouchUpdate = Int
14
fromEnum EventType
EventTypeTouchEnd = Int
15
fromEnum EventType
EventTypeTouchCancel = Int
16
fromEnum EventType
EventTypeTouchpadPinch = Int
17
fromEnum EventType
EventTypeTouchpadSwipe = Int
18
fromEnum EventType
EventTypeEventLast = Int
19
fromEnum (AnotherEventType Int
k) = Int
k
toEnum :: Int -> EventType
toEnum Int
0 = EventType
EventTypeNothing
toEnum Int
1 = EventType
EventTypeKeyPress
toEnum Int
2 = EventType
EventTypeKeyRelease
toEnum Int
3 = EventType
EventTypeMotion
toEnum Int
4 = EventType
EventTypeEnter
toEnum Int
5 = EventType
EventTypeLeave
toEnum Int
6 = EventType
EventTypeButtonPress
toEnum Int
7 = EventType
EventTypeButtonRelease
toEnum Int
8 = EventType
EventTypeScroll
toEnum Int
9 = EventType
EventTypeStageState
toEnum Int
10 = EventType
EventTypeDestroyNotify
toEnum Int
11 = EventType
EventTypeClientMessage
toEnum Int
12 = EventType
EventTypeDelete
toEnum Int
13 = EventType
EventTypeTouchBegin
toEnum Int
14 = EventType
EventTypeTouchUpdate
toEnum Int
15 = EventType
EventTypeTouchEnd
toEnum Int
16 = EventType
EventTypeTouchCancel
toEnum Int
17 = EventType
EventTypeTouchpadPinch
toEnum Int
18 = EventType
EventTypeTouchpadSwipe
toEnum Int
19 = EventType
EventTypeEventLast
toEnum Int
k = Int -> EventType
AnotherEventType Int
k
instance P.Ord EventType where
compare :: EventType -> EventType -> Ordering
compare EventType
a EventType
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (EventType -> Int
forall a. Enum a => a -> Int
P.fromEnum EventType
a) (EventType -> Int
forall a. Enum a => a -> Int
P.fromEnum EventType
b)
type instance O.ParentTypes EventType = '[]
instance O.HasParentTypes EventType
foreign import ccall "clutter_event_type_get_type" c_clutter_event_type_get_type ::
IO GType
instance B.Types.TypedObject EventType where
glibType :: IO GType
glibType = IO GType
c_clutter_event_type_get_type
instance B.Types.BoxedEnum EventType
data DragAxis =
DragAxisAxisNone
| DragAxisXAxis
| DragAxisYAxis
| AnotherDragAxis Int
deriving (Int -> DragAxis -> ShowS
[DragAxis] -> ShowS
DragAxis -> String
(Int -> DragAxis -> ShowS)
-> (DragAxis -> String) -> ([DragAxis] -> ShowS) -> Show DragAxis
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DragAxis -> ShowS
showsPrec :: Int -> DragAxis -> ShowS
$cshow :: DragAxis -> String
show :: DragAxis -> String
$cshowList :: [DragAxis] -> ShowS
showList :: [DragAxis] -> ShowS
Show, DragAxis -> DragAxis -> Bool
(DragAxis -> DragAxis -> Bool)
-> (DragAxis -> DragAxis -> Bool) -> Eq DragAxis
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DragAxis -> DragAxis -> Bool
== :: DragAxis -> DragAxis -> Bool
$c/= :: DragAxis -> DragAxis -> Bool
/= :: DragAxis -> DragAxis -> Bool
Eq)
instance P.Enum DragAxis where
fromEnum :: DragAxis -> Int
fromEnum DragAxis
DragAxisAxisNone = Int
0
fromEnum DragAxis
DragAxisXAxis = Int
1
fromEnum DragAxis
DragAxisYAxis = Int
2
fromEnum (AnotherDragAxis Int
k) = Int
k
toEnum :: Int -> DragAxis
toEnum Int
0 = DragAxis
DragAxisAxisNone
toEnum Int
1 = DragAxis
DragAxisXAxis
toEnum Int
2 = DragAxis
DragAxisYAxis
toEnum Int
k = Int -> DragAxis
AnotherDragAxis Int
k
instance P.Ord DragAxis where
compare :: DragAxis -> DragAxis -> Ordering
compare DragAxis
a DragAxis
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (DragAxis -> Int
forall a. Enum a => a -> Int
P.fromEnum DragAxis
a) (DragAxis -> Int
forall a. Enum a => a -> Int
P.fromEnum DragAxis
b)
type instance O.ParentTypes DragAxis = '[]
instance O.HasParentTypes DragAxis
foreign import ccall "clutter_drag_axis_get_type" c_clutter_drag_axis_get_type ::
IO GType
instance B.Types.TypedObject DragAxis where
glibType :: IO GType
glibType = IO GType
c_clutter_drag_axis_get_type
instance B.Types.BoxedEnum DragAxis
data ContentGravity =
ContentGravityTopLeft
| ContentGravityTop
| ContentGravityTopRight
| ContentGravityLeft
| ContentGravityCenter
| ContentGravityRight
| ContentGravityBottomLeft
| ContentGravityBottom
| ContentGravityBottomRight
| ContentGravityResizeFill
| ContentGravityResizeAspect
| AnotherContentGravity Int
deriving (Int -> ContentGravity -> ShowS
[ContentGravity] -> ShowS
ContentGravity -> String
(Int -> ContentGravity -> ShowS)
-> (ContentGravity -> String)
-> ([ContentGravity] -> ShowS)
-> Show ContentGravity
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ContentGravity -> ShowS
showsPrec :: Int -> ContentGravity -> ShowS
$cshow :: ContentGravity -> String
show :: ContentGravity -> String
$cshowList :: [ContentGravity] -> ShowS
showList :: [ContentGravity] -> ShowS
Show, ContentGravity -> ContentGravity -> Bool
(ContentGravity -> ContentGravity -> Bool)
-> (ContentGravity -> ContentGravity -> Bool) -> Eq ContentGravity
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ContentGravity -> ContentGravity -> Bool
== :: ContentGravity -> ContentGravity -> Bool
$c/= :: ContentGravity -> ContentGravity -> Bool
/= :: ContentGravity -> ContentGravity -> Bool
Eq)
instance P.Enum ContentGravity where
fromEnum :: ContentGravity -> Int
fromEnum ContentGravity
ContentGravityTopLeft = Int
0
fromEnum ContentGravity
ContentGravityTop = Int
1
fromEnum ContentGravity
ContentGravityTopRight = Int
2
fromEnum ContentGravity
ContentGravityLeft = Int
3
fromEnum ContentGravity
ContentGravityCenter = Int
4
fromEnum ContentGravity
ContentGravityRight = Int
5
fromEnum ContentGravity
ContentGravityBottomLeft = Int
6
fromEnum ContentGravity
ContentGravityBottom = Int
7
fromEnum ContentGravity
ContentGravityBottomRight = Int
8
fromEnum ContentGravity
ContentGravityResizeFill = Int
9
fromEnum ContentGravity
ContentGravityResizeAspect = Int
10
fromEnum (AnotherContentGravity Int
k) = Int
k
toEnum :: Int -> ContentGravity
toEnum Int
0 = ContentGravity
ContentGravityTopLeft
toEnum Int
1 = ContentGravity
ContentGravityTop
toEnum Int
2 = ContentGravity
ContentGravityTopRight
toEnum Int
3 = ContentGravity
ContentGravityLeft
toEnum Int
4 = ContentGravity
ContentGravityCenter
toEnum Int
5 = ContentGravity
ContentGravityRight
toEnum Int
6 = ContentGravity
ContentGravityBottomLeft
toEnum Int
7 = ContentGravity
ContentGravityBottom
toEnum Int
8 = ContentGravity
ContentGravityBottomRight
toEnum Int
9 = ContentGravity
ContentGravityResizeFill
toEnum Int
10 = ContentGravity
ContentGravityResizeAspect
toEnum Int
k = Int -> ContentGravity
AnotherContentGravity Int
k
instance P.Ord ContentGravity where
compare :: ContentGravity -> ContentGravity -> Ordering
compare ContentGravity
a ContentGravity
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ContentGravity -> Int
forall a. Enum a => a -> Int
P.fromEnum ContentGravity
a) (ContentGravity -> Int
forall a. Enum a => a -> Int
P.fromEnum ContentGravity
b)
type instance O.ParentTypes ContentGravity = '[]
instance O.HasParentTypes ContentGravity
foreign import ccall "clutter_content_gravity_get_type" c_clutter_content_gravity_get_type ::
IO GType
instance B.Types.TypedObject ContentGravity where
glibType :: IO GType
glibType = IO GType
c_clutter_content_gravity_get_type
instance B.Types.BoxedEnum ContentGravity
data BoxAlignment =
BoxAlignmentStart
| BoxAlignmentEnd
| BoxAlignmentCenter
| AnotherBoxAlignment Int
deriving (Int -> BoxAlignment -> ShowS
[BoxAlignment] -> ShowS
BoxAlignment -> String
(Int -> BoxAlignment -> ShowS)
-> (BoxAlignment -> String)
-> ([BoxAlignment] -> ShowS)
-> Show BoxAlignment
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> BoxAlignment -> ShowS
showsPrec :: Int -> BoxAlignment -> ShowS
$cshow :: BoxAlignment -> String
show :: BoxAlignment -> String
$cshowList :: [BoxAlignment] -> ShowS
showList :: [BoxAlignment] -> ShowS
Show, BoxAlignment -> BoxAlignment -> Bool
(BoxAlignment -> BoxAlignment -> Bool)
-> (BoxAlignment -> BoxAlignment -> Bool) -> Eq BoxAlignment
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: BoxAlignment -> BoxAlignment -> Bool
== :: BoxAlignment -> BoxAlignment -> Bool
$c/= :: BoxAlignment -> BoxAlignment -> Bool
/= :: BoxAlignment -> BoxAlignment -> Bool
Eq)
instance P.Enum BoxAlignment where
fromEnum :: BoxAlignment -> Int
fromEnum BoxAlignment
BoxAlignmentStart = Int
0
fromEnum BoxAlignment
BoxAlignmentEnd = Int
1
fromEnum BoxAlignment
BoxAlignmentCenter = Int
2
fromEnum (AnotherBoxAlignment Int
k) = Int
k
toEnum :: Int -> BoxAlignment
toEnum Int
0 = BoxAlignment
BoxAlignmentStart
toEnum Int
1 = BoxAlignment
BoxAlignmentEnd
toEnum Int
2 = BoxAlignment
BoxAlignmentCenter
toEnum Int
k = Int -> BoxAlignment
AnotherBoxAlignment Int
k
instance P.Ord BoxAlignment where
compare :: BoxAlignment -> BoxAlignment -> Ordering
compare BoxAlignment
a BoxAlignment
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (BoxAlignment -> Int
forall a. Enum a => a -> Int
P.fromEnum BoxAlignment
a) (BoxAlignment -> Int
forall a. Enum a => a -> Int
P.fromEnum BoxAlignment
b)
type instance O.ParentTypes BoxAlignment = '[]
instance O.HasParentTypes BoxAlignment
foreign import ccall "clutter_box_alignment_get_type" c_clutter_box_alignment_get_type ::
IO GType
instance B.Types.TypedObject BoxAlignment where
glibType :: IO GType
glibType = IO GType
c_clutter_box_alignment_get_type
instance B.Types.BoxedEnum BoxAlignment
data BindCoordinate =
BindCoordinateX
| BindCoordinateY
| BindCoordinateWidth
| BindCoordinateHeight
| BindCoordinatePosition
| BindCoordinateSize
| BindCoordinateAll
| AnotherBindCoordinate Int
deriving (Int -> BindCoordinate -> ShowS
[BindCoordinate] -> ShowS
BindCoordinate -> String
(Int -> BindCoordinate -> ShowS)
-> (BindCoordinate -> String)
-> ([BindCoordinate] -> ShowS)
-> Show BindCoordinate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> BindCoordinate -> ShowS
showsPrec :: Int -> BindCoordinate -> ShowS
$cshow :: BindCoordinate -> String
show :: BindCoordinate -> String
$cshowList :: [BindCoordinate] -> ShowS
showList :: [BindCoordinate] -> ShowS
Show, BindCoordinate -> BindCoordinate -> Bool
(BindCoordinate -> BindCoordinate -> Bool)
-> (BindCoordinate -> BindCoordinate -> Bool) -> Eq BindCoordinate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: BindCoordinate -> BindCoordinate -> Bool
== :: BindCoordinate -> BindCoordinate -> Bool
$c/= :: BindCoordinate -> BindCoordinate -> Bool
/= :: BindCoordinate -> BindCoordinate -> Bool
Eq)
instance P.Enum BindCoordinate where
fromEnum :: BindCoordinate -> Int
fromEnum BindCoordinate
BindCoordinateX = Int
0
fromEnum BindCoordinate
BindCoordinateY = Int
1
fromEnum BindCoordinate
BindCoordinateWidth = Int
2
fromEnum BindCoordinate
BindCoordinateHeight = Int
3
fromEnum BindCoordinate
BindCoordinatePosition = Int
4
fromEnum BindCoordinate
BindCoordinateSize = Int
5
fromEnum BindCoordinate
BindCoordinateAll = Int
6
fromEnum (AnotherBindCoordinate Int
k) = Int
k
toEnum :: Int -> BindCoordinate
toEnum Int
0 = BindCoordinate
BindCoordinateX
toEnum Int
1 = BindCoordinate
BindCoordinateY
toEnum Int
2 = BindCoordinate
BindCoordinateWidth
toEnum Int
3 = BindCoordinate
BindCoordinateHeight
toEnum Int
4 = BindCoordinate
BindCoordinatePosition
toEnum Int
5 = BindCoordinate
BindCoordinateSize
toEnum Int
6 = BindCoordinate
BindCoordinateAll
toEnum Int
k = Int -> BindCoordinate
AnotherBindCoordinate Int
k
instance P.Ord BindCoordinate where
compare :: BindCoordinate -> BindCoordinate -> Ordering
compare BindCoordinate
a BindCoordinate
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (BindCoordinate -> Int
forall a. Enum a => a -> Int
P.fromEnum BindCoordinate
a) (BindCoordinate -> Int
forall a. Enum a => a -> Int
P.fromEnum BindCoordinate
b)
type instance O.ParentTypes BindCoordinate = '[]
instance O.HasParentTypes BindCoordinate
foreign import ccall "clutter_bind_coordinate_get_type" c_clutter_bind_coordinate_get_type ::
IO GType
instance B.Types.TypedObject BindCoordinate where
glibType :: IO GType
glibType = IO GType
c_clutter_bind_coordinate_get_type
instance B.Types.BoxedEnum BindCoordinate
{-# DEPRECATED BinAlignment ["(Since version 1.12)","Use t'GI.Clutter.Enums.ActorAlign' and the t'GI.Clutter.Objects.Actor.Actor'"," API instead"] #-}
data BinAlignment =
BinAlignmentFixed
| BinAlignmentFill
| BinAlignmentStart
| BinAlignmentEnd
| BinAlignmentCenter
| AnotherBinAlignment Int
deriving (Int -> BinAlignment -> ShowS
[BinAlignment] -> ShowS
BinAlignment -> String
(Int -> BinAlignment -> ShowS)
-> (BinAlignment -> String)
-> ([BinAlignment] -> ShowS)
-> Show BinAlignment
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> BinAlignment -> ShowS
showsPrec :: Int -> BinAlignment -> ShowS
$cshow :: BinAlignment -> String
show :: BinAlignment -> String
$cshowList :: [BinAlignment] -> ShowS
showList :: [BinAlignment] -> ShowS
Show, BinAlignment -> BinAlignment -> Bool
(BinAlignment -> BinAlignment -> Bool)
-> (BinAlignment -> BinAlignment -> Bool) -> Eq BinAlignment
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: BinAlignment -> BinAlignment -> Bool
== :: BinAlignment -> BinAlignment -> Bool
$c/= :: BinAlignment -> BinAlignment -> Bool
/= :: BinAlignment -> BinAlignment -> Bool
Eq)
instance P.Enum BinAlignment where
fromEnum :: BinAlignment -> Int
fromEnum BinAlignment
BinAlignmentFixed = Int
0
fromEnum BinAlignment
BinAlignmentFill = Int
1
fromEnum BinAlignment
BinAlignmentStart = Int
2
fromEnum BinAlignment
BinAlignmentEnd = Int
3
fromEnum BinAlignment
BinAlignmentCenter = Int
4
fromEnum (AnotherBinAlignment Int
k) = Int
k
toEnum :: Int -> BinAlignment
toEnum Int
0 = BinAlignment
BinAlignmentFixed
toEnum Int
1 = BinAlignment
BinAlignmentFill
toEnum Int
2 = BinAlignment
BinAlignmentStart
toEnum Int
3 = BinAlignment
BinAlignmentEnd
toEnum Int
4 = BinAlignment
BinAlignmentCenter
toEnum Int
k = Int -> BinAlignment
AnotherBinAlignment Int
k
instance P.Ord BinAlignment where
compare :: BinAlignment -> BinAlignment -> Ordering
compare BinAlignment
a BinAlignment
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (BinAlignment -> Int
forall a. Enum a => a -> Int
P.fromEnum BinAlignment
a) (BinAlignment -> Int
forall a. Enum a => a -> Int
P.fromEnum BinAlignment
b)
type instance O.ParentTypes BinAlignment = '[]
instance O.HasParentTypes BinAlignment
foreign import ccall "clutter_bin_alignment_get_type" c_clutter_bin_alignment_get_type ::
IO GType
instance B.Types.TypedObject BinAlignment where
glibType :: IO GType
glibType = IO GType
c_clutter_bin_alignment_get_type
instance B.Types.BoxedEnum BinAlignment
data AnimationMode =
AnimationModeCustomMode
| AnimationModeLinear
| AnimationModeEaseInQuad
| AnimationModeEaseOutQuad
| AnimationModeEaseInOutQuad
| AnimationModeEaseInCubic
| AnimationModeEaseOutCubic
| AnimationModeEaseInOutCubic
| AnimationModeEaseInQuart
| AnimationModeEaseOutQuart
| AnimationModeEaseInOutQuart
| AnimationModeEaseInQuint
| AnimationModeEaseOutQuint
| AnimationModeEaseInOutQuint
| AnimationModeEaseInSine
| AnimationModeEaseOutSine
| AnimationModeEaseInOutSine
| AnimationModeEaseInExpo
| AnimationModeEaseOutExpo
| AnimationModeEaseInOutExpo
| AnimationModeEaseInCirc
| AnimationModeEaseOutCirc
| AnimationModeEaseInOutCirc
| AnimationModeEaseInElastic
| AnimationModeEaseOutElastic
| AnimationModeEaseInOutElastic
| AnimationModeEaseInBack
| AnimationModeEaseOutBack
| AnimationModeEaseInOutBack
| AnimationModeEaseInBounce
| AnimationModeEaseOutBounce
| AnimationModeEaseInOutBounce
| AnimationModeSteps
| AnimationModeStepStart
| AnimationModeStepEnd
| AnimationModeCubicBezier
| AnimationModeEase
| AnimationModeEaseIn
| AnimationModeEaseOut
| AnimationModeEaseInOut
| AnimationModeAnimationLast
| AnotherAnimationMode Int
deriving (Int -> AnimationMode -> ShowS
[AnimationMode] -> ShowS
AnimationMode -> String
(Int -> AnimationMode -> ShowS)
-> (AnimationMode -> String)
-> ([AnimationMode] -> ShowS)
-> Show AnimationMode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AnimationMode -> ShowS
showsPrec :: Int -> AnimationMode -> ShowS
$cshow :: AnimationMode -> String
show :: AnimationMode -> String
$cshowList :: [AnimationMode] -> ShowS
showList :: [AnimationMode] -> ShowS
Show, AnimationMode -> AnimationMode -> Bool
(AnimationMode -> AnimationMode -> Bool)
-> (AnimationMode -> AnimationMode -> Bool) -> Eq AnimationMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AnimationMode -> AnimationMode -> Bool
== :: AnimationMode -> AnimationMode -> Bool
$c/= :: AnimationMode -> AnimationMode -> Bool
/= :: AnimationMode -> AnimationMode -> Bool
Eq)
instance P.Enum AnimationMode where
fromEnum :: AnimationMode -> Int
fromEnum AnimationMode
AnimationModeCustomMode = Int
0
fromEnum AnimationMode
AnimationModeLinear = Int
1
fromEnum AnimationMode
AnimationModeEaseInQuad = Int
2
fromEnum AnimationMode
AnimationModeEaseOutQuad = Int
3
fromEnum AnimationMode
AnimationModeEaseInOutQuad = Int
4
fromEnum AnimationMode
AnimationModeEaseInCubic = Int
5
fromEnum AnimationMode
AnimationModeEaseOutCubic = Int
6
fromEnum AnimationMode
AnimationModeEaseInOutCubic = Int
7
fromEnum AnimationMode
AnimationModeEaseInQuart = Int
8
fromEnum AnimationMode
AnimationModeEaseOutQuart = Int
9
fromEnum AnimationMode
AnimationModeEaseInOutQuart = Int
10
fromEnum AnimationMode
AnimationModeEaseInQuint = Int
11
fromEnum AnimationMode
AnimationModeEaseOutQuint = Int
12
fromEnum AnimationMode
AnimationModeEaseInOutQuint = Int
13
fromEnum AnimationMode
AnimationModeEaseInSine = Int
14
fromEnum AnimationMode
AnimationModeEaseOutSine = Int
15
fromEnum AnimationMode
AnimationModeEaseInOutSine = Int
16
fromEnum AnimationMode
AnimationModeEaseInExpo = Int
17
fromEnum AnimationMode
AnimationModeEaseOutExpo = Int
18
fromEnum AnimationMode
AnimationModeEaseInOutExpo = Int
19
fromEnum AnimationMode
AnimationModeEaseInCirc = Int
20
fromEnum AnimationMode
AnimationModeEaseOutCirc = Int
21
fromEnum AnimationMode
AnimationModeEaseInOutCirc = Int
22
fromEnum AnimationMode
AnimationModeEaseInElastic = Int
23
fromEnum AnimationMode
AnimationModeEaseOutElastic = Int
24
fromEnum AnimationMode
AnimationModeEaseInOutElastic = Int
25
fromEnum AnimationMode
AnimationModeEaseInBack = Int
26
fromEnum AnimationMode
AnimationModeEaseOutBack = Int
27
fromEnum AnimationMode
AnimationModeEaseInOutBack = Int
28
fromEnum AnimationMode
AnimationModeEaseInBounce = Int
29
fromEnum AnimationMode
AnimationModeEaseOutBounce = Int
30
fromEnum AnimationMode
AnimationModeEaseInOutBounce = Int
31
fromEnum AnimationMode
AnimationModeSteps = Int
32
fromEnum AnimationMode
AnimationModeStepStart = Int
33
fromEnum AnimationMode
AnimationModeStepEnd = Int
34
fromEnum AnimationMode
AnimationModeCubicBezier = Int
35
fromEnum AnimationMode
AnimationModeEase = Int
36
fromEnum AnimationMode
AnimationModeEaseIn = Int
37
fromEnum AnimationMode
AnimationModeEaseOut = Int
38
fromEnum AnimationMode
AnimationModeEaseInOut = Int
39
fromEnum AnimationMode
AnimationModeAnimationLast = Int
40
fromEnum (AnotherAnimationMode Int
k) = Int
k
toEnum :: Int -> AnimationMode
toEnum Int
0 = AnimationMode
AnimationModeCustomMode
toEnum Int
1 = AnimationMode
AnimationModeLinear
toEnum Int
2 = AnimationMode
AnimationModeEaseInQuad
toEnum Int
3 = AnimationMode
AnimationModeEaseOutQuad
toEnum Int
4 = AnimationMode
AnimationModeEaseInOutQuad
toEnum Int
5 = AnimationMode
AnimationModeEaseInCubic
toEnum Int
6 = AnimationMode
AnimationModeEaseOutCubic
toEnum Int
7 = AnimationMode
AnimationModeEaseInOutCubic
toEnum Int
8 = AnimationMode
AnimationModeEaseInQuart
toEnum Int
9 = AnimationMode
AnimationModeEaseOutQuart
toEnum Int
10 = AnimationMode
AnimationModeEaseInOutQuart
toEnum Int
11 = AnimationMode
AnimationModeEaseInQuint
toEnum Int
12 = AnimationMode
AnimationModeEaseOutQuint
toEnum Int
13 = AnimationMode
AnimationModeEaseInOutQuint
toEnum Int
14 = AnimationMode
AnimationModeEaseInSine
toEnum Int
15 = AnimationMode
AnimationModeEaseOutSine
toEnum Int
16 = AnimationMode
AnimationModeEaseInOutSine
toEnum Int
17 = AnimationMode
AnimationModeEaseInExpo
toEnum Int
18 = AnimationMode
AnimationModeEaseOutExpo
toEnum Int
19 = AnimationMode
AnimationModeEaseInOutExpo
toEnum Int
20 = AnimationMode
AnimationModeEaseInCirc
toEnum Int
21 = AnimationMode
AnimationModeEaseOutCirc
toEnum Int
22 = AnimationMode
AnimationModeEaseInOutCirc
toEnum Int
23 = AnimationMode
AnimationModeEaseInElastic
toEnum Int
24 = AnimationMode
AnimationModeEaseOutElastic
toEnum Int
25 = AnimationMode
AnimationModeEaseInOutElastic
toEnum Int
26 = AnimationMode
AnimationModeEaseInBack
toEnum Int
27 = AnimationMode
AnimationModeEaseOutBack
toEnum Int
28 = AnimationMode
AnimationModeEaseInOutBack
toEnum Int
29 = AnimationMode
AnimationModeEaseInBounce
toEnum Int
30 = AnimationMode
AnimationModeEaseOutBounce
toEnum Int
31 = AnimationMode
AnimationModeEaseInOutBounce
toEnum Int
32 = AnimationMode
AnimationModeSteps
toEnum Int
33 = AnimationMode
AnimationModeStepStart
toEnum Int
34 = AnimationMode
AnimationModeStepEnd
toEnum Int
35 = AnimationMode
AnimationModeCubicBezier
toEnum Int
36 = AnimationMode
AnimationModeEase
toEnum Int
37 = AnimationMode
AnimationModeEaseIn
toEnum Int
38 = AnimationMode
AnimationModeEaseOut
toEnum Int
39 = AnimationMode
AnimationModeEaseInOut
toEnum Int
40 = AnimationMode
AnimationModeAnimationLast
toEnum Int
k = Int -> AnimationMode
AnotherAnimationMode Int
k
instance P.Ord AnimationMode where
compare :: AnimationMode -> AnimationMode -> Ordering
compare AnimationMode
a AnimationMode
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (AnimationMode -> Int
forall a. Enum a => a -> Int
P.fromEnum AnimationMode
a) (AnimationMode -> Int
forall a. Enum a => a -> Int
P.fromEnum AnimationMode
b)
type instance O.ParentTypes AnimationMode = '[]
instance O.HasParentTypes AnimationMode
foreign import ccall "clutter_animation_mode_get_type" c_clutter_animation_mode_get_type ::
IO GType
instance B.Types.TypedObject AnimationMode where
glibType :: IO GType
glibType = IO GType
c_clutter_animation_mode_get_type
instance B.Types.BoxedEnum AnimationMode
data AlignAxis =
AlignAxisXAxis
| AlignAxisYAxis
| AlignAxisBoth
| AnotherAlignAxis Int
deriving (Int -> AlignAxis -> ShowS
[AlignAxis] -> ShowS
AlignAxis -> String
(Int -> AlignAxis -> ShowS)
-> (AlignAxis -> String)
-> ([AlignAxis] -> ShowS)
-> Show AlignAxis
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AlignAxis -> ShowS
showsPrec :: Int -> AlignAxis -> ShowS
$cshow :: AlignAxis -> String
show :: AlignAxis -> String
$cshowList :: [AlignAxis] -> ShowS
showList :: [AlignAxis] -> ShowS
Show, AlignAxis -> AlignAxis -> Bool
(AlignAxis -> AlignAxis -> Bool)
-> (AlignAxis -> AlignAxis -> Bool) -> Eq AlignAxis
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AlignAxis -> AlignAxis -> Bool
== :: AlignAxis -> AlignAxis -> Bool
$c/= :: AlignAxis -> AlignAxis -> Bool
/= :: AlignAxis -> AlignAxis -> Bool
Eq)
instance P.Enum AlignAxis where
fromEnum :: AlignAxis -> Int
fromEnum AlignAxis
AlignAxisXAxis = Int
0
fromEnum AlignAxis
AlignAxisYAxis = Int
1
fromEnum AlignAxis
AlignAxisBoth = Int
2
fromEnum (AnotherAlignAxis Int
k) = Int
k
toEnum :: Int -> AlignAxis
toEnum Int
0 = AlignAxis
AlignAxisXAxis
toEnum Int
1 = AlignAxis
AlignAxisYAxis
toEnum Int
2 = AlignAxis
AlignAxisBoth
toEnum Int
k = Int -> AlignAxis
AnotherAlignAxis Int
k
instance P.Ord AlignAxis where
compare :: AlignAxis -> AlignAxis -> Ordering
compare AlignAxis
a AlignAxis
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (AlignAxis -> Int
forall a. Enum a => a -> Int
P.fromEnum AlignAxis
a) (AlignAxis -> Int
forall a. Enum a => a -> Int
P.fromEnum AlignAxis
b)
type instance O.ParentTypes AlignAxis = '[]
instance O.HasParentTypes AlignAxis
foreign import ccall "clutter_align_axis_get_type" c_clutter_align_axis_get_type ::
IO GType
instance B.Types.TypedObject AlignAxis where
glibType :: IO GType
glibType = IO GType
c_clutter_align_axis_get_type
instance B.Types.BoxedEnum AlignAxis
data ActorAlign =
ActorAlignFill
| ActorAlignStart
| ActorAlignCenter
| ActorAlignEnd
| AnotherActorAlign Int
deriving (Int -> ActorAlign -> ShowS
[ActorAlign] -> ShowS
ActorAlign -> String
(Int -> ActorAlign -> ShowS)
-> (ActorAlign -> String)
-> ([ActorAlign] -> ShowS)
-> Show ActorAlign
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ActorAlign -> ShowS
showsPrec :: Int -> ActorAlign -> ShowS
$cshow :: ActorAlign -> String
show :: ActorAlign -> String
$cshowList :: [ActorAlign] -> ShowS
showList :: [ActorAlign] -> ShowS
Show, ActorAlign -> ActorAlign -> Bool
(ActorAlign -> ActorAlign -> Bool)
-> (ActorAlign -> ActorAlign -> Bool) -> Eq ActorAlign
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ActorAlign -> ActorAlign -> Bool
== :: ActorAlign -> ActorAlign -> Bool
$c/= :: ActorAlign -> ActorAlign -> Bool
/= :: ActorAlign -> ActorAlign -> Bool
Eq)
instance P.Enum ActorAlign where
fromEnum :: ActorAlign -> Int
fromEnum ActorAlign
ActorAlignFill = Int
0
fromEnum ActorAlign
ActorAlignStart = Int
1
fromEnum ActorAlign
ActorAlignCenter = Int
2
fromEnum ActorAlign
ActorAlignEnd = Int
3
fromEnum (AnotherActorAlign Int
k) = Int
k
toEnum :: Int -> ActorAlign
toEnum Int
0 = ActorAlign
ActorAlignFill
toEnum Int
1 = ActorAlign
ActorAlignStart
toEnum Int
2 = ActorAlign
ActorAlignCenter
toEnum Int
3 = ActorAlign
ActorAlignEnd
toEnum Int
k = Int -> ActorAlign
AnotherActorAlign Int
k
instance P.Ord ActorAlign where
compare :: ActorAlign -> ActorAlign -> Ordering
compare ActorAlign
a ActorAlign
b = Int -> Int -> Ordering
forall a. Ord a => a -> a -> Ordering
P.compare (ActorAlign -> Int
forall a. Enum a => a -> Int
P.fromEnum ActorAlign
a) (ActorAlign -> Int
forall a. Enum a => a -> Int
P.fromEnum ActorAlign
b)
type instance O.ParentTypes ActorAlign = '[]
instance O.HasParentTypes ActorAlign
foreign import ccall "clutter_actor_align_get_type" c_clutter_actor_align_get_type ::
IO GType
instance B.Types.TypedObject ActorAlign where
glibType :: IO GType
glibType = IO GType
c_clutter_actor_align_get_type
instance B.Types.BoxedEnum ActorAlign