Score
Object Hierarchy:
Description:
[ CCode ( type_id = "clutter_score_get_type ()" ) ]
[ Version ( since = "0.6" ) ]
public class Score : Object
The Score structure contains only private data and should be accessed using the provided API
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 given marker_name
on
the parent
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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref