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 |
The BehaviourDepth
structure contains only private data
and should be accessed using the provided API
Since: 0.2
Synopsis
- newtype BehaviourDepth = BehaviourDepth (ManagedPtr BehaviourDepth)
- class (GObject o, IsDescendantOf BehaviourDepth o) => IsBehaviourDepth o
- toBehaviourDepth :: (MonadIO m, IsBehaviourDepth o) => o -> m BehaviourDepth
- behaviourDepthGetBounds :: (HasCallStack, MonadIO m, IsBehaviourDepth a) => a -> m (Int32, Int32)
- behaviourDepthNew :: (HasCallStack, MonadIO m, IsAlpha a) => Maybe a -> Int32 -> Int32 -> m BehaviourDepth
- behaviourDepthSetBounds :: (HasCallStack, MonadIO m, IsBehaviourDepth a) => a -> Int32 -> Int32 -> m ()
- constructBehaviourDepthDepthEnd :: (IsBehaviourDepth o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getBehaviourDepthDepthEnd :: (MonadIO m, IsBehaviourDepth o) => o -> m Int32
- setBehaviourDepthDepthEnd :: (MonadIO m, IsBehaviourDepth o) => o -> Int32 -> m ()
- constructBehaviourDepthDepthStart :: (IsBehaviourDepth o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getBehaviourDepthDepthStart :: (MonadIO m, IsBehaviourDepth o) => o -> m Int32
- setBehaviourDepthDepthStart :: (MonadIO m, IsBehaviourDepth o) => o -> Int32 -> m ()
Exported types
newtype BehaviourDepth Source #
Memory-managed wrapper type.
BehaviourDepth (ManagedPtr BehaviourDepth) |
Instances
Eq BehaviourDepth Source # | |
Defined in GI.Clutter.Objects.BehaviourDepth (==) :: BehaviourDepth -> BehaviourDepth -> Bool # (/=) :: BehaviourDepth -> BehaviourDepth -> Bool # | |
GObject BehaviourDepth Source # | |
Defined in GI.Clutter.Objects.BehaviourDepth | |
ManagedPtrNewtype BehaviourDepth Source # | |
Defined in GI.Clutter.Objects.BehaviourDepth toManagedPtr :: BehaviourDepth -> ManagedPtr BehaviourDepth | |
TypedObject BehaviourDepth Source # | |
Defined in GI.Clutter.Objects.BehaviourDepth | |
HasParentTypes BehaviourDepth Source # | |
Defined in GI.Clutter.Objects.BehaviourDepth | |
IsGValue (Maybe BehaviourDepth) Source # | Convert |
Defined in GI.Clutter.Objects.BehaviourDepth gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe BehaviourDepth -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe BehaviourDepth) | |
type ParentTypes BehaviourDepth Source # | |
Defined in GI.Clutter.Objects.BehaviourDepth |
class (GObject o, IsDescendantOf BehaviourDepth o) => IsBehaviourDepth o Source #
Type class for types which can be safely cast to BehaviourDepth
, for instance with toBehaviourDepth
.
Instances
(GObject o, IsDescendantOf BehaviourDepth o) => IsBehaviourDepth o Source # | |
Defined in GI.Clutter.Objects.BehaviourDepth |
toBehaviourDepth :: (MonadIO m, IsBehaviourDepth o) => o -> m BehaviourDepth Source #
Cast to BehaviourDepth
, 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
behaviourDepthGetBounds Source #
:: (HasCallStack, MonadIO m, IsBehaviourDepth a) | |
=> a |
|
-> m (Int32, Int32) |
Deprecated: (Since version 1.6)
Gets the boundaries of the behaviour
Since: 0.6
new
:: (HasCallStack, MonadIO m, IsAlpha a) | |
=> Maybe a | |
-> Int32 |
|
-> Int32 |
|
-> m BehaviourDepth | Returns: the newly created behaviour |
Deprecated: (Since version 1.6)
Creates a new BehaviourDepth
which can be used to control
the ClutterActor:depth property of a set of Actor
s.
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.4
setBounds
behaviourDepthSetBounds Source #
:: (HasCallStack, MonadIO m, IsBehaviourDepth a) | |
=> a |
|
-> Int32 |
|
-> Int32 |
|
-> m () |
Deprecated: (Since version 1.6)
Sets the boundaries of the behaviour
.
Since: 0.6
Properties
depthEnd
End depth level to apply to the actors.
Since: 0.4
constructBehaviourDepthDepthEnd :: (IsBehaviourDepth o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “depth-end
” property. This is rarely needed directly, but it is used by new
.
getBehaviourDepthDepthEnd :: (MonadIO m, IsBehaviourDepth o) => o -> m Int32 Source #
Get the value of the “depth-end
” property.
When overloading is enabled, this is equivalent to
get
behaviourDepth #depthEnd
setBehaviourDepthDepthEnd :: (MonadIO m, IsBehaviourDepth o) => o -> Int32 -> m () Source #
Set the value of the “depth-end
” property.
When overloading is enabled, this is equivalent to
set
behaviourDepth [ #depthEnd:=
value ]
depthStart
Start depth level to apply to the actors.
Since: 0.4
constructBehaviourDepthDepthStart :: (IsBehaviourDepth o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “depth-start
” property. This is rarely needed directly, but it is used by new
.
getBehaviourDepthDepthStart :: (MonadIO m, IsBehaviourDepth o) => o -> m Int32 Source #
Get the value of the “depth-start
” property.
When overloading is enabled, this is equivalent to
get
behaviourDepth #depthStart
setBehaviourDepthDepthStart :: (MonadIO m, IsBehaviourDepth o) => o -> Int32 -> m () Source #
Set the value of the “depth-start
” property.
When overloading is enabled, this is equivalent to
set
behaviourDepth [ #depthStart:=
value ]