Constructor

BisTimedAnimationnew

Declaration [src]

BisAnimation*
bis_timed_animation_new (
  GtkWidget* widget,
  double from,
  double to,
  guint duration,
  BisAnimationTarget* target
)

Description [src]

Creates a new BisTimedAnimation on widget to animate target from from to to.

Available since:1.0

Parameters

widget GtkWidget
 

A widget to create animation on.

 The data is owned by the caller of the function.
from double
 

A value to animate from.

to double
 

A value to animate to.

duration guint
 

A duration for the animation.

target BisAnimationTarget
 

A target value to animate.

 The called function takes ownership of the data, and is responsible for freeing it.

Return value

Returns: BisAnimation
 

The newly created animation.

 The data is owned by the called function.