|
NAMEGtk2::ImageView::Anim - Subclass of Gtk2::ImageView capable of playingDESCRIPTIONGtk2::ImageView::Anim is a subclass of Gtk2::ImageView that provies facilities for displaying and controlling an animation.HIERARCHYGlib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::ImageView +----Gtk2::ImageView::Anim INTERFACESGlib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODSwidget or undef = Gtk2::ImageView::Anim->newReturns a new Gtk2::ImageView::Anim with the following default values:
pixbufanimation or undef = $aview->get_animReturns the current animation of the view.$aview->set_anim ($anim)
Sets the pixbuf animation to play, or NULL to not play any animation. The effect of this method is analoguous to Gtk2::ImageView::set_pixbuf(). Fit mode is reset to GTK_FIT_SIZE_IF_LARGER so that the whole area of the animation fits in the view. Three signals are emitted, first the Gtk2::ImageView will emit zoom-changed and then pixbuf-changed, second, Gtk2::ImageView::Anim itself will emit anim-changed. The default pixbuf animation is NULL.
boolean = $aview->get_is_playingReturns TRUE if the animation is playing, FALSE otherwise. If there is no current animation, this method will always return FALSE.$aview->set_is_playing ($playing)
Sets whether the animation should play or not. If there is no current animation this method does not have any effect.
$aview->stepSteps the animation one frame forward. If the animation is playing it will be stopped. Will it wrap around if the animation is at its last frame?
SIGNALS
SEE ALSOGtk2::ImageView, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::ImageViewCOPYRIGHTCopyright (C) 2007 by Jeffrey Ratcliffe.This software is licensed under the GPL-3; see Gtk2::ImageView for a full notice.
Visit the GSP FreeBSD Man Page Interface. |