Function

ClutterTimelineProgressFunc

Declaration

gdouble
(* ClutterTimelineProgressFunc) (
  ClutterTimeline* timeline,
  gdouble elapsed,
  gdouble total,
  gpointer user_data
)

Description [src]

A function for defining a custom progress.

Available since:1.10

Parameters

timeline ClutterTimeline
 

A ClutterTimeline.

 The data is owned by the caller of the function.
elapsed gdouble
 

The elapsed time, in milliseconds.

total gdouble
 

The total duration of the timeline, in milliseconds,

user_data gpointer
 

Data passed to the function.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: gdouble
 

The progress, as a floating point value between -1.0 and 2.0.