Score
Object Hierarchy:
Description:
public class Score :
Object
The Score structure contains only private data
Namespace: Clutter
Package: clutter-1.0
Content:
Properties:
-
public bool loop { set; get; }
Whether the Score should restart once finished.
Creation methods:
Methods:
-
public ulong append (Timeline? parent, Timeline timeline)
Appends a timeline to another one existing in the score; the newly appended timeline will be started
when parent is complete.
-
public ulong append_at_marker (Timeline parent, string marker_name, Timeline timeline)
Appends timeline at the given marker_name on the parent
Timeline.
-
public bool get_loop ()
Gets whether score is looping
-
public weak Timeline get_timeline (ulong id_)
Retrieves the Timeline for id_ inside
score.
-
public bool is_playing ()
Query state of a Score instance.
-
public SList<weak Timeline> list_timelines ()
Retrieves a list of all the ClutterTimelines managed by score.
-
public void pause ()
Pauses a playing score score.
-
public void remove (ulong id_)
Removes the Timeline with the given id inside
score. If the timeline has other timelines attached to it, those are removed as well.
-
public void remove_all ()
Removes all the timelines inside score.
-
public void rewind ()
Rewinds a Score to its initial state.
-
public void set_loop (bool loop)
Sets whether score should loop. A looping Score
will start from its initial state after the ::complete signal has been fired.
-
public void start ()
Starts the score.
-
public void stop ()
Stops and rewinds a playing Score instance.
Signals: