GObject.Object
Clutter.Score
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterScore |
Class : | Score |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
loop : Boolean
Whether the ClutterScore should restart once finished.
Whether the ClutterScore should restart once finished.
|
Clutter.Score | |
parent : GObject.Object
read only
|
Clutter.Score | |
priv : Clutter.ScorePrivate
read only
|
Clutter.Score |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.Score
(Object properties)
Create a new Clutter.Score
Create a new Clutter.Score
|
||
Appends a timeline to another one existing in the score; the newly appended timeline will be started when parent is complete.
Appends a timeline to another one existing in the score; the newly appended timeline will be started when parent is complete. If parent is NULL, the new ClutterTimeline will be started when clutter_score_start() is called. ClutterScore will take a reference on timeline.
|
Clutter.Score | |
Appends timeline at the given marker_name on the parent ClutterTimeline.
Appends timeline at the given marker_name on the parent ClutterTimeline. If you want to append timeline at the end of parent, use clutter_score_append(). The ClutterScore will take a reference on timeline.
|
Clutter.Score | |
get_loop
()
:
Boolean
Gets whether score is looping
Gets whether score is looping
|
Clutter.Score | |
get_timeline
(Number id)
:
Clutter.Timeline
Retrieves the ClutterTimeline for id inside score.
Retrieves the ClutterTimeline for id inside score.
|
Clutter.Score | |
is_playing
()
:
Boolean
Query state of a ClutterScore instance.
Query state of a ClutterScore instance.
|
Clutter.Score | |
list_timelines
()
:
Array
Retrieves a list of all the ClutterTimelines managed by score.
Retrieves a list of all the ClutterTimelines managed by score.
|
Clutter.Score | |
pause
()
:
none
Pauses a playing score score.
Pauses a playing score score.
|
Clutter.Score | |
remove
(Number id)
:
none
Removes the ClutterTimeline with the given id inside score.
Removes the ClutterTimeline with the given id inside score. If the timeline has other timelines attached to it, those are removed as well.
|
Clutter.Score | |
remove_all
()
:
none
Removes all the timelines inside score.
Removes all the timelines inside score.
|
Clutter.Score | |
rewind
()
:
none
Rewinds a ClutterScore to its initial state.
Rewinds a ClutterScore to its initial state.
|
Clutter.Score | |
set_loop
(Boolean loop)
:
none
Sets whether score should loop.
Sets whether score should loop. A looping ClutterScore will start from its initial state after the ::complete signal has been fired.
|
Clutter.Score | |
start
()
:
none
Starts the score.
Starts the score.
|
Clutter.Score | |
stop
()
:
none
Stops and rewinds a playing ClutterScore instance.
Stops and rewinds a playing ClutterScore instance.
|
Clutter.Score |
Event | Defined By | |
---|---|---|
completed (Score self)
:
none
The ::completed signal is emitted each time a ClutterScore terminates.
The ::completed signal is emitted each time a ClutterScore terminates.
|
Clutter.Score | |
paused (Score self)
:
none
The ::paused signal is emitted each time a ClutterScore is paused.
The ::paused signal is emitted each time a ClutterScore is paused.
|
Clutter.Score | |
started (Score self)
:
none
The ::started signal is emitted each time a ClutterScore starts playing.
The ::started signal is emitted each time a ClutterScore starts playing.
|
Clutter.Score | |
The ::timeline-completed signal is emitted each time a timeline inside a ClutterScore terminates.
The ::timeline-completed signal is emitted each time a timeline inside a ClutterScore terminates.
|
Clutter.Score | |
The ::timeline-started signal is emitted each time a new timeline inside a ClutterScore starts playing.
The ::timeline-started signal is emitted each time a new timeline inside a ClutterScore starts playing.
|
Clutter.Score |