Class: Clutter::Score
- Inherits:
-
Object
- Object
- Clutter::Score
- Defined in:
- (unknown)
Overview
The Clutter::ScoreClass structure contains only private data
Instance Method Summary collapse
-
#append(parent, timeline) ⇒ Clutter::gulong
Appends a timeline to another one existing in the score; the newly appended timeline will be started when parent is complete.
-
#append_at_marker(parent, marker_name, timeline) ⇒ Clutter::gulong
Appends timeline at the given marker_name on the parent Clutter::Timeline.
-
#get_timeline(id_) ⇒ Clutter::Timeline
Retrieves the Clutter::Timeline for id_ inside score.
-
#initialize ⇒ Clutter::Score
constructor
Creates a new Clutter::Score.
-
#is_playing ⇒ Boolean
Query state of a Clutter::Score instance.
-
#list_timelines ⇒ GLib::SList<Clutter::Timeline>
Retrieves a list of all the Clutter::Timelines managed by score.
-
#loop ⇒ Boolean
Gets whether score is looping.
-
#loop=(loop) ⇒ Boolean
Whether the Clutter::Score should restart once finished.
-
#loop? ⇒ Boolean
Whether the Clutter::Score should restart once finished.
-
#pause ⇒ nil
Pauses a playing score score.
-
#remove(id_) ⇒ nil
Removes the Clutter::Timeline with the given id inside score.
-
#remove_all ⇒ nil
Removes all the timelines inside score.
-
#rewind ⇒ nil
Rewinds a Clutter::Score to its initial state.
-
#start ⇒ nil
Starts the score.
-
#stop ⇒ nil
Stops and rewinds a playing Clutter::Score instance.
Constructor Details
#initialize ⇒ Clutter::Score
Creates a new Clutter::Score. A #ClutterScore is an object that can hold multiple Clutter::Timelines in a sequential order.
Instance Method Details
#append(parent, timeline) ⇒ Clutter::gulong
Appends a timeline to another one existing in the score; the newly appended timeline will be started when parent is complete.
If parent is nil, the new Clutter::Timeline will be started when clutter_score_start() is called.
Clutter::Score will take a reference on timeline.
#append_at_marker(parent, marker_name, timeline) ⇒ Clutter::gulong
Appends timeline at the given marker_name on the parent Clutter::Timeline.
If you want to append timeline at the end of parent, use clutter_score_append().
The Clutter::Score will take a reference on timeline.
#get_timeline(id_) ⇒ Clutter::Timeline
Retrieves the Clutter::Timeline for id_ inside score.
#is_playing ⇒ Boolean
Query state of a Clutter::Score instance.
#list_timelines ⇒ GLib::SList<Clutter::Timeline>
Retrieves a list of all the Clutter::Timelines managed by score.
#loop ⇒ Boolean
Gets whether score is looping
#loop=(loop) ⇒ Boolean
Whether the Clutter::Score should restart once finished.
#loop? ⇒ Boolean
Whether the Clutter::Score should restart once finished.
#pause ⇒ nil
Pauses a playing score score.
#remove(id_) ⇒ nil
Removes the Clutter::Timeline with the given id inside score. If the timeline has other timelines attached to it, those are removed as well.
#remove_all ⇒ nil
Removes all the timelines inside score.
#rewind ⇒ nil
Rewinds a Clutter::Score to its initial state.
#start ⇒ nil
Starts the score.
#stop ⇒ nil
Stops and rewinds a playing Clutter::Score instance.