Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Enumerations
- ActorAlign
- AlignAxis
- AnimationMode
- BinAlignment
- BindCoordinate
- BoxAlignment
- ContentGravity
- DragAxis
- EventType
- FlowOrientation
- GestureTriggerEdge
- Gravity
- GridPosition
- ImageError
- InitError
- InputAxis
- InputDeviceType
- InputMode
- Interpolation
- LongPressState
- Orientation
- PanAxis
- PathNodeType
- PickMode
- RequestMode
- RotateAxis
- RotateDirection
- ScalingFilter
- ScriptError
- ScrollDirection
- ScrollSource
- ShaderError
- ShaderType
- SnapEdge
- StaticColor
- StepMode
- TableAlignment
- TextDirection
- TextureError
- TextureQuality
- TimelineDirection
- TouchpadGesturePhase
- UnitType
- ZoomAxis
Synopsis
- data ActorAlign
- data AlignAxis
- 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
- data BinAlignment
- data BindCoordinate
- data BoxAlignment
- data ContentGravity
- data DragAxis
- data EventType
- = EventTypeNothing
- | EventTypeKeyPress
- | EventTypeKeyRelease
- | EventTypeMotion
- | EventTypeEnter
- | EventTypeLeave
- | EventTypeButtonPress
- | EventTypeButtonRelease
- | EventTypeScroll
- | EventTypeStageState
- | EventTypeDestroyNotify
- | EventTypeClientMessage
- | EventTypeDelete
- | EventTypeTouchBegin
- | EventTypeTouchUpdate
- | EventTypeTouchEnd
- | EventTypeTouchCancel
- | EventTypeTouchpadPinch
- | EventTypeTouchpadSwipe
- | EventTypeEventLast
- | AnotherEventType Int
- data FlowOrientation
- data GestureTriggerEdge
- data Gravity
- data GridPosition
- data ImageError
- catchImageError :: IO a -> (ImageError -> GErrorMessage -> IO a) -> IO a
- handleImageError :: (ImageError -> GErrorMessage -> IO a) -> IO a -> IO a
- data InitError
- catchInitError :: IO a -> (InitError -> GErrorMessage -> IO a) -> IO a
- handleInitError :: (InitError -> GErrorMessage -> IO a) -> IO a -> IO a
- data InputAxis
- data InputDeviceType
- = InputDeviceTypePointerDevice
- | InputDeviceTypeKeyboardDevice
- | InputDeviceTypeExtensionDevice
- | InputDeviceTypeJoystickDevice
- | InputDeviceTypeTabletDevice
- | InputDeviceTypeTouchpadDevice
- | InputDeviceTypeTouchscreenDevice
- | InputDeviceTypePenDevice
- | InputDeviceTypeEraserDevice
- | InputDeviceTypeCursorDevice
- | InputDeviceTypeNDeviceTypes
- | AnotherInputDeviceType Int
- data InputMode
- data Interpolation
- data LongPressState
- data Orientation
- data PanAxis
- data PathNodeType
- data PickMode
- data RequestMode
- data RotateAxis
- data RotateDirection
- data ScalingFilter
- data ScriptError
- catchScriptError :: IO a -> (ScriptError -> GErrorMessage -> IO a) -> IO a
- handleScriptError :: (ScriptError -> GErrorMessage -> IO a) -> IO a -> IO a
- data ScrollDirection
- data ScrollSource
- data ShaderError
- catchShaderError :: IO a -> (ShaderError -> GErrorMessage -> IO a) -> IO a
- handleShaderError :: (ShaderError -> GErrorMessage -> IO a) -> IO a -> IO a
- data ShaderType
- data SnapEdge
- 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
- data StepMode
- data TableAlignment
- data TextDirection
- data TextureError
- catchTextureError :: IO a -> (TextureError -> GErrorMessage -> IO a) -> IO a
- handleTextureError :: (TextureError -> GErrorMessage -> IO a) -> IO a -> IO a
- data TextureQuality
- data TimelineDirection
- data TouchpadGesturePhase
- data UnitType
- data ZoomAxis
Enumerations
ActorAlign
data ActorAlign Source #
Controls how a Actor
should align itself inside the extra space
assigned to it during the allocation.
Alignment only matters if the allocated space given to an actor is
bigger than its natural size; for example, when the Actor
:x-expand
or the Actor
:y-expand
properties of Actor
are set to True
.
Since: 1.10
ActorAlignFill | Stretch to cover the whole allocated space |
ActorAlignStart | Snap to left or top side, leaving space to the right or bottom. For horizontal layouts, in right-to-left locales this should be reversed. |
ActorAlignCenter | Center the actor inside the allocation |
ActorAlignEnd | Snap to right or bottom side, leaving space to the left or top. For horizontal layouts, in right-to-left locales this should be reversed. |
AnotherActorAlign Int | Catch-all for unknown values |
Instances
AlignAxis
Specifies the axis on which AlignConstraint
should maintain
the alignment.
Since: 1.4
AlignAxisXAxis | Maintain the alignment on the X axis |
AlignAxisYAxis | Maintain the alignment on the Y axis |
AlignAxisBoth | Maintain the alignment on both the X and Y axis |
AnotherAlignAxis Int | Catch-all for unknown values |
Instances
Enum AlignAxis Source # | |
Defined in GI.Clutter.Enums succ :: AlignAxis -> AlignAxis # pred :: AlignAxis -> AlignAxis # fromEnum :: AlignAxis -> Int # enumFrom :: AlignAxis -> [AlignAxis] # enumFromThen :: AlignAxis -> AlignAxis -> [AlignAxis] # enumFromTo :: AlignAxis -> AlignAxis -> [AlignAxis] # enumFromThenTo :: AlignAxis -> AlignAxis -> AlignAxis -> [AlignAxis] # | |
Show AlignAxis Source # | |
Eq AlignAxis Source # | |
Ord AlignAxis Source # | |
Defined in GI.Clutter.Enums | |
BoxedEnum AlignAxis Source # | |
Defined in GI.Clutter.Enums | |
TypedObject AlignAxis Source # | |
Defined in GI.Clutter.Enums | |
HasParentTypes AlignAxis Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes AlignAxis Source # | |
Defined in GI.Clutter.Enums |
AnimationMode
data AnimationMode Source #
The animation modes used by Alpha
and Animation
. This
enumeration can be expanded in later versions of Clutter.
<figure id="easing-modes"> <title>Easing modes provided by Clutter</title> <graphic fileref="easing-modes.png" format="PNG"/> </figure>
Every global alpha function registered using clutter_alpha_register_func()
or alphaRegisterFunc
will have a logical id greater than
AnimationModeAnimationLast
.
Since: 1.0
AnimationModeCustomMode | custom progress function |
AnimationModeLinear | linear tweening |
AnimationModeEaseInQuad | quadratic tweening |
AnimationModeEaseOutQuad | quadratic tweening, inverse of
|
AnimationModeEaseInOutQuad | quadratic tweening, combininig
|
AnimationModeEaseInCubic | cubic tweening |
AnimationModeEaseOutCubic | cubic tweening, invers of
|
AnimationModeEaseInOutCubic | cubic tweening, combining
|
AnimationModeEaseInQuart | quartic tweening |
AnimationModeEaseOutQuart | quartic tweening, inverse of
|
AnimationModeEaseInOutQuart | quartic tweening, combining
|
AnimationModeEaseInQuint | quintic tweening |
AnimationModeEaseOutQuint | quintic tweening, inverse of
|
AnimationModeEaseInOutQuint | fifth power tweening, combining
|
AnimationModeEaseInSine | sinusoidal tweening |
AnimationModeEaseOutSine | sinusoidal tweening, inverse of
|
AnimationModeEaseInOutSine | sine wave tweening, combining
|
AnimationModeEaseInExpo | exponential tweening |
AnimationModeEaseOutExpo | exponential tweening, inverse of
|
AnimationModeEaseInOutExpo | exponential tweening, combining
|
AnimationModeEaseInCirc | circular tweening |
AnimationModeEaseOutCirc | circular tweening, inverse of
|
AnimationModeEaseInOutCirc | circular tweening, combining
|
AnimationModeEaseInElastic | elastic tweening, with offshoot on start |
AnimationModeEaseOutElastic | elastic tweening, with offshoot on end |
AnimationModeEaseInOutElastic | elastic tweening with offshoot on both ends |
AnimationModeEaseInBack | overshooting cubic tweening, with backtracking on start |
AnimationModeEaseOutBack | overshooting cubic tweening, with backtracking on end |
AnimationModeEaseInOutBack | overshooting cubic tweening, with backtracking on both ends |
AnimationModeEaseInBounce | exponentially decaying parabolic (bounce) tweening, with bounce on start |
AnimationModeEaseOutBounce | exponentially decaying parabolic (bounce) tweening, with bounce on end |
AnimationModeEaseInOutBounce | exponentially decaying parabolic (bounce) tweening, with bounce on both ends |
AnimationModeSteps | parametrized step function; see |
AnimationModeStepStart | equivalent to |
AnimationModeStepEnd | equivalent to |
AnimationModeCubicBezier | cubic bezier between (0, 0) and (1, 1) with two
control points; see |
AnimationModeEase | equivalent to |
AnimationModeEaseIn | equivalent to |
AnimationModeEaseOut | equivalent to |
AnimationModeEaseInOut | equivalent to |
AnimationModeAnimationLast | last animation mode, used as a guard for registered global alpha functions |
AnotherAnimationMode Int | Catch-all for unknown values |
Instances
BinAlignment
data BinAlignment Source #
Deprecated: (Since version 1.12)Use ActorAlign
and the Actor
API instead
The alignment policies available on each axis for BinLayout
Since: 1.2
BinAlignmentFixed | Fixed position alignment; the
|
BinAlignmentFill | Fill the allocation size |
BinAlignmentStart | Position the actors at the top or left side of the container, depending on the axis |
BinAlignmentEnd | Position the actors at the bottom or right side of the container, depending on the axis |
BinAlignmentCenter | Position the actors at the center of the container, depending on the axis |
AnotherBinAlignment Int | Catch-all for unknown values |
Instances
BindCoordinate
data BindCoordinate Source #
Specifies which property should be used in a binding
Since: 1.4
BindCoordinateX | Bind the X coordinate |
BindCoordinateY | Bind the Y coordinate |
BindCoordinateWidth | Bind the width |
BindCoordinateHeight | Bind the height |
BindCoordinatePosition | Equivalent to to |
BindCoordinateSize | Equivalent to |
BindCoordinateAll | Equivalent to |
AnotherBindCoordinate Int | Catch-all for unknown values |
Instances
BoxAlignment
data BoxAlignment Source #
The alignment policies available on each axis of the BoxLayout
Since: 1.2
BoxAlignmentStart | Align the child to the top or to to the left, depending on the used axis |
BoxAlignmentEnd | Align the child to the bottom or to the right, depending on the used axis |
BoxAlignmentCenter | Align the child to the center |
AnotherBoxAlignment Int | Catch-all for unknown values |
Instances
ContentGravity
data ContentGravity Source #
ContentGravityTopLeft | Align the content to the top left corner |
ContentGravityTop | Align the content to the top edge |
ContentGravityTopRight | Align the content to the top right corner |
ContentGravityLeft | Align the content to the left edge |
ContentGravityCenter | Align the content to the center |
ContentGravityRight | Align the content to the right edge |
ContentGravityBottomLeft | Align the content to the bottom left corner |
ContentGravityBottom | Align the content to the bottom edge |
ContentGravityBottomRight | Align the content to the bottom right corner |
ContentGravityResizeFill | Resize the content to fill the allocation |
ContentGravityResizeAspect | Resize the content to remain within the allocation, while maintaining the aspect ratio |
AnotherContentGravity Int | Catch-all for unknown values |
Instances
DragAxis
The axis of the constraint that should be applied on the dragging action
Since: 1.4
DragAxisAxisNone | No constraint |
DragAxisXAxis | Set a constraint on the X axis |
DragAxisYAxis | Set a constraint on the Y axis |
AnotherDragAxis Int | Catch-all for unknown values |
Instances
Enum DragAxis Source # | |
Show DragAxis Source # | |
Eq DragAxis Source # | |
Ord DragAxis Source # | |
Defined in GI.Clutter.Enums | |
BoxedEnum DragAxis Source # | |
Defined in GI.Clutter.Enums | |
TypedObject DragAxis Source # | |
Defined in GI.Clutter.Enums | |
HasParentTypes DragAxis Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes DragAxis Source # | |
Defined in GI.Clutter.Enums |
EventType
Types of events.
Since: 0.4
EventTypeNothing | Empty event |
EventTypeKeyPress | Key press event |
EventTypeKeyRelease | Key release event |
EventTypeMotion | Pointer motion event |
EventTypeEnter | Actor enter event |
EventTypeLeave | Actor leave event |
EventTypeButtonPress | Pointer button press event |
EventTypeButtonRelease | Pointer button release event |
EventTypeScroll | Pointer scroll event |
EventTypeStageState | Stage state change event |
EventTypeDestroyNotify | Destroy notification event |
EventTypeClientMessage | Client message event |
EventTypeDelete | Stage delete event |
EventTypeTouchBegin | A new touch event sequence has started; event added in 1.10 |
EventTypeTouchUpdate | A touch event sequence has been updated; event added in 1.10 |
EventTypeTouchEnd | A touch event sequence has finished; event added in 1.10 |
EventTypeTouchCancel | A touch event sequence has been canceled; event added in 1.10 |
EventTypeTouchpadPinch | A pinch gesture event, the current state is determined by its phase field; event added in 1.24 |
EventTypeTouchpadSwipe | A swipe gesture event, the current state is determined by its phase field; event added in 1.24 |
EventTypeEventLast | Marks the end of the |
AnotherEventType Int | Catch-all for unknown values |
Instances
Enum EventType Source # | |
Defined in GI.Clutter.Enums succ :: EventType -> EventType # pred :: EventType -> EventType # fromEnum :: EventType -> Int # enumFrom :: EventType -> [EventType] # enumFromThen :: EventType -> EventType -> [EventType] # enumFromTo :: EventType -> EventType -> [EventType] # enumFromThenTo :: EventType -> EventType -> EventType -> [EventType] # | |
Show EventType Source # | |
Eq EventType Source # | |
Ord EventType Source # | |
Defined in GI.Clutter.Enums | |
BoxedEnum EventType Source # | |
Defined in GI.Clutter.Enums | |
TypedObject EventType Source # | |
Defined in GI.Clutter.Enums | |
HasParentTypes EventType Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes EventType Source # | |
Defined in GI.Clutter.Enums |
FlowOrientation
data FlowOrientation Source #
The direction of the arrangement of the children inside
a FlowLayout
Since: 1.2
FlowOrientationHorizontal | Arrange the children of the flow layout horizontally first |
FlowOrientationVertical | Arrange the children of the flow layout vertically first |
AnotherFlowOrientation Int | Catch-all for unknown values |
Instances
GestureTriggerEdge
data GestureTriggerEdge Source #
Enum passed to the gestureActionSetThresholdTriggerEdge
function.
Since: 1.18
GestureTriggerEdgeNone | Tell |
GestureTriggerEdgeAfter | Tell |
GestureTriggerEdgeBefore | Tell |
AnotherGestureTriggerEdge Int | Catch-all for unknown values |
Instances
Gravity
Deprecated: (Since version 1.22)Use the normalized Actor
pivot point instead
Gravity of the scaling operations. When a gravity different than
GravityNone
is used, an actor is scaled keeping the position
of the specified portion at the same coordinates.
Since: 0.2
GravityNone | Do not apply any gravity |
GravityNorth | Scale from topmost downwards |
GravityNorthEast | Scale from the top right corner |
GravityEast | Scale from the right side |
GravitySouthEast | Scale from the bottom right corner |
GravitySouth | Scale from the bottom upwards |
GravitySouthWest | Scale from the bottom left corner |
GravityWest | Scale from the left side |
GravityNorthWest | Scale from the top left corner |
GravityCenter | Scale from the center. |
AnotherGravity Int | Catch-all for unknown values |
Instances
Enum Gravity Source # | |
Show Gravity Source # | |
Eq Gravity Source # | |
Ord Gravity Source # | |
BoxedEnum Gravity Source # | |
Defined in GI.Clutter.Enums | |
TypedObject Gravity Source # | |
Defined in GI.Clutter.Enums | |
HasParentTypes Gravity Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes Gravity Source # | |
Defined in GI.Clutter.Enums |
GridPosition
data GridPosition Source #
Grid position modes.
Since: 1.12
GridPositionLeft | left position |
GridPositionRight | right position |
GridPositionTop | top position |
GridPositionBottom | bottom position |
AnotherGridPosition Int | Catch-all for unknown values |
Instances
ImageError
data ImageError Source #
Error enumeration for Image
.
Since: 1.10
ImageErrorData | Invalid data passed to the
|
AnotherImageError Int | Catch-all for unknown values |
Instances
catchImageError :: IO a -> (ImageError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type ImageError
. This is a specialized version of catchGErrorJustDomain
.
handleImageError :: (ImageError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type ImageError
. This is a specialized version of handleGErrorJustDomain
.
InitError
Error conditions returned by init
and initWithArgs
.
Since: 0.2
InitErrorSuccess | Initialisation successful |
InitErrorErrorUnknown | Unknown error |
InitErrorErrorThreads | Thread initialisation failed |
InitErrorErrorBackend | Backend initialisation failed |
InitErrorErrorInternal | Internal error |
AnotherInitError Int | Catch-all for unknown values |
Instances
Enum InitError Source # | |
Defined in GI.Clutter.Enums succ :: InitError -> InitError # pred :: InitError -> InitError # fromEnum :: InitError -> Int # enumFrom :: InitError -> [InitError] # enumFromThen :: InitError -> InitError -> [InitError] # enumFromTo :: InitError -> InitError -> [InitError] # enumFromThenTo :: InitError -> InitError -> InitError -> [InitError] # | |
Show InitError Source # | |
Eq InitError Source # | |
Ord InitError Source # | |
Defined in GI.Clutter.Enums | |
BoxedEnum InitError Source # | |
Defined in GI.Clutter.Enums | |
TypedObject InitError Source # | |
Defined in GI.Clutter.Enums | |
GErrorClass InitError Source # | |
Defined in GI.Clutter.Enums gerrorClassDomain :: InitError -> Text # | |
HasParentTypes InitError Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes InitError Source # | |
Defined in GI.Clutter.Enums |
catchInitError :: IO a -> (InitError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type InitError
. This is a specialized version of catchGErrorJustDomain
.
handleInitError :: (InitError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type InitError
. This is a specialized version of handleGErrorJustDomain
.
InputAxis
The type of axes Clutter recognizes on a InputDevice
Since: 1.6
InputAxisIgnore | Unused axis |
InputAxisX | The position on the X axis |
InputAxisY | The position of the Y axis |
InputAxisPressure | The pressure information |
InputAxisXtilt | The tilt on the X axis |
InputAxisYtilt | The tile on the Y axis |
InputAxisWheel | A wheel |
InputAxisDistance | Distance (Since 1.12) |
InputAxisLast | Last value of the enumeration; this value is useful when iterating over the enumeration values (Since 1.12) |
AnotherInputAxis Int | Catch-all for unknown values |
Instances
Enum InputAxis Source # | |
Defined in GI.Clutter.Enums succ :: InputAxis -> InputAxis # pred :: InputAxis -> InputAxis # fromEnum :: InputAxis -> Int # enumFrom :: InputAxis -> [InputAxis] # enumFromThen :: InputAxis -> InputAxis -> [InputAxis] # enumFromTo :: InputAxis -> InputAxis -> [InputAxis] # enumFromThenTo :: InputAxis -> InputAxis -> InputAxis -> [InputAxis] # | |
Show InputAxis Source # | |
Eq InputAxis Source # | |
Ord InputAxis Source # | |
Defined in GI.Clutter.Enums | |
BoxedEnum InputAxis Source # | |
Defined in GI.Clutter.Enums | |
TypedObject InputAxis Source # | |
Defined in GI.Clutter.Enums | |
HasParentTypes InputAxis Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes InputAxis Source # | |
Defined in GI.Clutter.Enums |
InputDeviceType
data InputDeviceType Source #
The types of input devices available.
The InputDeviceType
enumeration can be extended at later
date; not every platform supports every input device type.
Since: 1.0
InputDeviceTypePointerDevice | A pointer device |
InputDeviceTypeKeyboardDevice | A keyboard device |
InputDeviceTypeExtensionDevice | A generic extension device |
InputDeviceTypeJoystickDevice | A joystick device |
InputDeviceTypeTabletDevice | A tablet device |
InputDeviceTypeTouchpadDevice | A touchpad device |
InputDeviceTypeTouchscreenDevice | A touch screen device |
InputDeviceTypePenDevice | A pen device |
InputDeviceTypeEraserDevice | An eraser device |
InputDeviceTypeCursorDevice | A cursor device |
InputDeviceTypeNDeviceTypes | The number of device types |
AnotherInputDeviceType Int | Catch-all for unknown values |
Instances
InputMode
The mode for input devices available.
Since: 1.6
InputModeMaster | A master, virtual device |
InputModeSlave | A slave, physical device, attached to a master device |
InputModeFloating | A slave, physical device, not attached to a master device |
AnotherInputMode Int | Catch-all for unknown values |
Instances
Enum InputMode Source # | |
Defined in GI.Clutter.Enums succ :: InputMode -> InputMode # pred :: InputMode -> InputMode # fromEnum :: InputMode -> Int # enumFrom :: InputMode -> [InputMode] # enumFromThen :: InputMode -> InputMode -> [InputMode] # enumFromTo :: InputMode -> InputMode -> [InputMode] # enumFromThenTo :: InputMode -> InputMode -> InputMode -> [InputMode] # | |
Show InputMode Source # | |
Eq InputMode Source # | |
Ord InputMode Source # | |
Defined in GI.Clutter.Enums | |
BoxedEnum InputMode Source # | |
Defined in GI.Clutter.Enums | |
TypedObject InputMode Source # | |
Defined in GI.Clutter.Enums | |
HasParentTypes InputMode Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes InputMode Source # | |
Defined in GI.Clutter.Enums |
Interpolation
data Interpolation Source #
Deprecated: (Since version 1.22)
The mode of interpolation between key frames
Since: 1.2
InterpolationLinear | linear interpolation |
InterpolationCubic | cubic interpolation |
AnotherInterpolation Int | Catch-all for unknown values |
Instances
LongPressState
data LongPressState Source #
The states for the longPress signal.
Since: 1.8
LongPressStateQuery | Queries the action whether it supports long presses |
LongPressStateActivate | Activates the action on a long press |
LongPressStateCancel | The long press was cancelled |
AnotherLongPressState Int | Catch-all for unknown values |
Instances
Orientation
data Orientation Source #
Represents the orientation of actors or layout managers.
Since: 1.12
OrientationHorizontal | An horizontal orientation |
OrientationVertical | A vertical orientation |
AnotherOrientation Int | Catch-all for unknown values |
Instances
PanAxis
The axis of the constraint that should be applied on the panning action
Since: 1.12
PanAxisAxisNone | No constraint |
PanAxisXAxis | Set a constraint on the X axis |
PanAxisYAxis | Set a constraint on the Y axis |
PanAxisAxisAuto | Constrain panning automatically based on initial movement (available since 1.24) |
AnotherPanAxis Int | Catch-all for unknown values |
Instances
Enum PanAxis Source # | |
Show PanAxis Source # | |
Eq PanAxis Source # | |
Ord PanAxis Source # | |
BoxedEnum PanAxis Source # | |
Defined in GI.Clutter.Enums | |
TypedObject PanAxis Source # | |
Defined in GI.Clutter.Enums | |
HasParentTypes PanAxis Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes PanAxis Source # | |
Defined in GI.Clutter.Enums |
PathNodeType
data PathNodeType Source #
Types of nodes in a Path
.
Since: 1.0
PathNodeTypeMoveTo | jump to the given position |
PathNodeTypeLineTo | create a line from the last node to the given position |
PathNodeTypeCurveTo | bezier curve using the last position and three control points. |
PathNodeTypeClose | create a line from the last node to the last
|
PathNodeTypeRelMoveTo | same as |
PathNodeTypeRelLineTo | same as |
PathNodeTypeRelCurveTo | same as |
AnotherPathNodeType Int | Catch-all for unknown values |
Instances
PickMode
Controls the paint cycle of the scene graph when in pick mode
Since: 1.0
PickModeNone | Do not paint any actor |
PickModeReactive | Paint only the reactive actors |
PickModeAll | Paint all actors |
AnotherPickMode Int | Catch-all for unknown values |
Instances
Enum PickMode Source # | |
Show PickMode Source # | |
Eq PickMode Source # | |
Ord PickMode Source # | |
Defined in GI.Clutter.Enums | |
BoxedEnum PickMode Source # | |
Defined in GI.Clutter.Enums | |
TypedObject PickMode Source # | |
Defined in GI.Clutter.Enums | |
HasParentTypes PickMode Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes PickMode Source # | |
Defined in GI.Clutter.Enums |
RequestMode
data RequestMode Source #
Specifies the type of requests for a Actor
.
Since: 0.8
RequestModeHeightForWidth | Height for width requests |
RequestModeWidthForHeight | Width for height requests |
RequestModeContentSize | Use the preferred size of the
|
AnotherRequestMode Int | Catch-all for unknown values |
Instances
RotateAxis
data RotateAxis Source #
Axis of a rotation.
Since: 0.4
RotateAxisXAxis | Rotate around the X axis |
RotateAxisYAxis | Rotate around the Y axis |
RotateAxisZAxis | Rotate around the Z axis |
AnotherRotateAxis Int | Catch-all for unknown values |
Instances
RotateDirection
data RotateDirection Source #
Deprecated: (Since version 1.22)
Direction of a rotation.
Since: 0.4
RotateDirectionCw | Clockwise rotation |
RotateDirectionCcw | Counter-clockwise rotation |
AnotherRotateDirection Int | Catch-all for unknown values |
Instances
ScalingFilter
data ScalingFilter Source #
The scaling filters to be used with the Actor
:minification-filter
and Actor
:magnification-filter
properties.
Since: 1.10
ScalingFilterLinear | Linear interpolation filter |
ScalingFilterNearest | Nearest neighbor interpolation filter |
ScalingFilterTrilinear | Trilinear minification filter, with mipmap generation; this filter linearly interpolates on every axis, as well as between mipmap levels. |
AnotherScalingFilter Int | Catch-all for unknown values |
Instances
ScriptError
data ScriptError Source #
Script
error enumeration.
Since: 0.6
ScriptErrorTypeFunction | Type function not found or invalid |
ScriptErrorProperty | Property not found or invalid |
ScriptErrorValue | Invalid value |
AnotherScriptError Int | Catch-all for unknown values |
Instances
catchScriptError :: IO a -> (ScriptError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type ScriptError
. This is a specialized version of catchGErrorJustDomain
.
handleScriptError :: (ScriptError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type ScriptError
. This is a specialized version of handleGErrorJustDomain
.
ScrollDirection
data ScrollDirection Source #
Direction of a pointer scroll event.
The ScrollDirectionSmooth
value implies that the ScrollEvent
has precise scrolling delta information.
Since: 0.4
ScrollDirectionUp | Scroll up |
ScrollDirectionDown | Scroll down |
ScrollDirectionLeft | Scroll left |
ScrollDirectionRight | Scroll right |
ScrollDirectionSmooth | Precise scrolling delta (available in 1.10) |
AnotherScrollDirection Int | Catch-all for unknown values |
Instances
ScrollSource
data ScrollSource Source #
The scroll source determines the source of the scroll event. Keep in mind
that the source device InputDeviceType
is not enough to infer
the scroll source.
Since: 1.26
ScrollSourceUnknown | Source of scroll events is unknown. |
ScrollSourceWheel | The scroll event is originated by a mouse wheel. |
ScrollSourceFinger | The scroll event is originated by one or more fingers on the device (eg. touchpads). |
ScrollSourceContinuous | The scroll event is originated by the motion of some device (eg. a scroll button is set). |
AnotherScrollSource Int | Catch-all for unknown values |
Instances
ShaderError
data ShaderError Source #
ShaderErrorNoAsm | No ASM shaders support |
ShaderErrorNoGlsl | No GLSL shaders support |
ShaderErrorCompile | Compilation error |
AnotherShaderError Int | Catch-all for unknown values |
Instances
catchShaderError :: IO a -> (ShaderError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type ShaderError
. This is a specialized version of catchGErrorJustDomain
.
handleShaderError :: (ShaderError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type ShaderError
. This is a specialized version of handleGErrorJustDomain
.
ShaderType
data ShaderType Source #
The type of GLSL shader program
Since: 1.4
ShaderTypeVertexShader | a vertex shader |
ShaderTypeFragmentShader | a fragment shader |
AnotherShaderType Int | Catch-all for unknown values |
Instances
SnapEdge
The edge to snap
Since: 1.6
SnapEdgeTop | the top edge |
SnapEdgeRight | the right edge |
SnapEdgeBottom | the bottom edge |
SnapEdgeLeft | the left edge |
AnotherSnapEdge Int | Catch-all for unknown values |
Instances
Enum SnapEdge Source # | |
Show SnapEdge Source # | |
Eq SnapEdge Source # | |
Ord SnapEdge Source # | |
Defined in GI.Clutter.Enums | |
BoxedEnum SnapEdge Source # | |
Defined in GI.Clutter.Enums | |
TypedObject SnapEdge Source # | |
Defined in GI.Clutter.Enums | |
HasParentTypes SnapEdge Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes SnapEdge Source # | |
Defined in GI.Clutter.Enums |
StaticColor
data StaticColor Source #
Named colors, for accessing global colors defined by Clutter
Since: 1.6
StaticColorWhite | White color (ffffffff) |
StaticColorBlack | Black color (000000ff) |
StaticColorRed | Red color (ff0000ff) |
StaticColorDarkRed | Dark red color (800000ff) |
StaticColorGreen | Green color (00ff00ff) |
StaticColorDarkGreen | Dark green color (008000ff) |
StaticColorBlue | Blue color (0000ffff) |
StaticColorDarkBlue | Dark blue color (000080ff) |
StaticColorCyan | Cyan color (00ffffff) |
StaticColorDarkCyan | Dark cyan color (008080ff) |
StaticColorMagenta | Magenta color (ff00ffff) |
StaticColorDarkMagenta | Dark magenta color (800080ff) |
StaticColorYellow | Yellow color (ffff00ff) |
StaticColorDarkYellow | Dark yellow color (808000ff) |
StaticColorGray | Gray color (a0a0a4ff) |
StaticColorDarkGray | Dark Gray color (808080ff) |
StaticColorLightGray | Light gray color (c0c0c0ff) |
StaticColorButter | Butter color (edd400ff) |
StaticColorButterLight | Light butter color (fce94fff) |
StaticColorButterDark | Dark butter color (c4a000ff) |
StaticColorOrange | Orange color (f57900ff) |
StaticColorOrangeLight | Light orange color (fcaf3fff) |
StaticColorOrangeDark | Dark orange color (ce5c00ff) |
StaticColorChocolate | Chocolate color (c17d11ff) |
StaticColorChocolateLight | Light chocolate color (e9b96eff) |
StaticColorChocolateDark | Dark chocolate color (8f5902ff) |
StaticColorChameleon | Chameleon color (73d216ff) |
StaticColorChameleonLight | Light chameleon color (8ae234ff) |
StaticColorChameleonDark | Dark chameleon color (4e9a06ff) |
StaticColorSkyBlue | Sky color (3465a4ff) |
StaticColorSkyBlueLight | Light sky color (729fcfff) |
StaticColorSkyBlueDark | Dark sky color (204a87ff) |
StaticColorPlum | Plum color (75507bff) |
StaticColorPlumLight | Light plum color (ad7fa8ff) |
StaticColorPlumDark | Dark plum color (5c3566ff) |
StaticColorScarletRed | Scarlet red color (cc0000ff) |
StaticColorScarletRedLight | Light scarlet red color (ef2929ff) |
StaticColorScarletRedDark | Dark scarlet red color (a40000ff) |
StaticColorAluminium1 | Aluminium, first variant (eeeeecff) |
StaticColorAluminium2 | Aluminium, second variant (d3d7cfff) |
StaticColorAluminium3 | Aluminium, third variant (babdb6ff) |
StaticColorAluminium4 | Aluminium, fourth variant (888a85ff) |
StaticColorAluminium5 | Aluminium, fifth variant (555753ff) |
StaticColorAluminium6 | Aluminium, sixth variant (2e3436ff) |
StaticColorTransparent | Transparent color (00000000) |
AnotherStaticColor Int | Catch-all for unknown values |
Instances
StepMode
StepModeStart | The change in the value of a
|
StepModeEnd | The change in the value of a
|
AnotherStepMode Int | Catch-all for unknown values |
Instances
Enum StepMode Source # | |
Show StepMode Source # | |
Eq StepMode Source # | |
Ord StepMode Source # | |
Defined in GI.Clutter.Enums | |
BoxedEnum StepMode Source # | |
Defined in GI.Clutter.Enums | |
TypedObject StepMode Source # | |
Defined in GI.Clutter.Enums | |
HasParentTypes StepMode Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes StepMode Source # | |
Defined in GI.Clutter.Enums |
TableAlignment
data TableAlignment Source #
Deprecated: (Since version 1.22)Use the alignment properties of Actor
The alignment policies available on each axis of the TableLayout
Since: 1.4
TableAlignmentStart | Align the child to the top or to the left of a cell in the table, depending on the axis |
TableAlignmentCenter | Align the child to the center of a cell in the table |
TableAlignmentEnd | Align the child to the bottom or to the right of a cell in the table, depending on the axis |
AnotherTableAlignment Int | Catch-all for unknown values |
Instances
TextDirection
data TextDirection Source #
The text direction to be used by Actor
s
Since: 1.2
TextDirectionDefault | Use the default setting, as returned
by |
TextDirectionLtr | Use left-to-right text direction |
TextDirectionRtl | Use right-to-left text direction |
AnotherTextDirection Int | Catch-all for unknown values |
Instances
TextureError
data TextureError Source #
Error enumeration for Texture
Since: 0.4
TextureErrorOutOfMemory | OOM condition |
TextureErrorNoYuv | YUV operation attempted but no YUV support found |
TextureErrorBadFormat | The requested format for clutter_texture_set_from_rgb_data or clutter_texture_set_from_yuv_data is unsupported. |
AnotherTextureError Int | Catch-all for unknown values |
Instances
catchTextureError :: IO a -> (TextureError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type TextureError
. This is a specialized version of catchGErrorJustDomain
.
handleTextureError :: (TextureError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type TextureError
. This is a specialized version of handleGErrorJustDomain
.
TextureQuality
data TextureQuality Source #
Deprecated: (Since version 1.22)The Texture
class was the only used ot this API; use Image
and actorSetContentScalingFilters
instead.
Enumaration controlling the texture quality.
Since: 0.8
TextureQualityLow | fastest rendering will use nearest neighbour interpolation when rendering. good setting. |
TextureQualityMedium | higher quality rendering without using extra resources. |
TextureQualityHigh | render the texture with the best quality available using extra memory. |
AnotherTextureQuality Int | Catch-all for unknown values |
Instances
TimelineDirection
data TimelineDirection Source #
The direction of a Timeline
Since: 0.6
TimelineDirectionForward | forward direction for a timeline |
TimelineDirectionBackward | backward direction for a timeline |
AnotherTimelineDirection Int | Catch-all for unknown values |
Instances
TouchpadGesturePhase
data TouchpadGesturePhase Source #
The phase of a touchpad gesture event. All gestures are guaranteed to
begin with an event of type TouchpadGesturePhaseBegin
,
followed by a number of TouchpadGesturePhaseUpdate
(possibly 0).
A finished gesture may have 2 possible outcomes, an event with phase
TouchpadGesturePhaseEnd
will be emitted when the gesture is
considered successful, this should be used as the hint to perform any
permanent changes.
Cancelled gestures may be so for a variety of reasons, due to hardware,
or due to the gesture recognition layers hinting the gesture did not
finish resolutely (eg. a 3rd finger being added during a pinch gesture).
In these cases, the last event with report the phase
TouchpadGesturePhaseCancel
, this should be used as a hint
to undo any visible/permanent changes that were done throughout the
progress of the gesture.
See also TouchpadPinchEvent
and TouchpadPinchEvent
.
Since: 1.24
TouchpadGesturePhaseBegin | The gesture has begun. |
TouchpadGesturePhaseUpdate | The gesture has been updated. |
TouchpadGesturePhaseEnd | The gesture was finished, changes should be permanently applied. |
TouchpadGesturePhaseCancel | The gesture was cancelled, all changes should be undone. |
AnotherTouchpadGesturePhase Int | Catch-all for unknown values |
Instances
UnitType
The type of unit in which a value is expressed
This enumeration might be expanded at later date
Since: 1.0
UnitTypePixel | Unit expressed in pixels (with subpixel precision) |
UnitTypeEm | Unit expressed in em |
UnitTypeMm | Unit expressed in millimeters |
UnitTypePoint | Unit expressed in points |
UnitTypeCm | Unit expressed in centimeters |
AnotherUnitType Int | Catch-all for unknown values |
Instances
Enum UnitType Source # | |
Show UnitType Source # | |
Eq UnitType Source # | |
Ord UnitType Source # | |
Defined in GI.Clutter.Enums | |
BoxedEnum UnitType Source # | |
Defined in GI.Clutter.Enums | |
TypedObject UnitType Source # | |
Defined in GI.Clutter.Enums | |
HasParentTypes UnitType Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes UnitType Source # | |
Defined in GI.Clutter.Enums |
ZoomAxis
The axis of the constraint that should be applied by the zooming action.
Since: 1.12
ZoomAxisXAxis | Scale only on the X axis |
ZoomAxisYAxis | Scale only on the Y axis |
ZoomAxisBoth | Scale on both axis |
AnotherZoomAxis Int | Catch-all for unknown values |
Instances
Enum ZoomAxis Source # | |
Show ZoomAxis Source # | |
Eq ZoomAxis Source # | |
Ord ZoomAxis Source # | |
Defined in GI.Clutter.Enums | |
BoxedEnum ZoomAxis Source # | |
Defined in GI.Clutter.Enums | |
TypedObject ZoomAxis Source # | |
Defined in GI.Clutter.Enums | |
HasParentTypes ZoomAxis Source # | |
Defined in GI.Clutter.Enums | |
type ParentTypes ZoomAxis Source # | |
Defined in GI.Clutter.Enums |