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.Adw.Objects.PropertyAnimationTarget
Description
An [classanimationTarget
] changing the value of a property of a
Object
instance.
Since: 1.2
Synopsis
- newtype PropertyAnimationTarget = PropertyAnimationTarget (ManagedPtr PropertyAnimationTarget)
- class (GObject o, IsDescendantOf PropertyAnimationTarget o) => IsPropertyAnimationTarget o
- toPropertyAnimationTarget :: (MonadIO m, IsPropertyAnimationTarget o) => o -> m PropertyAnimationTarget
- propertyAnimationTargetGetObject :: (HasCallStack, MonadIO m, IsPropertyAnimationTarget a) => a -> m Object
- propertyAnimationTargetGetPspec :: (HasCallStack, MonadIO m, IsPropertyAnimationTarget a) => a -> m GParamSpec
- propertyAnimationTargetNew :: (HasCallStack, MonadIO m, IsObject a) => a -> Text -> m PropertyAnimationTarget
- propertyAnimationTargetNewForPspec :: (HasCallStack, MonadIO m, IsObject a) => a -> GParamSpec -> m PropertyAnimationTarget
- constructPropertyAnimationTargetObject :: (IsPropertyAnimationTarget o, MonadIO m, IsObject a) => a -> m (GValueConstruct o)
- getPropertyAnimationTargetObject :: (MonadIO m, IsPropertyAnimationTarget o) => o -> m Object
- constructPropertyAnimationTargetPspec :: (IsPropertyAnimationTarget o, MonadIO m) => GParamSpec -> m (GValueConstruct o)
- getPropertyAnimationTargetPspec :: (MonadIO m, IsPropertyAnimationTarget o) => o -> m GParamSpec
Exported types
newtype PropertyAnimationTarget Source #
Memory-managed wrapper type.
Constructors
PropertyAnimationTarget (ManagedPtr PropertyAnimationTarget) |
Instances
class (GObject o, IsDescendantOf PropertyAnimationTarget o) => IsPropertyAnimationTarget o Source #
Type class for types which can be safely cast to PropertyAnimationTarget
, for instance with toPropertyAnimationTarget
.
Instances
(GObject o, IsDescendantOf PropertyAnimationTarget o) => IsPropertyAnimationTarget o Source # | |
Defined in GI.Adw.Objects.PropertyAnimationTarget |
toPropertyAnimationTarget :: (MonadIO m, IsPropertyAnimationTarget o) => o -> m PropertyAnimationTarget Source #
Cast to PropertyAnimationTarget
, 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
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getObject, getProperty, getPspec, getQdata.
Setters
getObject
propertyAnimationTargetGetObject Source #
Arguments
:: (HasCallStack, MonadIO m, IsPropertyAnimationTarget a) | |
=> a |
|
-> m Object | Returns: the animated object |
Gets the object animated by self
.
The AdwPropertyAnimationTarget
instance does not hold a strong reference on
the object; make sure the object is kept alive throughout the target's
lifetime.
Since: 1.2
getPspec
propertyAnimationTargetGetPspec Source #
Arguments
:: (HasCallStack, MonadIO m, IsPropertyAnimationTarget a) | |
=> a |
|
-> m GParamSpec | Returns: the animated property's |
Gets the GParamSpec
of the property animated by self
.
Since: 1.2
new
propertyAnimationTargetNew Source #
Arguments
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> Text |
|
-> m PropertyAnimationTarget | Returns: the newly created |
Creates a new AdwPropertyAnimationTarget
for the propertyName
property on
object
.
Since: 1.2
newForPspec
propertyAnimationTargetNewForPspec Source #
Arguments
:: (HasCallStack, MonadIO m, IsObject a) | |
=> a |
|
-> GParamSpec |
|
-> m PropertyAnimationTarget | Returns: new newly created |
Creates a new AdwPropertyAnimationTarget
for the pspec
property on
object
.
Since: 1.2
Properties
object
The object whose property will be animated.
The AdwPropertyAnimationTarget
instance does not hold a strong reference
on the object; make sure the object is kept alive throughout the target's
lifetime.
Since: 1.2
constructPropertyAnimationTargetObject :: (IsPropertyAnimationTarget o, MonadIO m, IsObject a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “object
” property. This is rarely needed directly, but it is used by new
.
getPropertyAnimationTargetObject :: (MonadIO m, IsPropertyAnimationTarget o) => o -> m Object Source #
Get the value of the “object
” property.
When overloading is enabled, this is equivalent to
get
propertyAnimationTarget #object
pspec
The GParamSpec
of the property to be animated.
Since: 1.2
constructPropertyAnimationTargetPspec :: (IsPropertyAnimationTarget o, MonadIO m) => GParamSpec -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “pspec
” property. This is rarely needed directly, but it is used by new
.
getPropertyAnimationTargetPspec :: (MonadIO m, IsPropertyAnimationTarget o) => o -> m GParamSpec Source #
Get the value of the “pspec
” property.
When overloading is enabled, this is equivalent to
get
propertyAnimationTarget #pspec