gdk_pixbuf2 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/gdk_pixbuf2/rbgdk-pixbuf-format.c +49 -40
- data/ext/gdk_pixbuf2/rbgdk-pixbuf-loader.c +50 -40
- data/ext/gdk_pixbuf2/rbgdk-pixbuf.c +250 -168
- data/ext/gdk_pixbuf2/rbgdk-pixbuf.h +25 -18
- data/ext/gdk_pixbuf2/rbgdk-pixbuf2conversions.h +42 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf2private.h +35 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbufanimation.c +46 -83
- data/ext/gdk_pixbuf2/rbgdk-pixbufanimationiter.c +71 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbufsimpleanim.c +29 -17
- data/ext/gdk_pixbuf2/rbgdk-pixdata.c +81 -77
- data/lib/1.8/gdk_pixbuf2.so +0 -0
- data/lib/1.9/gdk_pixbuf2.so +0 -0
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
- data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +40 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +200 -5
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +82 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +170 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +6 -1
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +5 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +42 -1
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +2 -2
- data/vendor/local/lib/gdk_pixbuf-2.0.lib +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +4 -2
- data/vendor/local/manifest/{gdk-pixbuf-dev_2.22.1-1_win32.mft → gdk-pixbuf-dev_2.24.0-1_win32.mft} +12 -13
- data/vendor/local/manifest/{gdk-pixbuf_2.22.1-1_win32.mft → gdk-pixbuf_2.24.0-1_win32.mft} +2 -1
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +181 -150
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +30 -9
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +35 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +13 -9
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +251 -629
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +644 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +372 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +642 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +417 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +495 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +485 -184
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +168 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/{gdk-pixbuf-scaling.html → gdk-pixbuf-Scaling.html} +296 -190
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +617 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/{gdk-pixbuf-util.html → gdk-pixbuf-Utilities.html} +83 -93
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +63 -26
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +16 -16
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +12 -12
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +149 -128
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +184 -154
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +2 -1
- data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +2 -2
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +2 -2
- data/vendor/local/src/dieterv/packaging/gdk-pixbuf_2.24.0-1_win32.log +956 -0
- data/vendor/local/src/dieterv/packaging/gdk-pixbuf_2.24.0-1_win32.sh +97 -0
- metadata +26 -24
- data/ChangeLog +0 -482
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-animation.html +0 -654
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-creating.html +0 -406
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-file-loading.html +0 -402
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-file-saving.html +0 -685
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html +0 -460
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-inline.html +0 -516
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-refcounting.html +0 -132
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp +0 -175
- data/vendor/local/src/tml/packaging/gdk-pixbuf_2.22.1-1_win32.log +0 -1012
- data/vendor/local/src/tml/packaging/gdk-pixbuf_2.22.1-1_win32.sh +0 -256
@@ -0,0 +1,644 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Animations</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
8
|
+
<link rel="up" href="rn01.html" title="API Reference">
|
9
|
+
<link rel="prev" href="gdk-pixbuf-Utilities.html" title="Utilities">
|
10
|
+
<link rel="next" href="GdkPixbufLoader.html" title="GdkPixbufLoader">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.17.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="gdk-pixbuf-Utilities.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GDK-PixBuf Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="GdkPixbufLoader.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#gdk-pixbuf-Animations.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#gdk-pixbuf-Animations.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#gdk-pixbuf-Animations.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#gdk-pixbuf-Animations.properties" class="shortcut">Properties</a>
|
31
|
+
</td></tr>
|
32
|
+
</table>
|
33
|
+
<div class="refentry">
|
34
|
+
<a name="gdk-pixbuf-Animations"></a><div class="titlepage"></div>
|
35
|
+
<div class="refnamediv"><table width="100%"><tr>
|
36
|
+
<td valign="top">
|
37
|
+
<h2><span class="refentrytitle"><a name="gdk-pixbuf-Animations.top_of_page"></a>Animations</span></h2>
|
38
|
+
<p>Animations — Animated images.</p>
|
39
|
+
</td>
|
40
|
+
<td valign="top" align="right"></td>
|
41
|
+
</tr></table></div>
|
42
|
+
<div class="refsynopsisdiv">
|
43
|
+
<a name="gdk-pixbuf-Animations.synopsis"></a><h2>Synopsis</h2>
|
44
|
+
<a name="GdkPixbufAnimation"></a><a name="GdkPixbufAnimationIter"></a><a name="GdkPixbufSimpleAnim"></a><pre class="synopsis">
|
45
|
+
#include <gdk-pixbuf/gdk-pixbuf.h>
|
46
|
+
|
47
|
+
struct <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation-struct" title="struct GdkPixbufAnimation">GdkPixbufAnimation</a>;
|
48
|
+
struct <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter-struct" title="struct GdkPixbufAnimationIter">GdkPixbufAnimationIter</a>;
|
49
|
+
#define <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file" title="gdk_pixbuf_animation_new_from_file">gdk_pixbuf_animation_new_from_file</a>
|
50
|
+
<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> * <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-ref" title="gdk_pixbuf_animation_ref ()">gdk_pixbuf_animation_ref</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
51
|
+
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-unref" title="gdk_pixbuf_animation_unref ()">gdk_pixbuf_animation_unref</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
52
|
+
<span class="returnvalue">int</span> <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-width" title="gdk_pixbuf_animation_get_width ()">gdk_pixbuf_animation_get_width</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
53
|
+
<span class="returnvalue">int</span> <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-height" title="gdk_pixbuf_animation_get_height ()">gdk_pixbuf_animation_get_height</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
54
|
+
<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="returnvalue">GdkPixbufAnimationIter</span></a> * <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-iter" title="gdk_pixbuf_animation_get_iter ()">gdk_pixbuf_animation_get_iter</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>,
|
55
|
+
<em class="parameter"><code>const <span class="type">GTimeVal</span> *start_time</code></em>);
|
56
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-is-static-image" title="gdk_pixbuf_animation_is_static_image ()">gdk_pixbuf_animation_is_static_image</a>
|
57
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
58
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-static-image" title="gdk_pixbuf_animation_get_static_image ()">gdk_pixbuf_animation_get_static_image</a>
|
59
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
60
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-advance" title="gdk_pixbuf_animation_iter_advance ()">gdk_pixbuf_animation_iter_advance</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>,
|
61
|
+
<em class="parameter"><code>const <span class="type">GTimeVal</span> *current_time</code></em>);
|
62
|
+
<span class="returnvalue">int</span> <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-get-delay-time" title="gdk_pixbuf_animation_iter_get_delay_time ()">gdk_pixbuf_animation_iter_get_delay_time</a>
|
63
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);
|
64
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-on-currently-loading-frame" title="gdk_pixbuf_animation_iter_on_currently_loading_frame ()">gdk_pixbuf_animation_iter_on_currently_loading_frame</a>
|
65
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);
|
66
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-get-pixbuf" title="gdk_pixbuf_animation_iter_get_pixbuf ()">gdk_pixbuf_animation_iter_get_pixbuf</a>
|
67
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);
|
68
|
+
|
69
|
+
<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim-struct" title="GdkPixbufSimpleAnim">GdkPixbufSimpleAnim</a>;
|
70
|
+
<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="returnvalue">GdkPixbufSimpleAnim</span></a> * <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-simple-anim-new" title="gdk_pixbuf_simple_anim_new ()">gdk_pixbuf_simple_anim_new</a> (<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
71
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
72
|
+
<em class="parameter"><code><span class="type">gfloat</span> rate</code></em>);
|
73
|
+
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-simple-anim-add-frame" title="gdk_pixbuf_simple_anim_add_frame ()">gdk_pixbuf_simple_anim_add_frame</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a> *animation</code></em>,
|
74
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-simple-anim-set-loop" title="gdk_pixbuf_simple_anim_set_loop ()">gdk_pixbuf_simple_anim_set_loop</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a> *animation</code></em>,
|
76
|
+
<em class="parameter"><code><span class="type">gboolean</span> loop</code></em>);
|
77
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-simple-anim-get-loop" title="gdk_pixbuf_simple_anim_get_loop ()">gdk_pixbuf_simple_anim_get_loop</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a> *animation</code></em>);
|
78
|
+
</pre>
|
79
|
+
</div>
|
80
|
+
<div class="refsect1">
|
81
|
+
<a name="gdk-pixbuf-Animations.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
82
|
+
<pre class="synopsis">
|
83
|
+
GObject
|
84
|
+
+----GdkPixbufAnimation
|
85
|
+
+----<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim">GdkPixbufSimpleAnim</a>
|
86
|
+
</pre>
|
87
|
+
<pre class="synopsis">
|
88
|
+
GObject
|
89
|
+
+----GdkPixbufAnimationIter
|
90
|
+
</pre>
|
91
|
+
<pre class="synopsis">
|
92
|
+
GObject
|
93
|
+
+----<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation">GdkPixbufAnimation</a>
|
94
|
+
+----GdkPixbufSimpleAnim
|
95
|
+
</pre>
|
96
|
+
</div>
|
97
|
+
<div class="refsect1">
|
98
|
+
<a name="gdk-pixbuf-Animations.properties"></a><h2>Properties</h2>
|
99
|
+
<pre class="synopsis">
|
100
|
+
"<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim--loop" title='The "loop" property'>loop</a>" <span class="type">gboolean</span> : Read / Write
|
101
|
+
</pre>
|
102
|
+
</div>
|
103
|
+
<div class="refsect1">
|
104
|
+
<a name="gdk-pixbuf-Animations.description"></a><h2>Description</h2>
|
105
|
+
<p>
|
106
|
+
The &gdk-pixbuf; library provides a simple mechanism to load and represent
|
107
|
+
animations. An animation is conceptually a series of frames to be displayed
|
108
|
+
over time. Each frame is the same size. The animation may not be represented
|
109
|
+
as a series of frames internally; for example, it may be stored as a
|
110
|
+
sprite and instructions for moving the sprite around a background. To display
|
111
|
+
an animation you don't need to understand its representation, however; you just
|
112
|
+
ask &gdk-pixbuf; what should be displayed at a given point in time.
|
113
|
+
</p>
|
114
|
+
</div>
|
115
|
+
<div class="refsect1">
|
116
|
+
<a name="gdk-pixbuf-Animations.details"></a><h2>Details</h2>
|
117
|
+
<div class="refsect2">
|
118
|
+
<a name="GdkPixbufAnimation-struct"></a><h3>struct GdkPixbufAnimation</h3>
|
119
|
+
<pre class="programlisting">struct GdkPixbufAnimation;</pre>
|
120
|
+
<p>
|
121
|
+
An opaque struct representing an animation.
|
122
|
+
</p>
|
123
|
+
</div>
|
124
|
+
<hr>
|
125
|
+
<div class="refsect2">
|
126
|
+
<a name="GdkPixbufAnimationIter-struct"></a><h3>struct GdkPixbufAnimationIter</h3>
|
127
|
+
<pre class="programlisting">struct GdkPixbufAnimationIter;</pre>
|
128
|
+
<p>
|
129
|
+
An opaque struct representing an iterator which points to a
|
130
|
+
certain position in an animation.
|
131
|
+
</p>
|
132
|
+
</div>
|
133
|
+
<hr>
|
134
|
+
<div class="refsect2">
|
135
|
+
<a name="gdk-pixbuf-animation-new-from-file"></a><h3>gdk_pixbuf_animation_new_from_file</h3>
|
136
|
+
<pre class="programlisting">#define gdk_pixbuf_animation_new_from_file gdk_pixbuf_animation_new_from_file_utf8
|
137
|
+
</pre>
|
138
|
+
<p>
|
139
|
+
Creates a new animation by loading it from a file. The file format is
|
140
|
+
detected automatically. If the file's format does not support multi-frame
|
141
|
+
images, then an animation with a single frame will be created. Possible errors
|
142
|
+
are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> and <span class="type">G_FILE_ERROR</span> domains.
|
143
|
+
</p>
|
144
|
+
<div class="variablelist"><table border="0">
|
145
|
+
<col align="left" valign="top">
|
146
|
+
<tbody>
|
147
|
+
<tr>
|
148
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
149
|
+
<td>Name of file to load, in the GLib file name encoding</td>
|
150
|
+
</tr>
|
151
|
+
<tr>
|
152
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
153
|
+
<td>return location for error</td>
|
154
|
+
</tr>
|
155
|
+
<tr>
|
156
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
157
|
+
<td>A newly-created animation with a reference count of 1, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
158
|
+
if any of several error conditions ocurred: the file could not be opened,
|
159
|
+
there was no loader for the file's format, there was not enough memory to
|
160
|
+
allocate the image buffer, or the image file contained invalid data.</td>
|
161
|
+
</tr>
|
162
|
+
</tbody>
|
163
|
+
</table></div>
|
164
|
+
</div>
|
165
|
+
<hr>
|
166
|
+
<div class="refsect2">
|
167
|
+
<a name="gdk-pixbuf-animation-ref"></a><h3>gdk_pixbuf_animation_ref ()</h3>
|
168
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> * gdk_pixbuf_animation_ref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
169
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
170
|
+
<h3 class="title">Warning</h3>
|
171
|
+
<p><code class="literal">gdk_pixbuf_animation_ref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <code class="function">g_object_ref()</code>.</p>
|
172
|
+
</div>
|
173
|
+
<p>
|
174
|
+
Adds a reference to an animation.
|
175
|
+
</p>
|
176
|
+
<div class="variablelist"><table border="0">
|
177
|
+
<col align="left" valign="top">
|
178
|
+
<tbody>
|
179
|
+
<tr>
|
180
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
181
|
+
<td>An animation.</td>
|
182
|
+
</tr>
|
183
|
+
<tr>
|
184
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
185
|
+
<td>The same as the <em class="parameter"><code>animation</code></em> argument.</td>
|
186
|
+
</tr>
|
187
|
+
</tbody>
|
188
|
+
</table></div>
|
189
|
+
</div>
|
190
|
+
<hr>
|
191
|
+
<div class="refsect2">
|
192
|
+
<a name="gdk-pixbuf-animation-unref"></a><h3>gdk_pixbuf_animation_unref ()</h3>
|
193
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_animation_unref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
194
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
195
|
+
<h3 class="title">Warning</h3>
|
196
|
+
<p><code class="literal">gdk_pixbuf_animation_unref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <code class="function">g_object_unref()</code>.</p>
|
197
|
+
</div>
|
198
|
+
<p>
|
199
|
+
Removes a reference from an animation.
|
200
|
+
</p>
|
201
|
+
<div class="variablelist"><table border="0">
|
202
|
+
<col align="left" valign="top">
|
203
|
+
<tbody><tr>
|
204
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
205
|
+
<td>An animation.</td>
|
206
|
+
</tr></tbody>
|
207
|
+
</table></div>
|
208
|
+
</div>
|
209
|
+
<hr>
|
210
|
+
<div class="refsect2">
|
211
|
+
<a name="gdk-pixbuf-animation-get-width"></a><h3>gdk_pixbuf_animation_get_width ()</h3>
|
212
|
+
<pre class="programlisting"><span class="returnvalue">int</span> gdk_pixbuf_animation_get_width (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
213
|
+
<p>
|
214
|
+
Queries the width of the bounding box of a pixbuf animation.
|
215
|
+
</p>
|
216
|
+
<div class="variablelist"><table border="0">
|
217
|
+
<col align="left" valign="top">
|
218
|
+
<tbody>
|
219
|
+
<tr>
|
220
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
221
|
+
<td>An animation.</td>
|
222
|
+
</tr>
|
223
|
+
<tr>
|
224
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
225
|
+
<td>Width of the bounding box of the animation.</td>
|
226
|
+
</tr>
|
227
|
+
</tbody>
|
228
|
+
</table></div>
|
229
|
+
</div>
|
230
|
+
<hr>
|
231
|
+
<div class="refsect2">
|
232
|
+
<a name="gdk-pixbuf-animation-get-height"></a><h3>gdk_pixbuf_animation_get_height ()</h3>
|
233
|
+
<pre class="programlisting"><span class="returnvalue">int</span> gdk_pixbuf_animation_get_height (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
234
|
+
<p>
|
235
|
+
Queries the height of the bounding box of a pixbuf animation.
|
236
|
+
</p>
|
237
|
+
<div class="variablelist"><table border="0">
|
238
|
+
<col align="left" valign="top">
|
239
|
+
<tbody>
|
240
|
+
<tr>
|
241
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
242
|
+
<td>An animation.</td>
|
243
|
+
</tr>
|
244
|
+
<tr>
|
245
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
246
|
+
<td>Height of the bounding box of the animation.</td>
|
247
|
+
</tr>
|
248
|
+
</tbody>
|
249
|
+
</table></div>
|
250
|
+
</div>
|
251
|
+
<hr>
|
252
|
+
<div class="refsect2">
|
253
|
+
<a name="gdk-pixbuf-animation-get-iter"></a><h3>gdk_pixbuf_animation_get_iter ()</h3>
|
254
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="returnvalue">GdkPixbufAnimationIter</span></a> * gdk_pixbuf_animation_get_iter (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>,
|
255
|
+
<em class="parameter"><code>const <span class="type">GTimeVal</span> *start_time</code></em>);</pre>
|
256
|
+
<p>
|
257
|
+
Get an iterator for displaying an animation. The iterator provides
|
258
|
+
the frames that should be displayed at a given time.
|
259
|
+
It should be freed after use with <code class="function">g_object_unref()</code>.
|
260
|
+
</p>
|
261
|
+
<p>
|
262
|
+
<em class="parameter"><code>start_time</code></em> would normally come from <code class="function">g_get_current_time()</code>, and
|
263
|
+
marks the beginning of animation playback. After creating an
|
264
|
+
iterator, you should immediately display the pixbuf returned by
|
265
|
+
<a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-get-pixbuf" title="gdk_pixbuf_animation_iter_get_pixbuf ()"><code class="function">gdk_pixbuf_animation_iter_get_pixbuf()</code></a>. Then, you should install a
|
266
|
+
timeout (with <code class="function">g_timeout_add()</code>) or by some other mechanism ensure
|
267
|
+
that you'll update the image after
|
268
|
+
<a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-get-delay-time" title="gdk_pixbuf_animation_iter_get_delay_time ()"><code class="function">gdk_pixbuf_animation_iter_get_delay_time()</code></a> milliseconds. Each time
|
269
|
+
the image is updated, you should reinstall the timeout with the new,
|
270
|
+
possibly-changed delay time.
|
271
|
+
</p>
|
272
|
+
<p>
|
273
|
+
As a shortcut, if <em class="parameter"><code>start_time</code></em> is <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, the result of
|
274
|
+
<code class="function">g_get_current_time()</code> will be used automatically.
|
275
|
+
</p>
|
276
|
+
<p>
|
277
|
+
To update the image (i.e. possibly change the result of
|
278
|
+
<a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-get-pixbuf" title="gdk_pixbuf_animation_iter_get_pixbuf ()"><code class="function">gdk_pixbuf_animation_iter_get_pixbuf()</code></a> to a new frame of the animation),
|
279
|
+
call <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-advance" title="gdk_pixbuf_animation_iter_advance ()"><code class="function">gdk_pixbuf_animation_iter_advance()</code></a>.
|
280
|
+
</p>
|
281
|
+
<p>
|
282
|
+
If you're using <a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a>, in addition to updating the image
|
283
|
+
after the delay time, you should also update it whenever you
|
284
|
+
receive the area_updated signal and
|
285
|
+
<a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-on-currently-loading-frame" title="gdk_pixbuf_animation_iter_on_currently_loading_frame ()"><code class="function">gdk_pixbuf_animation_iter_on_currently_loading_frame()</code></a> returns
|
286
|
+
<code class="literal">TRUE</code>. In this case, the frame currently being fed into the loader
|
287
|
+
has received new data, so needs to be refreshed. The delay time for
|
288
|
+
a frame may also be modified after an area_updated signal, for
|
289
|
+
example if the delay time for a frame is encoded in the data after
|
290
|
+
the frame itself. So your timeout should be reinstalled after any
|
291
|
+
area_updated signal.
|
292
|
+
</p>
|
293
|
+
<p>
|
294
|
+
A delay time of -1 is possible, indicating "infinite."
|
295
|
+
</p>
|
296
|
+
<div class="variablelist"><table border="0">
|
297
|
+
<col align="left" valign="top">
|
298
|
+
<tbody>
|
299
|
+
<tr>
|
300
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
301
|
+
<td>a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>
|
302
|
+
</td>
|
303
|
+
</tr>
|
304
|
+
<tr>
|
305
|
+
<td><p><span class="term"><em class="parameter"><code>start_time</code></em> :</span></p></td>
|
306
|
+
<td>time when the animation starts playing</td>
|
307
|
+
</tr>
|
308
|
+
<tr>
|
309
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
310
|
+
<td>an iterator to move over the animation. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
311
|
+
</td>
|
312
|
+
</tr>
|
313
|
+
</tbody>
|
314
|
+
</table></div>
|
315
|
+
</div>
|
316
|
+
<hr>
|
317
|
+
<div class="refsect2">
|
318
|
+
<a name="gdk-pixbuf-animation-is-static-image"></a><h3>gdk_pixbuf_animation_is_static_image ()</h3>
|
319
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gdk_pixbuf_animation_is_static_image
|
320
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
321
|
+
<p>
|
322
|
+
If you load a file with <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file" title="gdk_pixbuf_animation_new_from_file"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a> and it turns
|
323
|
+
out to be a plain, unanimated image, then this function will return
|
324
|
+
<code class="literal">TRUE</code>. Use <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-static-image" title="gdk_pixbuf_animation_get_static_image ()"><code class="function">gdk_pixbuf_animation_get_static_image()</code></a> to retrieve
|
325
|
+
the image.
|
326
|
+
</p>
|
327
|
+
<div class="variablelist"><table border="0">
|
328
|
+
<col align="left" valign="top">
|
329
|
+
<tbody>
|
330
|
+
<tr>
|
331
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
332
|
+
<td>a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>
|
333
|
+
</td>
|
334
|
+
</tr>
|
335
|
+
<tr>
|
336
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
337
|
+
<td>
|
338
|
+
<code class="literal">TRUE</code> if the "animation" was really just an image</td>
|
339
|
+
</tr>
|
340
|
+
</tbody>
|
341
|
+
</table></div>
|
342
|
+
</div>
|
343
|
+
<hr>
|
344
|
+
<div class="refsect2">
|
345
|
+
<a name="gdk-pixbuf-animation-get-static-image"></a><h3>gdk_pixbuf_animation_get_static_image ()</h3>
|
346
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_animation_get_static_image
|
347
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
348
|
+
<p>
|
349
|
+
If an animation is really just a plain image (has only one frame),
|
350
|
+
this function returns that image. If the animation is an animation,
|
351
|
+
this function returns a reasonable thing to display as a static
|
352
|
+
unanimated image, which might be the first frame, or something more
|
353
|
+
sophisticated. If an animation hasn't loaded any frames yet, this
|
354
|
+
function will return <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
355
|
+
</p>
|
356
|
+
<div class="variablelist"><table border="0">
|
357
|
+
<col align="left" valign="top">
|
358
|
+
<tbody>
|
359
|
+
<tr>
|
360
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
361
|
+
<td>a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>
|
362
|
+
</td>
|
363
|
+
</tr>
|
364
|
+
<tr>
|
365
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
366
|
+
<td>unanimated image representing the animation. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
367
|
+
</td>
|
368
|
+
</tr>
|
369
|
+
</tbody>
|
370
|
+
</table></div>
|
371
|
+
</div>
|
372
|
+
<hr>
|
373
|
+
<div class="refsect2">
|
374
|
+
<a name="gdk-pixbuf-animation-iter-advance"></a><h3>gdk_pixbuf_animation_iter_advance ()</h3>
|
375
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gdk_pixbuf_animation_iter_advance (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>,
|
376
|
+
<em class="parameter"><code>const <span class="type">GTimeVal</span> *current_time</code></em>);</pre>
|
377
|
+
<p>
|
378
|
+
Possibly advances an animation to a new frame. Chooses the frame based
|
379
|
+
on the start time passed to <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-iter" title="gdk_pixbuf_animation_get_iter ()"><code class="function">gdk_pixbuf_animation_get_iter()</code></a>.
|
380
|
+
</p>
|
381
|
+
<p>
|
382
|
+
<em class="parameter"><code>current_time</code></em> would normally come from <code class="function">g_get_current_time()</code>, and
|
383
|
+
must be greater than or equal to the time passed to
|
384
|
+
<a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-iter" title="gdk_pixbuf_animation_get_iter ()"><code class="function">gdk_pixbuf_animation_get_iter()</code></a>, and must increase or remain
|
385
|
+
unchanged each time <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-get-pixbuf" title="gdk_pixbuf_animation_iter_get_pixbuf ()"><code class="function">gdk_pixbuf_animation_iter_get_pixbuf()</code></a> is
|
386
|
+
called. That is, you can't go backward in time; animations only
|
387
|
+
play forward.
|
388
|
+
</p>
|
389
|
+
<p>
|
390
|
+
As a shortcut, pass <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> for the current time and <code class="function">g_get_current_time()</code>
|
391
|
+
will be invoked on your behalf. So you only need to explicitly pass
|
392
|
+
<em class="parameter"><code>current_time</code></em> if you're doing something odd like playing the animation
|
393
|
+
at double speed.
|
394
|
+
</p>
|
395
|
+
<p>
|
396
|
+
If this function returns <code class="literal">FALSE</code>, there's no need to update the animation
|
397
|
+
display, assuming the display had been rendered prior to advancing;
|
398
|
+
if <code class="literal">TRUE</code>, you need to call <code class="function">gdk_animation_iter_get_pixbuf()</code> and update the
|
399
|
+
display with the new pixbuf.
|
400
|
+
</p>
|
401
|
+
<div class="variablelist"><table border="0">
|
402
|
+
<col align="left" valign="top">
|
403
|
+
<tbody>
|
404
|
+
<tr>
|
405
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
406
|
+
<td>a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a>
|
407
|
+
</td>
|
408
|
+
</tr>
|
409
|
+
<tr>
|
410
|
+
<td><p><span class="term"><em class="parameter"><code>current_time</code></em> :</span></p></td>
|
411
|
+
<td>current time</td>
|
412
|
+
</tr>
|
413
|
+
<tr>
|
414
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
415
|
+
<td>
|
416
|
+
<code class="literal">TRUE</code> if the image may need updating</td>
|
417
|
+
</tr>
|
418
|
+
</tbody>
|
419
|
+
</table></div>
|
420
|
+
</div>
|
421
|
+
<hr>
|
422
|
+
<div class="refsect2">
|
423
|
+
<a name="gdk-pixbuf-animation-iter-get-delay-time"></a><h3>gdk_pixbuf_animation_iter_get_delay_time ()</h3>
|
424
|
+
<pre class="programlisting"><span class="returnvalue">int</span> gdk_pixbuf_animation_iter_get_delay_time
|
425
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
426
|
+
<p>
|
427
|
+
Gets the number of milliseconds the current pixbuf should be displayed,
|
428
|
+
or -1 if the current pixbuf should be displayed forever. <code class="function">g_timeout_add()</code>
|
429
|
+
conveniently takes a timeout in milliseconds, so you can use a timeout
|
430
|
+
to schedule the next update.
|
431
|
+
</p>
|
432
|
+
<div class="variablelist"><table border="0">
|
433
|
+
<col align="left" valign="top">
|
434
|
+
<tbody>
|
435
|
+
<tr>
|
436
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
437
|
+
<td>an animation iterator</td>
|
438
|
+
</tr>
|
439
|
+
<tr>
|
440
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
441
|
+
<td>delay time in milliseconds (thousandths of a second)</td>
|
442
|
+
</tr>
|
443
|
+
</tbody>
|
444
|
+
</table></div>
|
445
|
+
</div>
|
446
|
+
<hr>
|
447
|
+
<div class="refsect2">
|
448
|
+
<a name="gdk-pixbuf-animation-iter-on-currently-loading-frame"></a><h3>gdk_pixbuf_animation_iter_on_currently_loading_frame ()</h3>
|
449
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gdk_pixbuf_animation_iter_on_currently_loading_frame
|
450
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
451
|
+
<p>
|
452
|
+
Used to determine how to respond to the area_updated signal on
|
453
|
+
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> when loading an animation. area_updated is emitted
|
454
|
+
for an area of the frame currently streaming in to the loader. So if
|
455
|
+
you're on the currently loading frame, you need to redraw the screen for
|
456
|
+
the updated area.
|
457
|
+
</p>
|
458
|
+
<div class="variablelist"><table border="0">
|
459
|
+
<col align="left" valign="top">
|
460
|
+
<tbody>
|
461
|
+
<tr>
|
462
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
463
|
+
<td>a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a>
|
464
|
+
</td>
|
465
|
+
</tr>
|
466
|
+
<tr>
|
467
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
468
|
+
<td>
|
469
|
+
<code class="literal">TRUE</code> if the frame we're on is partially loaded, or the last frame</td>
|
470
|
+
</tr>
|
471
|
+
</tbody>
|
472
|
+
</table></div>
|
473
|
+
</div>
|
474
|
+
<hr>
|
475
|
+
<div class="refsect2">
|
476
|
+
<a name="gdk-pixbuf-animation-iter-get-pixbuf"></a><h3>gdk_pixbuf_animation_iter_get_pixbuf ()</h3>
|
477
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_animation_iter_get_pixbuf
|
478
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
479
|
+
<p>
|
480
|
+
Gets the current pixbuf which should be displayed; the pixbuf will
|
481
|
+
be the same size as the animation itself
|
482
|
+
(<a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-width" title="gdk_pixbuf_animation_get_width ()"><code class="function">gdk_pixbuf_animation_get_width()</code></a>, <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-height" title="gdk_pixbuf_animation_get_height ()"><code class="function">gdk_pixbuf_animation_get_height()</code></a>).
|
483
|
+
This pixbuf should be displayed for
|
484
|
+
<a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-get-delay-time" title="gdk_pixbuf_animation_iter_get_delay_time ()"><code class="function">gdk_pixbuf_animation_iter_get_delay_time()</code></a> milliseconds. The caller
|
485
|
+
of this function does not own a reference to the returned pixbuf;
|
486
|
+
the returned pixbuf will become invalid when the iterator advances
|
487
|
+
to the next frame, which may happen anytime you call
|
488
|
+
<a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-advance" title="gdk_pixbuf_animation_iter_advance ()"><code class="function">gdk_pixbuf_animation_iter_advance()</code></a>. Copy the pixbuf to keep it
|
489
|
+
(don't just add a reference), as it may get recycled as you advance
|
490
|
+
the iterator.
|
491
|
+
</p>
|
492
|
+
<div class="variablelist"><table border="0">
|
493
|
+
<col align="left" valign="top">
|
494
|
+
<tbody>
|
495
|
+
<tr>
|
496
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
497
|
+
<td>an animation iterator</td>
|
498
|
+
</tr>
|
499
|
+
<tr>
|
500
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
501
|
+
<td>the pixbuf to be displayed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
502
|
+
</td>
|
503
|
+
</tr>
|
504
|
+
</tbody>
|
505
|
+
</table></div>
|
506
|
+
</div>
|
507
|
+
<hr>
|
508
|
+
<div class="refsect2">
|
509
|
+
<a name="GdkPixbufSimpleAnim-struct"></a><h3>GdkPixbufSimpleAnim</h3>
|
510
|
+
<pre class="programlisting">typedef struct _GdkPixbufSimpleAnim GdkPixbufSimpleAnim;</pre>
|
511
|
+
<p>
|
512
|
+
An opaque struct representing a simple animation.
|
513
|
+
</p>
|
514
|
+
</div>
|
515
|
+
<hr>
|
516
|
+
<div class="refsect2">
|
517
|
+
<a name="gdk-pixbuf-simple-anim-new"></a><h3>gdk_pixbuf_simple_anim_new ()</h3>
|
518
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="returnvalue">GdkPixbufSimpleAnim</span></a> * gdk_pixbuf_simple_anim_new (<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
519
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
520
|
+
<em class="parameter"><code><span class="type">gfloat</span> rate</code></em>);</pre>
|
521
|
+
<p>
|
522
|
+
Creates a new, empty animation.
|
523
|
+
</p>
|
524
|
+
<div class="variablelist"><table border="0">
|
525
|
+
<col align="left" valign="top">
|
526
|
+
<tbody>
|
527
|
+
<tr>
|
528
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
529
|
+
<td>the width of the animation</td>
|
530
|
+
</tr>
|
531
|
+
<tr>
|
532
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
533
|
+
<td>the height of the animation</td>
|
534
|
+
</tr>
|
535
|
+
<tr>
|
536
|
+
<td><p><span class="term"><em class="parameter"><code>rate</code></em> :</span></p></td>
|
537
|
+
<td>the speed of the animation, in frames per second</td>
|
538
|
+
</tr>
|
539
|
+
<tr>
|
540
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
541
|
+
<td>a newly allocated <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a>
|
542
|
+
</td>
|
543
|
+
</tr>
|
544
|
+
</tbody>
|
545
|
+
</table></div>
|
546
|
+
<p class="since">Since 2.8</p>
|
547
|
+
</div>
|
548
|
+
<hr>
|
549
|
+
<div class="refsect2">
|
550
|
+
<a name="gdk-pixbuf-simple-anim-add-frame"></a><h3>gdk_pixbuf_simple_anim_add_frame ()</h3>
|
551
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_simple_anim_add_frame (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a> *animation</code></em>,
|
552
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
553
|
+
<p>
|
554
|
+
Adds a new frame to <em class="parameter"><code>animation</code></em>. The <em class="parameter"><code>pixbuf</code></em> must
|
555
|
+
have the dimensions specified when the animation
|
556
|
+
was constructed.
|
557
|
+
</p>
|
558
|
+
<div class="variablelist"><table border="0">
|
559
|
+
<col align="left" valign="top">
|
560
|
+
<tbody>
|
561
|
+
<tr>
|
562
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
563
|
+
<td>a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a>
|
564
|
+
</td>
|
565
|
+
</tr>
|
566
|
+
<tr>
|
567
|
+
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
|
568
|
+
<td>the pixbuf to add</td>
|
569
|
+
</tr>
|
570
|
+
</tbody>
|
571
|
+
</table></div>
|
572
|
+
<p class="since">Since 2.8</p>
|
573
|
+
</div>
|
574
|
+
<hr>
|
575
|
+
<div class="refsect2">
|
576
|
+
<a name="gdk-pixbuf-simple-anim-set-loop"></a><h3>gdk_pixbuf_simple_anim_set_loop ()</h3>
|
577
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_simple_anim_set_loop (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a> *animation</code></em>,
|
578
|
+
<em class="parameter"><code><span class="type">gboolean</span> loop</code></em>);</pre>
|
579
|
+
<p>
|
580
|
+
Sets whether <em class="parameter"><code>animation</code></em> should loop indefinitely when it reaches the end.
|
581
|
+
</p>
|
582
|
+
<div class="variablelist"><table border="0">
|
583
|
+
<col align="left" valign="top">
|
584
|
+
<tbody>
|
585
|
+
<tr>
|
586
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
587
|
+
<td>a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a>
|
588
|
+
</td>
|
589
|
+
</tr>
|
590
|
+
<tr>
|
591
|
+
<td><p><span class="term"><em class="parameter"><code>loop</code></em> :</span></p></td>
|
592
|
+
<td>whether to loop the animation</td>
|
593
|
+
</tr>
|
594
|
+
</tbody>
|
595
|
+
</table></div>
|
596
|
+
<p class="since">Since 2.18</p>
|
597
|
+
</div>
|
598
|
+
<hr>
|
599
|
+
<div class="refsect2">
|
600
|
+
<a name="gdk-pixbuf-simple-anim-get-loop"></a><h3>gdk_pixbuf_simple_anim_get_loop ()</h3>
|
601
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gdk_pixbuf_simple_anim_get_loop (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a> *animation</code></em>);</pre>
|
602
|
+
<p>
|
603
|
+
Gets whether <em class="parameter"><code>animation</code></em> should loop indefinitely when it reaches the end.
|
604
|
+
</p>
|
605
|
+
<div class="variablelist"><table border="0">
|
606
|
+
<col align="left" valign="top">
|
607
|
+
<tbody>
|
608
|
+
<tr>
|
609
|
+
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
610
|
+
<td>a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a>
|
611
|
+
</td>
|
612
|
+
</tr>
|
613
|
+
<tr>
|
614
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
615
|
+
<td>
|
616
|
+
<code class="literal">TRUE</code> if the animation loops forever, <code class="literal">FALSE</code> otherwise</td>
|
617
|
+
</tr>
|
618
|
+
</tbody>
|
619
|
+
</table></div>
|
620
|
+
<p class="since">Since 2.18</p>
|
621
|
+
</div>
|
622
|
+
</div>
|
623
|
+
<div class="refsect1">
|
624
|
+
<a name="gdk-pixbuf-Animations.property-details"></a><h2>Property Details</h2>
|
625
|
+
<div class="refsect2">
|
626
|
+
<a name="GdkPixbufSimpleAnim--loop"></a><h3>The <code class="literal">"loop"</code> property</h3>
|
627
|
+
<pre class="programlisting"> "loop" <span class="type">gboolean</span> : Read / Write</pre>
|
628
|
+
<p>
|
629
|
+
Whether the animation should loop when it reaches the end.
|
630
|
+
</p>
|
631
|
+
<p>Default value: FALSE</p>
|
632
|
+
<p class="since">Since 2.18</p>
|
633
|
+
</div>
|
634
|
+
</div>
|
635
|
+
<div class="refsect1">
|
636
|
+
<a name="gdk-pixbuf-Animations.see-also"></a><h2>See Also</h2>
|
637
|
+
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a>.
|
638
|
+
</div>
|
639
|
+
</div>
|
640
|
+
<div class="footer">
|
641
|
+
<hr>
|
642
|
+
Generated by GTK-Doc V1.17.1</div>
|
643
|
+
</body>
|
644
|
+
</html>
|