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 |
Synopsis
- data ActorFlags
- data AllocationFlags
- data ContentRepeat
- data EffectPaintFlags
- data EventFlags
- data FeatureFlags
- = FeatureFlagsTextureNpot
- | FeatureFlagsSyncToVblank
- | FeatureFlagsTextureYuv
- | FeatureFlagsTextureReadPixels
- | FeatureFlagsStageStatic
- | FeatureFlagsStageUserResize
- | FeatureFlagsStageCursor
- | FeatureFlagsShadersGlsl
- | FeatureFlagsOffscreen
- | FeatureFlagsStageMultiple
- | FeatureFlagsSwapEvents
- | AnotherFeatureFlags Int
- data FontFlags
- data ModifierType
- = ModifierTypeShiftMask
- | ModifierTypeLockMask
- | ModifierTypeControlMask
- | ModifierTypeMod1Mask
- | ModifierTypeMod2Mask
- | ModifierTypeMod3Mask
- | ModifierTypeMod4Mask
- | ModifierTypeMod5Mask
- | ModifierTypeButton1Mask
- | ModifierTypeButton2Mask
- | ModifierTypeButton3Mask
- | ModifierTypeButton4Mask
- | ModifierTypeButton5Mask
- | ModifierTypeModifierReserved13Mask
- | ModifierTypeModifierReserved14Mask
- | ModifierTypeModifierReserved15Mask
- | ModifierTypeModifierReserved16Mask
- | ModifierTypeModifierReserved17Mask
- | ModifierTypeModifierReserved18Mask
- | ModifierTypeModifierReserved19Mask
- | ModifierTypeModifierReserved20Mask
- | ModifierTypeModifierReserved21Mask
- | ModifierTypeModifierReserved22Mask
- | ModifierTypeModifierReserved23Mask
- | ModifierTypeModifierReserved24Mask
- | ModifierTypeModifierReserved25Mask
- | ModifierTypeSuperMask
- | ModifierTypeHyperMask
- | ModifierTypeMetaMask
- | ModifierTypeModifierReserved29Mask
- | ModifierTypeReleaseMask
- | ModifierTypeModifierMask
- | AnotherModifierType Int
- data OffscreenRedirect
- data RepaintFlags
- data ScrollFinishFlags
- data ScrollMode
- data StageState
- data SwipeDirection
- data TextureFlags
Flags
ActorFlags
data ActorFlags Source #
Flags used to signal the state of an actor.
ActorFlagsMapped | the actor will be painted (is visible, and inside a toplevel, and all parents visible) |
ActorFlagsRealized | the resources associated to the actor have been allocated |
ActorFlagsReactive | the actor 'reacts' to mouse events emmitting event signals |
ActorFlagsVisible | the actor has been shown by the application program |
ActorFlagsNoLayout | the actor provides an explicit layout management policy for its children; this flag will prevent Clutter from automatic queueing of relayout and will defer all layouting to the actor itself |
AnotherActorFlags Int | Catch-all for unknown values |
Instances
AllocationFlags
data AllocationFlags Source #
Flags passed to the ActorClass
.allocate
() virtual function
and to the actorAllocate
function.
Since: 1.0
AllocationFlagsAllocationNone | No flag set |
AllocationFlagsAbsoluteOriginChanged | Whether the absolute origin of the actor has changed; this implies that any ancestor of the actor has been moved. |
AllocationFlagsDelegateLayout | Whether the allocation should be delegated
to the |
AnotherAllocationFlags Int | Catch-all for unknown values |
Instances
ContentRepeat
data ContentRepeat Source #
Content repeat modes.
Since: 1.12
ContentRepeatNone | No repeat |
ContentRepeatXAxis | Repeat the content on the X axis |
ContentRepeatYAxis | Repeat the content on the Y axis |
ContentRepeatBoth | Repeat the content on both axis |
AnotherContentRepeat Int | Catch-all for unknown values |
Instances
EffectPaintFlags
data EffectPaintFlags Source #
Flags passed to the ‘paint’ or ‘pick’ method of Effect
.
EffectPaintFlagsActorDirty | The actor or one of its children
has queued a redraw before this paint. This implies that the effect
should call |
AnotherEffectPaintFlags Int | Catch-all for unknown values |
Instances
EventFlags
data EventFlags Source #
Flags for the Event
Since: 0.6
EventFlagsNone | No flag set |
EventFlagsFlagSynthetic | Synthetic event |
AnotherEventFlags Int | Catch-all for unknown values |
Instances
FeatureFlags
data FeatureFlags Source #
Runtime flags indicating specific features available via Clutter window system and graphics backend.
Since: 0.4
FeatureFlagsTextureNpot | Set if NPOTS textures supported. |
FeatureFlagsSyncToVblank | Set if vblank syncing supported. |
FeatureFlagsTextureYuv | Set if YUV based textures supported. |
FeatureFlagsTextureReadPixels | Set if texture pixels can be read. |
FeatureFlagsStageStatic | Set if stage size if fixed (i.e framebuffer) |
FeatureFlagsStageUserResize | Set if stage is able to be user resized. |
FeatureFlagsStageCursor | Set if stage has a graphical cursor. |
FeatureFlagsShadersGlsl | Set if the backend supports GLSL shaders. |
FeatureFlagsOffscreen | Set if the backend supports offscreen rendering. |
FeatureFlagsStageMultiple | Set if multiple stages are supported. |
FeatureFlagsSwapEvents | Set if the GLX_INTEL_swap_event is supported. |
AnotherFeatureFlags Int | Catch-all for unknown values |
Instances
FontFlags
Deprecated: (Since version 1.22)Use FontOptions
instead
Runtime flags to change the font quality. To be used with
setFontFlags
.
Since: 1.0
FontFlagsMipmapping | Set to use mipmaps for the glyph cache textures. |
FontFlagsHinting | Set to enable hinting on the glyphs. |
AnotherFontFlags Int | Catch-all for unknown values |
Instances
Enum FontFlags Source # | |
Defined in GI.Clutter.Flags succ :: FontFlags -> FontFlags # pred :: FontFlags -> FontFlags # fromEnum :: FontFlags -> Int # enumFrom :: FontFlags -> [FontFlags] # enumFromThen :: FontFlags -> FontFlags -> [FontFlags] # enumFromTo :: FontFlags -> FontFlags -> [FontFlags] # enumFromThenTo :: FontFlags -> FontFlags -> FontFlags -> [FontFlags] # | |
Show FontFlags Source # | |
Eq FontFlags Source # | |
Ord FontFlags Source # | |
Defined in GI.Clutter.Flags | |
BoxedFlags FontFlags Source # | |
Defined in GI.Clutter.Flags | |
IsGFlag FontFlags Source # | |
Defined in GI.Clutter.Flags | |
TypedObject FontFlags Source # | |
Defined in GI.Clutter.Flags | |
HasParentTypes FontFlags Source # | |
Defined in GI.Clutter.Flags | |
type ParentTypes FontFlags Source # | |
Defined in GI.Clutter.Flags |
ModifierType
data ModifierType Source #
Masks applied to a Event
by modifiers.
Note that Clutter may add internal values to events which include
reserved values such as ModifierTypeModifierReserved13Mask
. Your code
should preserve and ignore them. You can use ModifierTypeModifierMask
to
remove all reserved values.
Since: 0.4
ModifierTypeShiftMask | Mask applied by the Shift key |
ModifierTypeLockMask | Mask applied by the Caps Lock key |
ModifierTypeControlMask | Mask applied by the Control key |
ModifierTypeMod1Mask | Mask applied by the first Mod key |
ModifierTypeMod2Mask | Mask applied by the second Mod key |
ModifierTypeMod3Mask | Mask applied by the third Mod key |
ModifierTypeMod4Mask | Mask applied by the fourth Mod key |
ModifierTypeMod5Mask | Mask applied by the fifth Mod key |
ModifierTypeButton1Mask | Mask applied by the first pointer button |
ModifierTypeButton2Mask | Mask applied by the second pointer button |
ModifierTypeButton3Mask | Mask applied by the third pointer button |
ModifierTypeButton4Mask | Mask applied by the fourth pointer button |
ModifierTypeButton5Mask | Mask applied by the fifth pointer button |
ModifierTypeModifierReserved13Mask | No description available in the introspection data. |
ModifierTypeModifierReserved14Mask | No description available in the introspection data. |
ModifierTypeModifierReserved15Mask | No description available in the introspection data. |
ModifierTypeModifierReserved16Mask | No description available in the introspection data. |
ModifierTypeModifierReserved17Mask | No description available in the introspection data. |
ModifierTypeModifierReserved18Mask | No description available in the introspection data. |
ModifierTypeModifierReserved19Mask | No description available in the introspection data. |
ModifierTypeModifierReserved20Mask | No description available in the introspection data. |
ModifierTypeModifierReserved21Mask | No description available in the introspection data. |
ModifierTypeModifierReserved22Mask | No description available in the introspection data. |
ModifierTypeModifierReserved23Mask | No description available in the introspection data. |
ModifierTypeModifierReserved24Mask | No description available in the introspection data. |
ModifierTypeModifierReserved25Mask | No description available in the introspection data. |
ModifierTypeSuperMask | Mask applied by the Super key |
ModifierTypeHyperMask | Mask applied by the Hyper key |
ModifierTypeMetaMask | Mask applied by the Meta key |
ModifierTypeModifierReserved29Mask | No description available in the introspection data. |
ModifierTypeReleaseMask | Mask applied during release |
ModifierTypeModifierMask | A mask covering all modifier types |
AnotherModifierType Int | Catch-all for unknown values |
Instances
OffscreenRedirect
data OffscreenRedirect Source #
Possible flags to pass to actorSetOffscreenRedirect
.
Since: 1.8
OffscreenRedirectAutomaticForOpacity | Only redirect
the actor if it is semi-transparent and its |
OffscreenRedirectAlways | Always redirect the actor to an offscreen buffer even if it is fully opaque. |
AnotherOffscreenRedirect Int | Catch-all for unknown values |
Instances
RepaintFlags
data RepaintFlags Source #
Flags to pass to threadsAddRepaintFuncFull
.
Since: 1.10
RepaintFlagsPrePaint | Run the repaint function prior to painting the stages |
RepaintFlagsPostPaint | Run the repaint function after painting the stages |
RepaintFlagsQueueRedrawOnAdd | Ensure that a new frame is queued after adding the repaint function |
AnotherRepaintFlags Int | Catch-all for unknown values |
Instances
ScrollFinishFlags
data ScrollFinishFlags Source #
Flags used to notify the axes that were stopped in a ScrollEvent
.
These can be used to trigger post-scroll effects like kinetic scrolling.
Since: 1.26
ScrollFinishFlagsNone | no axis was stopped. |
ScrollFinishFlagsHorizontal | The horizontal axis stopped. |
ScrollFinishFlagsVertical | The vertical axis stopped. |
AnotherScrollFinishFlags Int | Catch-all for unknown values |
Instances
ScrollMode
data ScrollMode Source #
Scroll modes.
Since: 1.12
ScrollModeNone | Ignore scrolling |
ScrollModeHorizontally | Scroll only horizontally |
ScrollModeVertically | Scroll only vertically |
ScrollModeBoth | Scroll in both directions |
AnotherScrollMode Int | Catch-all for unknown values |
Instances
StageState
data StageState Source #
Stage state masks, used by the Event
of type EventTypeStageState
.
Since: 0.4
StageStateFullscreen | Fullscreen mask |
StageStateOffscreen | Offscreen mask (deprecated) |
StageStateActivated | Activated mask |
AnotherStageState Int | Catch-all for unknown values |
Instances
SwipeDirection
data SwipeDirection Source #
The main direction of the swipe gesture
Since: 1.8
SwipeDirectionUp | Upwards swipe gesture |
SwipeDirectionDown | Downwards swipe gesture |
SwipeDirectionLeft | Leftwards swipe gesture |
SwipeDirectionRight | Rightwards swipe gesture |
AnotherSwipeDirection Int | Catch-all for unknown values |
Instances
TextureFlags
data TextureFlags Source #
Deprecated: (Since version 1.22)The Texture
class was the only user of this API
Flags for textureSetFromRgbData
and
textureSetFromYuvData
.
Since: 0.4
TextureFlagsNone | No flags |
TextureFlagsRgbFlagBgr | Unused flag |
TextureFlagsRgbFlagPremult | Unused flag |
TextureFlagsYuvFlagYuv2 | Unused flag |
AnotherTextureFlags Int | Catch-all for unknown values |