Clutter::Timeline(3pm)
NAME
Clutter::Timeline - A class for time-based events
HIERARCHY
Glib::Object
+----Clutter::Timeline
METHODS
- timeline = Clutter::Timeline->new ($duration)
- o $duration (integer)
- $timeline->add_marker_at_time ($marker_name, $msecs)
- o $marker_name (string)
- o $msecs (integer)
- $timeline->advance ($n_msecs)
- o $n_msecs (integer)
- $timeline->advance_to_marker ($marker_name)
- o $marker_name (string)
- timeline = Clutter::Timeline->clone ($timeline)
- o $timeline (Clutter::Timeline)
- integer = $timeline->get_delay $timeline->set_delay ($msecs)
- o $msecs (integer)
- integer = $timeline->get_delta timelinedirection = $timeline->get_direction $timeline->set_direction ($direction)
- o $direction (Clutter::TimelineDirection)
- integer = $timeline->get_duration $timeline->set_duration ($msecs)
- o $msecs (integer)
- boolean = $timeline->has_marker ($marker_name)
- o $marker_name (string)
- boolean = $timeline->is_playing markers = $timeline->list_markers ($msecs)
- o $msecs (integer)
- Retrieves all the markers at msecs. If msecs is omitted or is a negative number, all the markers of timeline are returned
- boolean = $timeline->get_loop $timeline->set_loop ($loop)
- o $loop (boolean)
- $timeline->pause
double = $timeline->get_progress $timeline->remove_marker ($marker_name) - o $marker_name (string)
- $timeline->rewind
$timeline->skip ($n_msecs) - o $n_msecs (integer)
- $timeline->start
$timeline->stop
PROPERTIES
- 'delay' (Glib::UInt : readable / writable / private)
- Delay before start
- 'direction' (Clutter::TimelineDirection : readable / writable /
private) - Direction of the timeline
- 'duration' (Glib::UInt : readable / writable / private)
- Duration of the timeline in milliseconds
- 'loop' (boolean : readable / writable / private)
- Should the timeline automatically restart
SIGNALS
new-frame (Clutter::Timeline, integer)
completed (Clutter::Timeline)
started (Clutter::Timeline)
paused (Clutter::Timeline)
marker-reached (Clutter::Timeline, string, integer)
ENUMS AND FLAGS
- enum Clutter::TimelineDirection
- o 'forward' / 'CLUTTER_TIMELINE_FORWARD'
- o 'backward' / 'CLUTTER_TIMELINE_BACKWARD'
SEE ALSO
Clutter, Glib::Object
COPYRIGHT
Copyright (C) 2006, 2007, 2008 OpenedHand Ltd
Copyright (C) 2009 Intel Corporation
This module is free software; you can redistribute it and/or modify it
under the terms of either:
o the GNU Lesser General Public Library version 2.1; or
o the Artistic License, version 2.0.
- See Clutter for the full copyright notice.