| 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 | 
GI.Clutter.Objects.BehaviourOpacity
Description
The BehaviourOpacity structure contains only private data and
 should be accessed using the provided API
Since: 0.2
Synopsis
- newtype BehaviourOpacity = BehaviourOpacity (ManagedPtr BehaviourOpacity)
 - class (GObject o, IsDescendantOf BehaviourOpacity o) => IsBehaviourOpacity o
 - toBehaviourOpacity :: (MonadIO m, IsBehaviourOpacity o) => o -> m BehaviourOpacity
 - behaviourOpacityGetBounds :: (HasCallStack, MonadIO m, IsBehaviourOpacity a) => a -> m (Word8, Word8)
 - behaviourOpacityNew :: (HasCallStack, MonadIO m, IsAlpha a) => Maybe a -> Word8 -> Word8 -> m BehaviourOpacity
 - behaviourOpacitySetBounds :: (HasCallStack, MonadIO m, IsBehaviourOpacity a) => a -> Word8 -> Word8 -> m ()
 - constructBehaviourOpacityOpacityEnd :: (IsBehaviourOpacity o, MonadIO m) => Word32 -> m (GValueConstruct o)
 - getBehaviourOpacityOpacityEnd :: (MonadIO m, IsBehaviourOpacity o) => o -> m Word32
 - setBehaviourOpacityOpacityEnd :: (MonadIO m, IsBehaviourOpacity o) => o -> Word32 -> m ()
 - constructBehaviourOpacityOpacityStart :: (IsBehaviourOpacity o, MonadIO m) => Word32 -> m (GValueConstruct o)
 - getBehaviourOpacityOpacityStart :: (MonadIO m, IsBehaviourOpacity o) => o -> m Word32
 - setBehaviourOpacityOpacityStart :: (MonadIO m, IsBehaviourOpacity o) => o -> Word32 -> m ()
 
Exported types
newtype BehaviourOpacity Source #
Memory-managed wrapper type.
Constructors
| BehaviourOpacity (ManagedPtr BehaviourOpacity) | 
Instances
class (GObject o, IsDescendantOf BehaviourOpacity o) => IsBehaviourOpacity o Source #
Type class for types which can be safely cast to BehaviourOpacity, for instance with toBehaviourOpacity.
Instances
| (GObject o, IsDescendantOf BehaviourOpacity o) => IsBehaviourOpacity o Source # | |
Defined in GI.Clutter.Objects.BehaviourOpacity  | |
toBehaviourOpacity :: (MonadIO m, IsBehaviourOpacity o) => o -> m BehaviourOpacity Source #
Cast to BehaviourOpacity, for types for which this is known to be safe. For general casts, use castTo.
Methods
Click to display all available methods, including inherited ones
Methods
actorsForeach, apply, bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isApplied, isFloating, notify, notifyByPspec, parseCustomNode, ref, refSink, remove, removeAll, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getActors, getAlpha, getBounds, getData, getId, getNActors, getNthActor, getProperty, getQdata.
Setters
setAlpha, setBounds, setCustomProperty, setData, setDataFull, setId, setProperty.
getBounds
behaviourOpacityGetBounds Source #
Arguments
| :: (HasCallStack, MonadIO m, IsBehaviourOpacity a) | |
| => a | 
  | 
| -> m (Word8, Word8) | 
Deprecated: (Since version 1.6)
Gets the initial and final levels of the opacity applied by behaviour
 on each actor it controls.
Since: 0.6
new
Arguments
| :: (HasCallStack, MonadIO m, IsAlpha a) | |
| => Maybe a | |
| -> Word8 | 
  | 
| -> Word8 | 
  | 
| -> m BehaviourOpacity | Returns: the newly created   | 
Deprecated: (Since version 1.6)
Creates a new BehaviourOpacity object, driven by alpha
 which controls the opacity property of every actor, making it
 change in the interval between opacityStart and opacityEnd.
If alpha is not Nothing, the Behaviour will take ownership
 of the Alpha instance. In the case when alpha is Nothing,
 it can be set later with behaviourSetAlpha.
Since: 0.2
setBounds
behaviourOpacitySetBounds Source #
Arguments
| :: (HasCallStack, MonadIO m, IsBehaviourOpacity a) | |
| => a | 
  | 
| -> Word8 | 
  | 
| -> Word8 | 
  | 
| -> m () | 
Deprecated: (Since version 1.6)
Sets the initial and final levels of the opacity applied by behaviour
 on each actor it controls.
Since: 0.6
Properties
opacityEnd
Final opacity level of the behaviour.
Since: 0.2
constructBehaviourOpacityOpacityEnd :: (IsBehaviourOpacity o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “opacity-end” property. This is rarely needed directly, but it is used by new.
getBehaviourOpacityOpacityEnd :: (MonadIO m, IsBehaviourOpacity o) => o -> m Word32 Source #
Get the value of the “opacity-end” property.
 When overloading is enabled, this is equivalent to
get behaviourOpacity #opacityEnd
setBehaviourOpacityOpacityEnd :: (MonadIO m, IsBehaviourOpacity o) => o -> Word32 -> m () Source #
Set the value of the “opacity-end” property.
 When overloading is enabled, this is equivalent to
setbehaviourOpacity [ #opacityEnd:=value ]
opacityStart
Initial opacity level of the behaviour.
Since: 0.2
constructBehaviourOpacityOpacityStart :: (IsBehaviourOpacity o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “opacity-start” property. This is rarely needed directly, but it is used by new.
getBehaviourOpacityOpacityStart :: (MonadIO m, IsBehaviourOpacity o) => o -> m Word32 Source #
Get the value of the “opacity-start” property.
 When overloading is enabled, this is equivalent to
get behaviourOpacity #opacityStart
setBehaviourOpacityOpacityStart :: (MonadIO m, IsBehaviourOpacity o) => o -> Word32 -> m () Source #
Set the value of the “opacity-start” property.
 When overloading is enabled, this is equivalent to
setbehaviourOpacity [ #opacityStart:=value ]