Emmanuele Bassi > Clutter-0.820 > xs/ClutterMedia.xs

Download:
Clutter-0.820.tar.gz

Annotate this POD

CPAN RT

New  3
Open  2
View/Report Bugs
Source   Latest Release: Clutter-1.002

DESCRIPTION ^

FIXME

CREATING A CUSTOM MEDIA OBJECT ^

  package MyMedia;
  use Clutter;
  use Glib::Object::Subclass
      'Glib::Object',
      interfaces => [ qw( Clutter::Media ) ],
      ;

VIRTUAL METHODS

In order to create a Clutter::Media object, an implementation of the following methods is required:

SET_URI ($media, $uri)
uri = GET_URI ($media)
SET_PLAYING ($media, $is_playing)
is_playing = GET_PLAYING ($media)
SET_POSITION ($media, $position)
position = GET_POSITION ($media)
SET_VOLUME ($media, $volume)
volume = GET_VOLUME ($media)
boolean = CAN_SEEK ($media)
double = GET_BUFFER_PERCENT ($media)
duration = GET_DURATION ($media)
syntax highlighting: