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 ActorMeta
structure contains only
private data and should be accessed using the provided API
Since: 1.4
Synopsis
- newtype ActorMeta = ActorMeta (ManagedPtr ActorMeta)
- class (GObject o, IsDescendantOf ActorMeta o) => IsActorMeta o
- toActorMeta :: (MonadIO m, IsActorMeta o) => o -> m ActorMeta
- actorMetaGetActor :: (HasCallStack, MonadIO m, IsActorMeta a) => a -> m Actor
- actorMetaGetEnabled :: (HasCallStack, MonadIO m, IsActorMeta a) => a -> m Bool
- actorMetaGetName :: (HasCallStack, MonadIO m, IsActorMeta a) => a -> m Text
- actorMetaSetEnabled :: (HasCallStack, MonadIO m, IsActorMeta a) => a -> Bool -> m ()
- actorMetaSetName :: (HasCallStack, MonadIO m, IsActorMeta a) => a -> Text -> m ()
- getActorMetaActor :: (MonadIO m, IsActorMeta o) => o -> m Actor
- constructActorMetaEnabled :: (IsActorMeta o, MonadIO m) => Bool -> m (GValueConstruct o)
- getActorMetaEnabled :: (MonadIO m, IsActorMeta o) => o -> m Bool
- setActorMetaEnabled :: (MonadIO m, IsActorMeta o) => o -> Bool -> m ()
- constructActorMetaName :: (IsActorMeta o, MonadIO m) => Text -> m (GValueConstruct o)
- getActorMetaName :: (MonadIO m, IsActorMeta o) => o -> m Text
- setActorMetaName :: (MonadIO m, IsActorMeta o) => o -> Text -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq ActorMeta Source # | |
GObject ActorMeta Source # | |
Defined in GI.Clutter.Objects.ActorMeta | |
ManagedPtrNewtype ActorMeta Source # | |
Defined in GI.Clutter.Objects.ActorMeta toManagedPtr :: ActorMeta -> ManagedPtr ActorMeta | |
TypedObject ActorMeta Source # | |
Defined in GI.Clutter.Objects.ActorMeta | |
HasParentTypes ActorMeta Source # | |
Defined in GI.Clutter.Objects.ActorMeta | |
IsGValue (Maybe ActorMeta) Source # | Convert |
Defined in GI.Clutter.Objects.ActorMeta gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ActorMeta -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe ActorMeta) | |
type ParentTypes ActorMeta Source # | |
Defined in GI.Clutter.Objects.ActorMeta type ParentTypes ActorMeta = '[Object] |
class (GObject o, IsDescendantOf ActorMeta o) => IsActorMeta o Source #
Type class for types which can be safely cast to ActorMeta
, for instance with toActorMeta
.
Instances
(GObject o, IsDescendantOf ActorMeta o) => IsActorMeta o Source # | |
Defined in GI.Clutter.Objects.ActorMeta |
toActorMeta :: (MonadIO m, IsActorMeta o) => o -> m ActorMeta Source #
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getActor, getData, getEnabled, getName, getProperty, getQdata.
Setters
getActor
:: (HasCallStack, MonadIO m, IsActorMeta a) | |
=> a |
|
-> m Actor |
Retrieves a pointer to the Actor
that owns meta
Since: 1.4
getEnabled
:: (HasCallStack, MonadIO m, IsActorMeta a) | |
=> a |
|
-> m Bool |
Retrieves whether meta
is enabled
Since: 1.4
getName
:: (HasCallStack, MonadIO m, IsActorMeta a) | |
=> a |
|
-> m Text | Returns: the name of the |
Retrieves the name set using actorMetaSetName
Since: 1.4
setEnabled
:: (HasCallStack, MonadIO m, IsActorMeta a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether meta
should be enabled or not
Since: 1.4
setName
:: (HasCallStack, MonadIO m, IsActorMeta a) | |
=> a |
|
-> Text |
|
-> m () |
Properties
actor
getActorMetaActor :: (MonadIO m, IsActorMeta o) => o -> m Actor Source #
Get the value of the “actor
” property.
When overloading is enabled, this is equivalent to
get
actorMeta #actor
enabled
Whether or not the ActorMeta
is enabled
Since: 1.4
constructActorMetaEnabled :: (IsActorMeta o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “enabled
” property. This is rarely needed directly, but it is used by new
.
getActorMetaEnabled :: (MonadIO m, IsActorMeta o) => o -> m Bool Source #
Get the value of the “enabled
” property.
When overloading is enabled, this is equivalent to
get
actorMeta #enabled
setActorMetaEnabled :: (MonadIO m, IsActorMeta o) => o -> Bool -> m () Source #
Set the value of the “enabled
” property.
When overloading is enabled, this is equivalent to
set
actorMeta [ #enabled:=
value ]
name
The unique name to access the ActorMeta
Since: 1.4
constructActorMetaName :: (IsActorMeta o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “name
” property. This is rarely needed directly, but it is used by new
.
getActorMetaName :: (MonadIO m, IsActorMeta o) => o -> m Text Source #
Get the value of the “name
” property.
When overloading is enabled, this is equivalent to
get
actorMeta #name
setActorMetaName :: (MonadIO m, IsActorMeta o) => o -> Text -> m () Source #
Set the value of the “name
” property.
When overloading is enabled, this is equivalent to
set
actorMeta [ #name:=
value ]