1.44 <AdwPropertyAnimationTarget>

Class: <AdwPropertyAnimationTarget>

It derives from <AdwAnimationTarget>.

An AnimationTarget changing the value of a property of a <GObject> instance.

Properties

Property: property-animation-target:object self

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.

Its value is a <GObject>, or #f.

It can only be set when the object is made, with #:object.

Property: property-animation-target:pspec self

The <GParam> of the property to be animated.

Its value is a <GParam>, or #f.

It can only be set when the object is made, with #:pspec.

Procedures

Method: property-animation-target:get-object self ⇒ %return
Method: get-object self ⇒ %return

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.

self

Passed: a <AdwPropertyAnimationTarget>.

a property animation target

%return

Returned: a <GObject>.

the animated object

Method: property-animation-target:get-pspec self ⇒ %return
Method: get-pspec self ⇒ %return

Gets the <GParam> of the property animated by self.

self

Passed: a <AdwPropertyAnimationTarget>.

a property animation target

%return

Returned: a <GParam>.

the animated property’s <GParam>

Procedure: property-animation-target:new object property-name ⇒ %return

Creates a new <AdwPropertyAnimationTarget> for the property-name property on object.

object

Passed: a <GObject>.

an object to be animated

property-name

Passed: a string.

the name of the property on object to animate

%return

Returned: a <AdwAnimationTarget>.

the newly created <AdwPropertyAnimationTarget>

Procedure: property-animation-target:new-for-pspec object pspec ⇒ %return

Creates a new <AdwPropertyAnimationTarget> for the pspec property on object.

object

Passed: a <GObject>.

an object to be animated

pspec

Passed: a <GParam>.

the param spec of the property on object to animate

%return

Returned: a <AdwAnimationTarget>.

new newly created <AdwPropertyAnimationTarget>