Clutter::Timeline(3pm)

Clutter::Timeline3pm

A class for time-based events

Hierarchy

  Glib::Object
  +----Clutter::Timeline

Methods

timeline = Clutter::Timeline->new ($duration)

•

$duration (integer)

$timeline->add_marker_at_time ($marker_name, $msecs)

•

$marker_name (string)

•

$msecs (integer)

$timeline->advance ($n_msecs)

•

$n_msecs (integer)

$timeline->advance_to_marker ($marker_name)

•

$marker_name (string)

timeline = Clutter::Timeline->clone ($timeline)

•

$timeline (Clutter::Timeline)

integer = $timeline->get_delay

$timeline->set_delay ($msecs)

•

$msecs (integer)

integer = $timeline->get_delta

timelinedirection = $timeline->get_direction

$timeline->set_direction ($direction)

•

$direction (Clutter::TimelineDirection)

integer = $timeline->get_duration

$timeline->set_duration ($msecs)

•

$msecs (integer)

boolean = $timeline->has_marker ($marker_name)

•

$marker_name (string)

boolean = $timeline->is_playing

markers = $timeline->list_markers ($msecs)

•

$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)

•

$loop (boolean)

$timeline->pause

double = $timeline->get_progress

$timeline->remove_marker ($marker_name)

•

$marker_name (string)

$timeline->rewind

$timeline->skip ($n_msecs)

•

$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

•

'forward' / 'CLUTTER_TIMELINE_FORWARD'

•

'backward' / 'CLUTTER_TIMELINE_BACKWARD'

Releases

2 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0

From libclutter-perl 1.002-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.