SpringAnimation.this

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.

  1. this(void* ptr, Flag!"Take" take)
  2. this(gtk.widget.Widget widget, double from, double to, adw.spring_params.SpringParams springParams, adw.animation_target.AnimationTarget target)

Parameters

widget gtk.widget.Widget

a widget to create animation on

from double

a value to animate from

to double

a value to animate to

springParams adw.spring_params.SpringParams

physical parameters of the spring

target adw.animation_target.AnimationTarget

a target value to animate

Return Value

the newly created animation