SpringAnimation.this
this
(gtk.widget.Widget widget, double from, double to, adw.spring_params.SpringParams springParams, adw.animation_target.AnimationTarget target)Creates a new [adw.spring_animation.SpringAnimation] 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 |
springParams | physical parameters of the spring |
target | a target value to animate |
Returns
the newly created animation