- public void add_marker_at_time (string marker_name, uint msecs)
Adds a named marker that will be hit when the timeline has been running
for msecs milliseconds.
- public void advance (uint msecs)
Advance timeline to the requested point.
- public void advance_to_marker (string marker_name)
Advances timeline to the time of the given marker_name
.
- public Timeline clone ()
Create a new Timeline instance which has property
values matching that of supplied timeline.
- public bool get_auto_reverse ()
- public bool get_cubic_bezier_progress (out Point c_1, out Point c_2)
Retrieves the control points for the cubic bezier progress mode.
- public int get_current_repeat ()
Retrieves the current repeat for a timeline.
- public uint get_delay ()
- public uint get_delta ()
Retrieves the amount of time elapsed since the last
ClutterTimeline::new-frame signal.
- public TimelineDirection get_direction ()
- public uint get_duration ()
Retrieves the duration of a Timeline in
milliseconds.
- public int64 get_duration_hint ()
Retrieves the full duration of the timeline, taking into
account the current value of the repeat_count property.
- public uint get_elapsed_time ()
Request the current time position of the timeline.
- public bool get_loop ()
Gets whether timeline is looping
- public double get_progress ()
The position of the timeline in a normalized [-1, 2] interval.
- public AnimationMode get_progress_mode ()
- public int get_repeat_count ()
- public bool get_step_progress (out int n_steps, out StepMode step_mode)
Retrieves the parameters of the step progress mode used by timeline
.
- public bool has_marker (string marker_name)
Checks whether timeline has a marker set with the given name.
- public bool is_playing ()
Queries state of a Timeline.
- public string[] list_markers (int msecs)
Retrieves the list of markers at time msecs.
- public void pause ()
Pauses the Timeline on current frame
- public void remove_marker (string marker_name)
Removes marker_name, if found, from timeline.
- public void rewind ()
Rewinds Timeline to the first frame if its
direction is FORWARD and the last frame if it is
BACKWARD.
- public void set_auto_reverse (bool reverse)
Sets whether timeline should reverse the direction after the
emission of the completed signal.
- public void set_cubic_bezier_progress (Point c_1, Point c_2)
- public void set_delay (uint msecs)
Sets the delay, in milliseconds, before timeline should
start.
- public void set_direction (TimelineDirection direction)
- public void set_duration (uint msecs)
Sets the duration of the timeline, in milliseconds.
- public void set_loop (bool loop)
Sets whether timeline should loop.
- public void set_progress_func (owned TimelineProgressFunc? func)
Sets a custom progress function for timeline.
- public void set_progress_mode (AnimationMode mode)
Sets the progress function using a value from the
AnimationMode enumeration.
- public void set_repeat_count (int count)
Sets the number of times the timeline should repeat.
- public void set_step_progress (int n_steps, StepMode step_mode)
Sets the
progress_mode of the timeline to
STEPS and provides the parameters of the step function.
- public void skip (uint msecs)
Advance timeline by the requested time in milliseconds
- public void start ()
Starts the Timeline playing.
- public void stop ()
Stops the Timeline and moves to frame 0