GObject.Object
Clutter.Timeline
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterTimeline |
Class : | Timeline |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
delay : Number
A delay, in milliseconds, that should be observed by the timeline before actually starting.
A delay, in milliseconds, that should be observed by the timeline before actually starting.
|
Clutter.Timeline | |
direction : Clutter.TimelineDirection
The direction of the timeline, either CLUTTER_TIMELINE_FORWARD or CLUTTER_TIMELINE_BACKWARD.
The direction of the timeline, either CLUTTER_TIMELINE_FORWARD or CLUTTER_TIMELINE_BACKWARD.
|
Clutter.Timeline | |
duration : Number
Duration of the timeline in milliseconds, depending on the ClutterTimeline:fps value.
Duration of the timeline in milliseconds, depending on the ClutterTimeline:fps value.
|
Clutter.Timeline | |
loop : Boolean
Whether the timeline should automatically rewind and restart.
Whether the timeline should automatically rewind and restart.
|
Clutter.Timeline | |
parent : GObject.Object
read only
|
Clutter.Timeline | |
priv : Clutter.TimelinePrivate
read only
|
Clutter.Timeline |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.Timeline
(Object properties)
Create a new Clutter.Timeline
Create a new Clutter.Timeline
|
||
Create a new Clutter.Timeline
Create a new Clutter.Timeline
|
||
Adds a named marker that will be hit when the timeline has been running for msecs milliseconds.
Adds a named marker that will be hit when the timeline has been running for msecs milliseconds. Markers are unique string identifiers for a given time. Once timeline reaches attached to that time. A marker can be removed with clutter_timeline_remove_marker(). The timeline can be advanced to a marker using clutter_timeline_advance_to_marker().
|
Clutter.Timeline | |
advance
(Number msecs)
:
none
Advance timeline to the requested point.
Advance timeline to the requested point. The point is given as a time in milliseconds since the timeline started.
|
Clutter.Timeline | |
advance_to_marker
(String marker_name)
:
none
Advances timeline to the time of the given marker_name.
Advances timeline to the time of the given marker_name.
|
Clutter.Timeline | |
clone
()
:
Clutter.Timeline
Create a new ClutterTimeline instance which has property values matching that of supplied timeline.
Create a new ClutterTimeline instance which has property values matching that of supplied timeline. The cloned timeline will not be started and will not be positioned to the current position of
|
Clutter.Timeline | |
do_tick
(TimeVal tick_time)
:
none
|
Clutter.Timeline | |
get_delay
()
:
Number
Retrieves the delay set using clutter_timeline_set_delay().
Retrieves the delay set using clutter_timeline_set_delay().
|
Clutter.Timeline | |
get_delta
()
:
Number
Retrieves the amount of time elapsed since the last ClutterTimeline::new-frame signal.
Retrieves the amount of time elapsed since the last ClutterTimeline::new-frame signal. This function is only useful inside handlers for the ::new-frame signal, and its behaviour is undefined if the timeline is not playing. last frame
|
Clutter.Timeline | |
get_direction
()
:
Clutter.TimelineDirection
Retrieves the direction of the timeline set with clutter_timeline_set_direction().
Retrieves the direction of the timeline set with clutter_timeline_set_direction().
|
Clutter.Timeline | |
get_duration
()
:
Number
Retrieves the duration of a ClutterTimeline in milliseconds.
Retrieves the duration of a ClutterTimeline in milliseconds. See clutter_timeline_set_duration().
|
Clutter.Timeline | |
get_elapsed_time
()
:
Number
Request the current time position of the timeline.
Request the current time position of the timeline.
|
Clutter.Timeline | |
get_loop
()
:
Boolean
Gets whether timeline is looping
Gets whether timeline is looping
|
Clutter.Timeline | |
get_progress
()
:
Number
The position of the timeline in a [0, 1] interval.
The position of the timeline in a [0, 1] interval.
|
Clutter.Timeline | |
Clutter.Timeline | ||
is_playing
()
:
Boolean
Queries state of a ClutterTimeline.
Queries state of a ClutterTimeline.
|
Clutter.Timeline | |
Retrieves the list of markers at time msecs.
Retrieves the list of markers at time msecs. If frame_num is a negative integer, all the markers attached to timeline will be returned.
|
Clutter.Timeline | |
pause
()
:
none
Pauses the ClutterTimeline on current frame
Pauses the ClutterTimeline on current frame
|
Clutter.Timeline | |
remove_marker
(String marker_name)
:
none
Removes marker_name, if found, from timeline.
Removes marker_name, if found, from timeline.
|
Clutter.Timeline | |
rewind
()
:
none
Rewinds ClutterTimeline to the first frame if its direction is CLUTTER_TIMELINE_FORWARD and the last frame if it is CLUTTER_TIMELINE_BACKWARD.
Rewinds ClutterTimeline to the first frame if its direction is CLUTTER_TIMELINE_FORWARD and the last frame if it is CLUTTER_TIMELINE_BACKWARD.
|
Clutter.Timeline | |
set_delay
(Number msecs)
:
none
Sets the delay, in milliseconds, before timeline should start.
Sets the delay, in milliseconds, before timeline should start.
|
Clutter.Timeline | |
set_direction
(TimelineDirection direction)
:
none
Sets the direction of timeline, either CLUTTER_TIMELINE_FORWARD or CLUTTER_TIMELINE_BACKWARD.
Sets the direction of timeline, either CLUTTER_TIMELINE_FORWARD or CLUTTER_TIMELINE_BACKWARD.
|
Clutter.Timeline | |
set_duration
(Number msecs)
:
none
Sets the duration of the timeline, in milliseconds.
Sets the duration of the timeline, in milliseconds. The speed of the timeline depends on the ClutterTimeline:fps setting.
|
Clutter.Timeline | |
set_loop
(Boolean loop)
:
none
Sets whether timeline should loop.
Sets whether timeline should loop.
|
Clutter.Timeline | |
skip
(Number msecs)
:
none
Advance timeline by the requested time in milliseconds
Advance timeline by the requested time in milliseconds
|
Clutter.Timeline | |
start
()
:
none
Starts the ClutterTimeline playing.
Starts the ClutterTimeline playing.
|
Clutter.Timeline | |
stop
()
:
none
Stops the ClutterTimeline and moves to frame 0
Stops the ClutterTimeline and moves to frame 0
|
Clutter.Timeline |
Event | Defined By | |
---|---|---|
completed (Timeline self)
:
none
The ::completed signal is emitted when the timeline reaches the number of frames specified by the ClutterTimeline:num-frames property.
The ::completed signal is emitted when the timeline reaches the number of frames specified by the ClutterTimeline:num-frames property.
|
Clutter.Timeline | |
The ::marker-reached signal is emitted each time a timeline reaches a marker set with clutter_timeline_add_marker_at_time().
The ::marker-reached signal is emitted each time a timeline reaches a marker set with clutter_timeline_add_marker_at_time(). This signal is detailed with the name of the marker as well, so it is possible to connect a callback to the ::marker-reached signal for a specific marker with:
|
Clutter.Timeline | |
The ::new-frame signal is emitted for each timeline running timeline before a new frame is drawn to give animations a chance to update the scene.
The ::new-frame signal is emitted for each timeline running timeline before a new frame is drawn to give animations a chance to update the scene.
|
Clutter.Timeline | |
paused (Timeline self)
:
none
The ::paused signal is emitted when clutter_timeline_pause() is invoked.
The ::paused signal is emitted when clutter_timeline_pause() is invoked.
|
Clutter.Timeline | |
started (Timeline self)
:
none
The ::started signal is emitted when the timeline starts its run.
The ::started signal is emitted when the timeline starts its run. This might be as soon as clutter_timeline_start() is invoked or after the delay set in the ClutterTimeline:delay property has expired.
|
Clutter.Timeline |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter.Actor
Method |
animate_with_timelinev
(Number mode, Timeline timeline, Number n_properties, Array properties, Array values)
:
Clutter.Animation
Animates the given list of properties of actor between the current value for each property and a new final value.
|
Clutter.Alpha
Property |
timeline : Clutter.Timeline
A ClutterTimeline instance used to drive the alpha function.
|
Clutter.Alpha
Method |
Create a new Clutter.Alpha
|
Clutter.Alpha
Method |
new Clutter.Alpha.with_func
(Timeline timeline, Function func, void* data, Function destroy)
:
Clutter.Alpha
Create a new Clutter.Alpha
|
Clutter.Alpha
Method |
set_timeline
(Timeline timeline)
:
none
Binds alpha to timeline.
|
Clutter.Alpha
Method |
get_timeline
()
:
Clutter.Timeline
Gets the ClutterTimeline bound to alpha.
|
Clutter.Animation
Property |
timeline : Clutter.Timeline
The ClutterTimeline used by the animation.
|
Clutter.Animation
Method |
set_timeline
(Timeline timeline)
:
none
Sets the ClutterTimeline used by animation.
|
Clutter.Animation
Method |
get_timeline
()
:
Clutter.Timeline
Retrieves the ClutterTimeline used by animation
|
Clutter.Animator
Property |
timeline : Clutter.Timeline
The ClutterTimeline used by the ClutterAnimator to drive the animation
|
Clutter.Animator
Method |
start
()
:
Clutter.Timeline
Start the ClutterAnimator, this is a thin wrapper that rewinds and starts the animators current timeline.
|
Clutter.Animator
Method |
get_timeline
()
:
Clutter.Timeline
Get the timeline hooked up for driving the ClutterAnimator
|
Clutter.Animator
Method |
set_timeline
(Timeline timeline)
:
none
Sets an external timeline that will be used for driving the animation
|
Clutter.Score
Signal |
The ::timeline-completed signal is emitted each time a timeline inside a ClutterScore terminates.
|
Clutter.Score
Signal |
The ::timeline-started signal is emitted each time a new timeline inside a ClutterScore starts playing.
|
Clutter.Score
Method |
Appends a timeline to another one existing in the score; the newly appended timeline will be started when parent is complete.
|
Clutter.Score
Method |
Appends timeline at the given marker_name on the parent ClutterTimeline.
|
Clutter.Score
Method |
get_timeline
(Number id)
:
Clutter.Timeline
Retrieves the ClutterTimeline for id inside score.
|