Method

AdapSpringAnimationset_clamp

Declaration [src]

void
adap_spring_animation_set_clamp (
  AdapSpringAnimation* self,
  gboolean clamp
)

Description [src]

Sets whether self should be clamped.

If set to TRUE, the animation will abruptly end as soon as it reaches the final value, preventing overshooting.

It won’t prevent overshooting AdapSpringAnimation:value-from if a relative negative AdapSpringAnimation:initial-velocity is set.

Parameters

clamp

Type: gboolean

The new value.