Score
Object Hierarchy:
Description:
[ CCode ( type_id = "clutter_score_get_type ()" ) ]
[ Version ( since = "0.6" ) ]
public class Score : Object
[ Version ( since = "0.6" ) ]
public class Score : Object
The Score structure contains only private data and should be accessed using the provided API
Namespace: Clutter
Package: clutter-1.0
Content:
Properties:
Creation methods:
- public Score ()
Creates a new Score.
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 givenmarker_name
on theparent
Timeline. - public bool get_loop ()
Gets whether this is looping
- public unowned Timeline get_timeline (ulong id_)
Retrieves the Timeline for
id_
inside this. - public bool is_playing ()
Query state of a Score instance.
- public SList<unowned Timeline> list_timelines ()
Retrieves a list of all the Timelines managed by this.
- public void pause ()
Pauses a playing score this.
- public void remove (ulong id_)
Removes the Timeline with the given id inside this.
- public void remove_all ()
Removes all the timelines inside this.
- public void rewind ()
Rewinds a Score to its initial state.
- public void set_loop (bool loop)
Sets whether this should loop.
- public void start ()
Starts the score.
- public void stop ()
Stops and rewinds a playing Score instance.
Signals:
- public virtual signal void completed ()
The completed signal is emitted each time a Score terminates.
- public virtual signal void paused ()
The paused signal is emitted each time a Score is paused.
- public virtual signal void started ()
The started signal is emitted each time a Score starts playing.
- public virtual signal void timeline_completed (Timeline timeline)
The timeline_completed signal is emitted each time a timeline inside a Score terminates.
- public virtual signal void timeline_started (Timeline timeline)
The timeline_started signal is emitted each time a new timeline inside a Score starts playing.
Inherited Members:
All known members inherited from class GLib.Object