Class
GdkPixbufPixbufAnimationIter
Description [src]
class GdkPixbuf.PixbufAnimationIter : GObject.Object
{
/* No available fields */
}
An opaque object representing an iterator which points to a certain position in an animation.
Instance methods
gdk_pixbuf_animation_iter_get_delay_time
Gets the number of milliseconds the current pixbuf should be displayed, or -1 if the current pixbuf should be displayed forever.
gdk_pixbuf_animation_iter_on_currently_loading_frame
Used to determine how to respond to the area_updated signal on
GdkPixbufLoader
when loading an animation.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct GdkPixbufPixbufAnimationIterClass {
GObjectClass parent_class;
int (* get_delay_time) (
GdkPixbufAnimationIter* iter
);
GdkPixbuf* (* get_pixbuf) (
GdkPixbufAnimationIter* iter
);
gboolean (* on_currently_loading_frame) (
GdkPixbufAnimationIter* iter
);
gboolean (* advance) (
GdkPixbufAnimationIter* iter,
const GTimeVal* current_time
);
}
Modules supporting animations must derive a type from
GdkPixbufAnimationIter
, providing suitable implementations of the
virtual functions.
Class members
parent_class: GObjectClass
The parent class.
get_delay_time: int (* get_delay_time) ( GdkPixbufAnimationIter* iter )
Returns the time in milliseconds that the current frame should be shown.
get_pixbuf: GdkPixbuf* (* get_pixbuf) ( GdkPixbufAnimationIter* iter )
Returns the current frame.
on_currently_loading_frame: gboolean (* on_currently_loading_frame) ( GdkPixbufAnimationIter* iter )
Returns whether the current frame of
iter
is being loaded.advance: gboolean (* advance) ( GdkPixbufAnimationIter* iter, const GTimeVal* current_time )
Advances the iterator to
current_time
, possibly changing the current frame.
Virtual methods
GdkPixbuf.PixbufAnimationIterClass.get_delay_time
Gets the number of milliseconds the current pixbuf should be displayed, or -1 if the current pixbuf should be displayed forever.
GdkPixbuf.PixbufAnimationIterClass.on_currently_loading_frame
Used to determine how to respond to the area_updated signal on
GdkPixbufLoader
when loading an animation.