Method

ClutterTimelineadd_marker

Declaration [src]

void
clutter_timeline_add_marker (
  ClutterTimeline* timeline,
  const gchar* marker_name,
  gdouble progress
)

Description [src]

Adds a named marker that will be hit when the timeline has reached the specified progress.

Markers are unique string identifiers for a given position on the timeline. Once timeline reaches the given progress of its duration, if will emit a ::marker-reached signal for each marker attached to that particular point.

A marker can be removed with clutter_timeline_remove_marker(). The timeline can be advanced to a marker using clutter_timeline_advance_to_marker().

See also: clutter_timeline_add_marker_at_time()

Available since:1.14

Parameters

marker_name const gchar*
 

The unique name for this marker.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
progress gdouble
 

The normalized value of the position of the martke.