Constructor

ClutterTimelinenew_for_frame_clock

Declaration [src]

ClutterTimeline*
clutter_timeline_new_for_frame_clock (
  ClutterFrameClock* frame_clock,
  unsigned int duration_ms
)

Description [src]

Creates a new ClutterTimeline with a duration of duration_ms milli seconds.

Parameters

frame_clock ClutterFrameClock
 

The ClutterFrameClock the timeline is driven by.

 The data is owned by the caller of the function.
duration_ms unsigned int
 

Duration of the timeline in milliseconds.

Return value

Returns: ClutterTimeline
 

The newly created ClutterTimeline instance. Use g_object_unref() when done using it.

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