GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GTK2::IMAGEVIEW::ANIM (3)

.ds Aq ’

NAME

Gtk2::ImageView::Anim - Subclass of Gtk2::ImageView capable of playing

CONTENTS

DESCRIPTION

Gtk2::ImageView::Anim is a subclass of Gtk2::ImageView that provies facilities for displaying and controlling an animation.

HIERARCHY



  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::ImageView
                      +----Gtk2::ImageView::Anim



INTERFACES



  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable



METHODS

widget or undef = Gtk2::ImageView::Anim->new

Returns a new Gtk2::ImageView::Anim with the following default values:
anim : NULL
is_playing : FALSE

pixbufanimation or undef = CW$aview->get_anim

Returns the current animation of the view.

CW$aview->set_anim ($anim)

o $anim (Gtk2::Gdk::PixbufAnimation)
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.
aview : a Gtk2::ImageView::Anim.
anim : A pixbuf animation to play.

boolean = CW$aview->get_is_playing

Returns TRUE if the animation is playing, FALSE otherwise. If there is no current animation, this method will always return FALSE.

CW$aview->set_is_playing ($playing)

o $playing (boolean)
Sets whether the animation should play or not. If there is no current animation this method does not have any effect.
aview : a Gtk2::ImageView::Anim.
playing : TRUE to play the animation, FALSE otherwise

CW$aview->step

Steps 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?
aview : a Gtk2::ImageView::Anim.

SIGNALS

<B>toggle-runningB> (Gtk2::ImageView::Anim)
<B>stepB> (Gtk2::ImageView::Anim)

SEE ALSO

Gtk2::ImageView, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::ImageView

COPYRIGHT

Copyright (C) 2007 by Jeffrey Ratcliffe.

This software is licensed under the GPL-3; see Gtk2::ImageView for a full notice.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GTK2::IMAGEVIEW::ANIM (3) 2016-04-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.