gdk_pixbuf2 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-pixdata.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-core.h +15 -30
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +23 -23
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +4 -4
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +1 -1
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +1 -1
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +81 -81
- data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.la +2 -2
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +338 -185
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +55 -54
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +63 -63
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +95 -88
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +84 -84
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +33 -32
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +60 -60
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +9 -9
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +19 -19
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +116 -82
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +23 -23
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +1 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +13 -11
- 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/csb/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/km/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/tg/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 +1 -1
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -1
- metadata +11 -13
- data/lib/1.9/gdk_pixbuf2.so +0 -0
- data/lib/2.1/gdk_pixbuf2.so +0 -0
@@ -123,7 +123,7 @@
|
|
123
123
|
</tr>
|
124
124
|
<tr>
|
125
125
|
<td class="function_type">
|
126
|
-
<a href="
|
126
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
127
127
|
</td>
|
128
128
|
<td class="function_name">
|
129
129
|
<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> <span class="c_punctuation">()</span>
|
@@ -139,7 +139,7 @@
|
|
139
139
|
</tr>
|
140
140
|
<tr>
|
141
141
|
<td class="function_type">
|
142
|
-
<a href="
|
142
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
143
143
|
</td>
|
144
144
|
<td class="function_name">
|
145
145
|
<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> <span class="c_punctuation">()</span>
|
@@ -155,7 +155,7 @@
|
|
155
155
|
</tr>
|
156
156
|
<tr>
|
157
157
|
<td class="function_type">
|
158
|
-
<a href="
|
158
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
159
159
|
</td>
|
160
160
|
<td class="function_name">
|
161
161
|
<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> <span class="c_punctuation">()</span>
|
@@ -195,7 +195,7 @@
|
|
195
195
|
</tr>
|
196
196
|
<tr>
|
197
197
|
<td class="function_type">
|
198
|
-
<a href="
|
198
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
199
199
|
</td>
|
200
200
|
<td class="function_name">
|
201
201
|
<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> <span class="c_punctuation">()</span>
|
@@ -213,7 +213,7 @@
|
|
213
213
|
<col width="200px" class="properties_flags">
|
214
214
|
</colgroup>
|
215
215
|
<tbody><tr>
|
216
|
-
<td class="property_type"><a href="
|
216
|
+
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
217
217
|
<td class="property_name"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim--loop" title="The “loop” property">loop</a></td>
|
218
218
|
<td class="property_flags">Read / Write</td>
|
219
219
|
</tr></tbody>
|
@@ -244,7 +244,7 @@
|
|
244
244
|
</div>
|
245
245
|
<div class="refsect1">
|
246
246
|
<a name="gdk-pixbuf-Animations.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
247
|
-
<pre class="screen"> <a href="
|
247
|
+
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
248
248
|
<span class="lineart">├──</span> <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation">GdkPixbufAnimation</a>
|
249
249
|
<span class="lineart">│</span> <span class="lineart">╰──</span> GdkPixbufSimpleAnim
|
250
250
|
<span class="lineart">├──</span> GdkPixbufAnimation
|
@@ -274,11 +274,11 @@ be displayed at a given point in time.</p>
|
|
274
274
|
<a name="gdk-pixbuf-animation-new-from-file"></a><h3>gdk_pixbuf_animation_new_from_file ()</h3>
|
275
275
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
276
276
|
gdk_pixbuf_animation_new_from_file (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
277
|
-
<em class="parameter"><code><a href="
|
277
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
278
278
|
<p>Creates a new animation by loading it from a file. The file format is
|
279
279
|
detected automatically. If the file's format does not support multi-frame
|
280
280
|
images, then an animation with a single frame will be created. Possible errors
|
281
|
-
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 <a href="
|
281
|
+
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 <a href="http://library.gnome.org/devel/glib/unstable/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.</p>
|
282
282
|
<div class="refsect3">
|
283
283
|
<a name="id-1.2.14.12.2.5"></a><h4>Parameters</h4>
|
284
284
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -303,7 +303,7 @@ are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIX
|
|
303
303
|
</div>
|
304
304
|
<div class="refsect3">
|
305
305
|
<a name="id-1.2.14.12.2.6"></a><h4>Returns</h4>
|
306
|
-
<p> A newly-created animation with a reference count of 1, or <a href="
|
306
|
+
<p> A newly-created animation with a reference count of 1, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
307
307
|
if any of several error conditions ocurred: the file could not be opened,
|
308
308
|
there was no loader for the file's format, there was not enough memory to
|
309
309
|
allocate the image buffer, or the image file contained invalid data.</p>
|
@@ -316,9 +316,9 @@ allocate the image buffer, or the image file contained invalid data.</p>
|
|
316
316
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
317
317
|
gdk_pixbuf_animation_new_from_resource
|
318
318
|
(<em class="parameter"><code>const <span class="type">char</span> *resource_path</code></em>,
|
319
|
-
<em class="parameter"><code><a href="
|
319
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
320
320
|
<p>Creates a new pixbuf animation by loading an image from an resource.</p>
|
321
|
-
<p>The file format is detected automatically. If <a href="
|
321
|
+
<p>The file format is detected automatically. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
322
322
|
<em class="parameter"><code>error</code></em>
|
323
323
|
will be set.</p>
|
324
324
|
<div class="refsect3">
|
@@ -345,7 +345,7 @@ gdk_pixbuf_animation_new_from_resource
|
|
345
345
|
</div>
|
346
346
|
<div class="refsect3">
|
347
347
|
<a name="id-1.2.14.12.3.7"></a><h4>Returns</h4>
|
348
|
-
<p> A newly-created animation, or <a href="
|
348
|
+
<p> A newly-created animation, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error
|
349
349
|
conditions occurred: the file could not be opened, the image format is
|
350
350
|
not supported, there was not enough memory to allocate the image buffer,
|
351
351
|
the stream contained invalid data, or the operation was cancelled.</p>
|
@@ -357,17 +357,17 @@ the stream contained invalid data, or the operation was cancelled.</p>
|
|
357
357
|
<div class="refsect2">
|
358
358
|
<a name="gdk-pixbuf-animation-new-from-stream"></a><h3>gdk_pixbuf_animation_new_from_stream ()</h3>
|
359
359
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
360
|
-
gdk_pixbuf_animation_new_from_stream (<em class="parameter"><code><a href="
|
361
|
-
<em class="parameter"><code><a href="
|
362
|
-
<em class="parameter"><code><a href="
|
360
|
+
gdk_pixbuf_animation_new_from_stream (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a> *stream</code></em>,
|
361
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
362
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
363
363
|
<p>Creates a new animation by loading it from an input stream.</p>
|
364
|
-
<p>The file format is detected automatically. If <a href="
|
364
|
+
<p>The file format is detected automatically. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
365
365
|
<em class="parameter"><code>error</code></em>
|
366
366
|
will be set. The <em class="parameter"><code>cancellable</code></em>
|
367
367
|
can be used to abort the operation
|
368
368
|
from another thread. If the operation was cancelled, the error
|
369
369
|
<code class="literal">G_IO_ERROR_CANCELLED</code> will be returned. Other possible errors are in
|
370
|
-
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 <a href="
|
370
|
+
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 <a href="http://library.gnome.org/devel/gio/unstable/gio-GIOError.html#G-IO-ERROR:CAPS"><code class="literal">G_IO_ERROR</code></a> domains. </p>
|
371
371
|
<p>The stream is not closed.</p>
|
372
372
|
<div class="refsect3">
|
373
373
|
<a name="id-1.2.14.12.4.7"></a><h4>Parameters</h4>
|
@@ -380,12 +380,12 @@ the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERR
|
|
380
380
|
<tbody>
|
381
381
|
<tr>
|
382
382
|
<td class="parameter_name"><p>stream</p></td>
|
383
|
-
<td class="parameter_description"><p>a <a href="
|
383
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a> to load the pixbuf from</p></td>
|
384
384
|
<td class="parameter_annotations"> </td>
|
385
385
|
</tr>
|
386
386
|
<tr>
|
387
387
|
<td class="parameter_name"><p>cancellable</p></td>
|
388
|
-
<td class="parameter_description"><p> optional <a href="
|
388
|
+
<td class="parameter_description"><p> optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
389
389
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
390
390
|
</tr>
|
391
391
|
<tr>
|
@@ -398,7 +398,7 @@ the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERR
|
|
398
398
|
</div>
|
399
399
|
<div class="refsect3">
|
400
400
|
<a name="id-1.2.14.12.4.8"></a><h4>Returns</h4>
|
401
|
-
<p> A newly-created pixbuf, or <a href="
|
401
|
+
<p> A newly-created pixbuf, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error
|
402
402
|
conditions occurred: the file could not be opened, the image format is
|
403
403
|
not supported, there was not enough memory to allocate the image buffer,
|
404
404
|
the stream contained invalid data, or the operation was cancelled.</p>
|
@@ -411,10 +411,10 @@ the stream contained invalid data, or the operation was cancelled.</p>
|
|
411
411
|
<a name="gdk-pixbuf-animation-new-from-stream-async"></a><h3>gdk_pixbuf_animation_new_from_stream_async ()</h3>
|
412
412
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
413
413
|
gdk_pixbuf_animation_new_from_stream_async
|
414
|
-
(<em class="parameter"><code><a href="
|
415
|
-
<em class="parameter"><code><a href="
|
416
|
-
<em class="parameter"><code><a href="
|
417
|
-
<em class="parameter"><code><a href="
|
414
|
+
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a> *stream</code></em>,
|
415
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
416
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
417
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
418
418
|
<p>Creates a new animation by asynchronously loading an image from an input stream.</p>
|
419
419
|
<p>For more details see <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream" title="gdk_pixbuf_new_from_stream ()"><code class="function">gdk_pixbuf_new_from_stream()</code></a>, which is the synchronous
|
420
420
|
version of this function.</p>
|
@@ -433,17 +433,17 @@ result of the operation.</p>
|
|
433
433
|
<tbody>
|
434
434
|
<tr>
|
435
435
|
<td class="parameter_name"><p>stream</p></td>
|
436
|
-
<td class="parameter_description"><p>a <a href="
|
436
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GInputStream.html"><span class="type">GInputStream</span></a> from which to load the animation</p></td>
|
437
437
|
<td class="parameter_annotations"> </td>
|
438
438
|
</tr>
|
439
439
|
<tr>
|
440
440
|
<td class="parameter_name"><p>cancellable</p></td>
|
441
|
-
<td class="parameter_description"><p> optional <a href="
|
441
|
+
<td class="parameter_description"><p> optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
442
442
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
443
443
|
</tr>
|
444
444
|
<tr>
|
445
445
|
<td class="parameter_name"><p>callback</p></td>
|
446
|
-
<td class="parameter_description"><p>a <a href="
|
446
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the the pixbuf is loaded</p></td>
|
447
447
|
<td class="parameter_annotations"> </td>
|
448
448
|
</tr>
|
449
449
|
<tr>
|
@@ -461,8 +461,8 @@ result of the operation.</p>
|
|
461
461
|
<a name="gdk-pixbuf-animation-new-from-stream-finish"></a><h3>gdk_pixbuf_animation_new_from_stream_finish ()</h3>
|
462
462
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
463
463
|
gdk_pixbuf_animation_new_from_stream_finish
|
464
|
-
(<em class="parameter"><code><a href="
|
465
|
-
<em class="parameter"><code><a href="
|
464
|
+
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *async_result</code></em>,
|
465
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
466
466
|
<p>Finishes an asynchronous pixbuf animation creation operation started with
|
467
467
|
<a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-stream-async" title="gdk_pixbuf_animation_new_from_stream_async ()"><code class="function">gdk_pixbuf_animation_new_from_stream_async()</code></a>.</p>
|
468
468
|
<div class="refsect3">
|
@@ -476,12 +476,12 @@ gdk_pixbuf_animation_new_from_stream_finish
|
|
476
476
|
<tbody>
|
477
477
|
<tr>
|
478
478
|
<td class="parameter_name"><p>async_result</p></td>
|
479
|
-
<td class="parameter_description"><p>a <a href="
|
479
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a></p></td>
|
480
480
|
<td class="parameter_annotations"> </td>
|
481
481
|
</tr>
|
482
482
|
<tr>
|
483
483
|
<td class="parameter_name"><p>error</p></td>
|
484
|
-
<td class="parameter_description"><p>a <a href="
|
484
|
+
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
485
485
|
<td class="parameter_annotations"> </td>
|
486
486
|
</tr>
|
487
487
|
</tbody>
|
@@ -489,8 +489,8 @@ gdk_pixbuf_animation_new_from_stream_finish
|
|
489
489
|
</div>
|
490
490
|
<div class="refsect3">
|
491
491
|
<a name="id-1.2.14.12.6.6"></a><h4>Returns</h4>
|
492
|
-
<p> a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> or <a href="
|
493
|
-
object with <a href="
|
492
|
+
<p> a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. Free the returned
|
493
|
+
object with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
494
494
|
<p></p>
|
495
495
|
</div>
|
496
496
|
<p class="since">Since 2.28</p>
|
@@ -502,7 +502,7 @@ object with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/sh
|
|
502
502
|
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>
|
503
503
|
<div class="warning">
|
504
504
|
<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.</p>
|
505
|
-
<p>Use <a href="
|
505
|
+
<p>Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.</p>
|
506
506
|
</div>
|
507
507
|
<p>Adds a reference to an animation.</p>
|
508
508
|
<div class="refsect3">
|
@@ -534,7 +534,7 @@ argument.</p>
|
|
534
534
|
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>
|
535
535
|
<div class="warning">
|
536
536
|
<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.</p>
|
537
|
-
<p>Use <a href="
|
537
|
+
<p>Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
538
538
|
</div>
|
539
539
|
<p>Removes a reference from an animation.</p>
|
540
540
|
<div class="refsect3">
|
@@ -612,23 +612,23 @@ gdk_pixbuf_animation_get_height (<em class="parameter"><code><a class="link" hre
|
|
612
612
|
<a name="gdk-pixbuf-animation-get-iter"></a><h3>gdk_pixbuf_animation_get_iter ()</h3>
|
613
613
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="returnvalue">GdkPixbufAnimationIter</span></a> *
|
614
614
|
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>,
|
615
|
-
<em class="parameter"><code>const <a href="
|
615
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *start_time</code></em>);</pre>
|
616
616
|
<p>Get an iterator for displaying an animation. The iterator provides
|
617
617
|
the frames that should be displayed at a given time.
|
618
|
-
It should be freed after use with <a href="
|
618
|
+
It should be freed after use with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
619
619
|
<p><em class="parameter"><code>start_time</code></em>
|
620
|
-
would normally come from <a href="
|
620
|
+
would normally come from <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#g-get-current-time"><code class="function">g_get_current_time()</code></a>, and
|
621
621
|
marks the beginning of animation playback. After creating an
|
622
622
|
iterator, you should immediately display the pixbuf returned by
|
623
623
|
<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
|
624
|
-
timeout (with <a href="
|
624
|
+
timeout (with <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add"><code class="function">g_timeout_add()</code></a>) or by some other mechanism ensure
|
625
625
|
that you'll update the image after
|
626
626
|
<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
|
627
627
|
the image is updated, you should reinstall the timeout with the new,
|
628
628
|
possibly-changed delay time.</p>
|
629
629
|
<p>As a shortcut, if <em class="parameter"><code>start_time</code></em>
|
630
|
-
is <a href="
|
631
|
-
<a href="
|
630
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the result of
|
631
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#g-get-current-time"><code class="function">g_get_current_time()</code></a> will be used automatically.</p>
|
632
632
|
<p>To update the image (i.e. possibly change the result of
|
633
633
|
<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),
|
634
634
|
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>.</p>
|
@@ -636,7 +636,7 @@ call <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-
|
|
636
636
|
after the delay time, you should also update it whenever you
|
637
637
|
receive the area_updated signal and
|
638
638
|
<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
|
639
|
-
<a href="
|
639
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. In this case, the frame currently being fed into the loader
|
640
640
|
has received new data, so needs to be refreshed. The delay time for
|
641
641
|
a frame may also be modified after an area_updated signal, for
|
642
642
|
example if the delay time for a frame is encoded in the data after
|
@@ -674,11 +674,11 @@ area_updated signal.</p>
|
|
674
674
|
<hr>
|
675
675
|
<div class="refsect2">
|
676
676
|
<a name="gdk-pixbuf-animation-is-static-image"></a><h3>gdk_pixbuf_animation_is_static_image ()</h3>
|
677
|
-
<pre class="programlisting"><a href="
|
677
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
678
678
|
gdk_pixbuf_animation_is_static_image (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
679
679
|
<p>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
|
680
680
|
out to be a plain, unanimated image, then this function will return
|
681
|
-
<a href="
|
681
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. 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
|
682
682
|
the image.</p>
|
683
683
|
<div class="refsect3">
|
684
684
|
<a name="id-1.2.14.12.12.5"></a><h4>Parameters</h4>
|
@@ -697,7 +697,7 @@ the image.</p>
|
|
697
697
|
</div>
|
698
698
|
<div class="refsect3">
|
699
699
|
<a name="id-1.2.14.12.12.6"></a><h4>Returns</h4>
|
700
|
-
<p> <a href="
|
700
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the "animation" was really just an image</p>
|
701
701
|
<p></p>
|
702
702
|
</div>
|
703
703
|
</div>
|
@@ -711,7 +711,7 @@ this function returns that image. If the animation is an animation,
|
|
711
711
|
this function returns a reasonable thing to display as a static
|
712
712
|
unanimated image, which might be the first frame, or something more
|
713
713
|
sophisticated. If an animation hasn't loaded any frames yet, this
|
714
|
-
function will return <a href="
|
714
|
+
function will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
715
715
|
<div class="refsect3">
|
716
716
|
<a name="id-1.2.14.12.13.5"></a><h4>Parameters</h4>
|
717
717
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -736,26 +736,26 @@ function will return <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor
|
|
736
736
|
<hr>
|
737
737
|
<div class="refsect2">
|
738
738
|
<a name="gdk-pixbuf-animation-iter-advance"></a><h3>gdk_pixbuf_animation_iter_advance ()</h3>
|
739
|
-
<pre class="programlisting"><a href="
|
739
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
740
740
|
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>,
|
741
|
-
<em class="parameter"><code>const <a href="
|
741
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *current_time</code></em>);</pre>
|
742
742
|
<p>Possibly advances an animation to a new frame. Chooses the frame based
|
743
743
|
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>.</p>
|
744
744
|
<p><em class="parameter"><code>current_time</code></em>
|
745
|
-
would normally come from <a href="
|
745
|
+
would normally come from <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#g-get-current-time"><code class="function">g_get_current_time()</code></a>, and
|
746
746
|
must be greater than or equal to the time passed to
|
747
747
|
<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
|
748
748
|
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
|
749
749
|
called. That is, you can't go backward in time; animations only
|
750
750
|
play forward.</p>
|
751
|
-
<p>As a shortcut, pass <a href="
|
751
|
+
<p>As a shortcut, pass <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for the current time and <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#g-get-current-time"><code class="function">g_get_current_time()</code></a>
|
752
752
|
will be invoked on your behalf. So you only need to explicitly pass
|
753
753
|
<em class="parameter"><code>current_time</code></em>
|
754
754
|
if you're doing something odd like playing the animation
|
755
755
|
at double speed.</p>
|
756
|
-
<p>If this function returns <a href="
|
756
|
+
<p>If this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, there's no need to update the animation
|
757
757
|
display, assuming the display had been rendered prior to advancing;
|
758
|
-
if <a href="
|
758
|
+
if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, you need to call <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>
|
759
759
|
and update the display with the new pixbuf.</p>
|
760
760
|
<div class="refsect3">
|
761
761
|
<a name="id-1.2.14.12.14.8"></a><h4>Parameters</h4>
|
@@ -781,7 +781,7 @@ and update the display with the new pixbuf.</p>
|
|
781
781
|
</div>
|
782
782
|
<div class="refsect3">
|
783
783
|
<a name="id-1.2.14.12.14.9"></a><h4>Returns</h4>
|
784
|
-
<p> <a href="
|
784
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the image may need updating</p>
|
785
785
|
<p></p>
|
786
786
|
</div>
|
787
787
|
</div>
|
@@ -792,7 +792,7 @@ and update the display with the new pixbuf.</p>
|
|
792
792
|
gdk_pixbuf_animation_iter_get_delay_time
|
793
793
|
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
794
794
|
<p>Gets the number of milliseconds the current pixbuf should be displayed,
|
795
|
-
or -1 if the current pixbuf should be displayed forever. <a href="
|
795
|
+
or -1 if the current pixbuf should be displayed forever. <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add"><code class="function">g_timeout_add()</code></a>
|
796
796
|
conveniently takes a timeout in milliseconds, so you can use a timeout
|
797
797
|
to schedule the next update.</p>
|
798
798
|
<div class="refsect3">
|
@@ -819,7 +819,7 @@ to schedule the next update.</p>
|
|
819
819
|
<hr>
|
820
820
|
<div class="refsect2">
|
821
821
|
<a name="gdk-pixbuf-animation-iter-on-currently-loading-frame"></a><h3>gdk_pixbuf_animation_iter_on_currently_loading_frame ()</h3>
|
822
|
-
<pre class="programlisting"><a href="
|
822
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
823
823
|
gdk_pixbuf_animation_iter_on_currently_loading_frame
|
824
824
|
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
825
825
|
<p>Used to determine how to respond to the area_updated signal on
|
@@ -844,7 +844,7 @@ the updated area.</p>
|
|
844
844
|
</div>
|
845
845
|
<div class="refsect3">
|
846
846
|
<a name="id-1.2.14.12.16.6"></a><h4>Returns</h4>
|
847
|
-
<p> <a href="
|
847
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the frame we're on is partially loaded, or the last frame</p>
|
848
848
|
<p></p>
|
849
849
|
</div>
|
850
850
|
</div>
|
@@ -889,9 +889,9 @@ the iterator.</p>
|
|
889
889
|
<div class="refsect2">
|
890
890
|
<a name="gdk-pixbuf-simple-anim-new"></a><h3>gdk_pixbuf_simple_anim_new ()</h3>
|
891
891
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="returnvalue">GdkPixbufSimpleAnim</span></a> *
|
892
|
-
gdk_pixbuf_simple_anim_new (<em class="parameter"><code><a href="
|
893
|
-
<em class="parameter"><code><a href="
|
894
|
-
<em class="parameter"><code><a href="
|
892
|
+
gdk_pixbuf_simple_anim_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
893
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
894
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> rate</code></em>);</pre>
|
895
895
|
<p>Creates a new, empty animation.</p>
|
896
896
|
<div class="refsect3">
|
897
897
|
<a name="id-1.2.14.12.18.5"></a><h4>Parameters</h4>
|
@@ -967,7 +967,7 @@ was constructed.</p>
|
|
967
967
|
<a name="gdk-pixbuf-simple-anim-set-loop"></a><h3>gdk_pixbuf_simple_anim_set_loop ()</h3>
|
968
968
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
969
969
|
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>,
|
970
|
-
<em class="parameter"><code><a href="
|
970
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> loop</code></em>);</pre>
|
971
971
|
<p>Sets whether <em class="parameter"><code>animation</code></em>
|
972
972
|
should loop indefinitely when it reaches the end.</p>
|
973
973
|
<div class="refsect3">
|
@@ -997,7 +997,7 @@ gdk_pixbuf_simple_anim_set_loop (<em class="parameter"><code><a class="link" hre
|
|
997
997
|
<hr>
|
998
998
|
<div class="refsect2">
|
999
999
|
<a name="gdk-pixbuf-simple-anim-get-loop"></a><h3>gdk_pixbuf_simple_anim_get_loop ()</h3>
|
1000
|
-
<pre class="programlisting"><a href="
|
1000
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1001
1001
|
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>
|
1002
1002
|
<p>Gets whether <em class="parameter"><code>animation</code></em>
|
1003
1003
|
should loop indefinitely when it reaches the end.</p>
|
@@ -1018,7 +1018,7 @@ gdk_pixbuf_simple_anim_get_loop (<em class="parameter"><code><a class="link" hre
|
|
1018
1018
|
</div>
|
1019
1019
|
<div class="refsect3">
|
1020
1020
|
<a name="id-1.2.14.12.21.6"></a><h4>Returns</h4>
|
1021
|
-
<p> <a href="
|
1021
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the animation loops forever, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
1022
1022
|
<p></p>
|
1023
1023
|
</div>
|
1024
1024
|
<p class="since">Since 2.18</p>
|
@@ -1049,7 +1049,7 @@ certain position in an animation.</p>
|
|
1049
1049
|
<a name="gdk-pixbuf-Animations.property-details"></a><h2>Property Details</h2>
|
1050
1050
|
<div class="refsect2">
|
1051
1051
|
<a name="GdkPixbufSimpleAnim--loop"></a><h3>The <code class="literal">“loop”</code> property</h3>
|
1052
|
-
<pre class="programlisting"> “loop” <a href="
|
1052
|
+
<pre class="programlisting"> “loop” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1053
1053
|
<p>Whether the animation should loop when it reaches the end.</p>
|
1054
1054
|
<p>Flags: Read / Write</p>
|
1055
1055
|
<p>Default value: FALSE</p>
|