PropertyAnimationTarget#
Added in version 1.2.
Superclasses: AnimationTarget, Object
An AnimationTarget changing the value of a property of a
Object instance.
Constructors#
- class PropertyAnimationTarget
- classmethod new(object: Object, property_name: str) AnimationTarget#
Creates a new
AdwPropertyAnimationTargetfor theproperty_nameproperty onobject.Added in version 1.2.
- Parameters:
object – an object to be animated
property_name – the name of the property on
objectto animate
- classmethod new_for_pspec(object: Object, pspec: ParamSpec) AnimationTarget#
Creates a new
AdwPropertyAnimationTargetfor thepspecproperty onobject.Added in version 1.2.
- Parameters:
object – an object to be animated
pspec – the param spec of the property on
objectto animate
Methods#
- class PropertyAnimationTarget
- get_object() Object#
Gets the object animated by
self.The
AdwPropertyAnimationTargetinstance does not hold a strong reference on the object; make sure the object is kept alive throughout the target’s lifetime.Added in version 1.2.
- get_pspec() ParamSpec#
Gets the
GParamSpecof the property animated byself.Added in version 1.2.