PropertyAnimationTarget.newForPspec

Creates a new [adw.property_animation_target.PropertyAnimationTarget] for the pspec property on object.

Parameters

objectan object to be animated
pspecthe param spec of the property on object to animate

Returns

new newly created [adw.property_animation_target.PropertyAnimationTarget]