SpringAnimation


Description:

[ CCode ( has_construct_function = false , type = "AdwAnimation*" ) ]
public SpringAnimation (Widget widget, double from, double to, owned SpringParams spring_params, owned AnimationTarget target)

Creates a new `AdwSpringAnimation` on widget.

The animation will animate target from from to to with the dynamics of a spring described by spring_params.

Parameters:

widget

a widget to create animation on

from

a value to animate from

to

a value to animate to

spring_params

physical parameters of the spring

target

a target value to animate

Returns:

the newly created animation




2022 vala-language.org