| Trees | Indices | Help |
|
|---|
|
|
PicturePlayer is the main interface to slideshow handling. It is responsible
for registration, creation and switching of slideshows. It acts as a stable
proxy to the currently selected slideshow forwarding user requests to it.
Emit the signals:
- current-picture-changed: when the current picture displayed/in focus is
changed; at that point the actual picture file
starts being loaded
params: L{elisa.plugins.base.models.image.ImageModel} of the picture
C{int} index of the picture in the playlist
- current-picture-loaded: when the current picture is finally loaded
params: L{elisa.plugins.pigment.animation.implicit.AnimatedObject} wrapping the image
drawable containing the loaded picture
- status-changed: when L{status} changes
params: one of [Slideshow.STOPPED, Slideshow.PLAYING]
- playlist-size-changed: when the size of the playlist changes
params: size of the playlist
- available-slideshows-changed: when a slideshow has been added or removed
from the list of available slideshows
params: the list of available slideshows
- slideshow-changed: when the currently selected slideshow has changed
params: the newly selected slideshow type
- current-picture-rotated: when the currently displayed/in focus picture
has been rotated
params: final orientation of the picture; rotation constant from
L{elisa.plugins.base.models.image}
@ivar status: whether the current slideshow was started or not
@type status: one of [Slideshow.STOPPED, Slideshow.PLAYING]
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
int
|
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
| elisa.plugins.base.models.image.ImageModel |
|
||
|
|||
|
|||
| a class inheriting from elisa.plugins.poblesec.slideshow.transition_slideshow.Slideshow |
|
||
| a list of classes inheriting from elisa.plugins.poblesec.slideshow.transition_slideshow.Slideshow |
|
||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Class Variables | |
PLAYING = 1
|
|
STOPPED = 0
|
|
__gsignals__ = {'current-picture-changed':(gobject.SIGNAL_RUN_
|
|
status = property(fget= _get_status)
|
|
|
Inherited from |
|
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Set the list of pictures to display during the slideshow and display one of them immediately, by default the first one.
|
Set the time during which a picture should be displayed/in focus for the user.
|
Start the currently selected automated slideshow.
|
Visually rotate the current picture.
|
Switch the currently selected slideshow for another one.
|
Register a slideshow in the list of available slideshows.
|
Make _playlist a public read-only property. This is needed for consistency with other Players APIs (audio/video).
|
| Class Variable Details |
__gsignals__
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Dec 1 10:55:25 2009 | http://epydoc.sourceforge.net |