Description Methods and Functions Hierarchy Detailed Description Structures Convenient Construction Properties Author(s) References See Also
Animated images.
gdkPixbufAnimationGetWidth(object)
gdkPixbufAnimationGetHeight(object)
gdkPixbufAnimationGetIter(object, start.time)
gdkPixbufAnimationIsStaticImage(object)
gdkPixbufAnimationGetStaticImage(object)
gdkPixbufAnimationIterAdvance(object, current.time)
gdkPixbufAnimationIterGetDelayTime(object)
gdkPixbufAnimationIterOnCurrentlyLoadingFrame(object)
gdkPixbufAnimationIterGetPixbuf(object)
gdkPixbufSimpleAnimNew(width, height, rate)
gdkPixbufSimpleAnimAddFrame(object, pixbuf)
gdkPixbufSimpleAnimSetLoop(object, loop)
gdkPixbufSimpleAnimGetLoop(object)
gdkPixbufAnimation(filename, .errwarn = TRUE)
gdkPixbufSimpleAnim(width, height, rate)
1 2 3 4 5 6 7 8 | GObject
+----GdkPixbufAnimation
+----GdkPixbufSimpleAnim
GObject
+----GdkPixbufAnimationIter
GObject
+----GdkPixbufAnimation
+----GdkPixbufSimpleAnim
|
The gdk-pixbuf
library provides a simple mechanism to load and represent
animations. An animation is conceptually a series of frames to be displayed
over time. Each frame is the same size. The animation may not be represented
as a series of frames internally; for example, it may be stored as a
sprite and instructions for moving the sprite around a background. To display
an animation you don't need to understand its representation, however; you just
ask gdk-pixbuf
what should be displayed at a given point in time.
GdkPixbufAnimation
An opaque struct representing an animation.
GdkPixbufAnimationIter
An opaque struct representing an iterator which points to a certain position in an animation.
GdkPixbufSimpleAnim
An opaque struct representing a simple animation.
gdkPixbufAnimation
is the equivalent of gdkPixbufAnimationNewFromFile
.
gdkPixbufSimpleAnim
is the equivalent of gdkPixbufSimpleAnimNew
.
loop
[logical : Read / Write]Whether the animation should loop when it reaches the end. Default value: FALSE Since 2.18
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gdk-pixbuf/stable/gdk-pixbuf-Animations.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.