gdk_pixbuf2 3.2.5-x64-mingw32 → 3.2.6-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COPYING.LIB +502 -0
- data/README.md +30 -0
- data/Rakefile +5 -5
- data/gdk_pixbuf2.gemspec +42 -0
- data/lib/gdk_pixbuf2/deprecated.rb +9 -7
- data/lib/gdk_pixbuf2/loader.rb +10 -1
- data/lib/gdk_pixbuf2/pixbuf.rb +14 -12
- data/test/test-pixbuf.rb +2 -2
- 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/gdk-pixbuf-thumbnailer.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-features.h +2 -2
- 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/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 +3 -3
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +24 -20
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +4 -2
- 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 +75 -74
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +108 -105
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +133 -133
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +34 -34
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +43 -43
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +55 -55
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +14 -14
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +82 -82
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +15 -15
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +2 -2
- data/vendor/local/share/locale/ca@valencia/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/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/el/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/es/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/fur/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/he/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/id/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/kk/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/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/nb/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/oc/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/pt_BR/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/sr/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/tr/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 -135
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -73
- metadata +7 -18
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
8
8
|
<link rel="up" href="index.html" title="GDK-PixBuf Reference Manual">
|
9
9
|
<link rel="prev" href="license.html" title="Appendix A. License">
|
10
|
-
<meta name="generator" content="GTK-Doc V1.
|
10
|
+
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
11
11
|
<link rel="stylesheet" href="style.css" type="text/css">
|
12
12
|
</head>
|
13
13
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -71,8 +71,10 @@
|
|
71
71
|
<dd class="glossdef"><p>Free data after the code is done.</p></dd>
|
72
72
|
<dt><span class="glossterm"><a name="annotation-glossterm-transfer%20none"></a>transfer none</span></dt>
|
73
73
|
<dd class="glossdef"><p>Don't free data after the code is done.</p></dd>
|
74
|
+
<dt><span class="glossterm"><a name="annotation-glossterm-type"></a>type</span></dt>
|
75
|
+
<dd class="glossdef"><p>Override the parsed C type with given type.</p></dd>
|
74
76
|
</div>
|
75
77
|
<div class="footer">
|
76
|
-
<hr>Generated by GTK-Doc V1.
|
78
|
+
<hr>Generated by GTK-Doc V1.27</div>
|
77
79
|
</body>
|
78
80
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="index.html" title="GDK-PixBuf Reference Manual">
|
9
9
|
<link rel="prev" href="gdk-pixbuf-query-loaders.html" title="gdk-pixbuf-query-loaders">
|
10
10
|
<link rel="next" href="api-index-deprecated.html" title="Index of deprecated symbols">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -909,6 +909,6 @@
|
|
909
909
|
<dd></dd>
|
910
910
|
</div>
|
911
911
|
<div class="footer">
|
912
|
-
<hr>Generated by GTK-Doc V1.
|
912
|
+
<hr>Generated by GTK-Doc V1.27</div>
|
913
913
|
</body>
|
914
914
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-pixbuf-Utilities.html" title="Utilities">
|
10
10
|
<link rel="next" href="GdkPixbufLoader.html" title="GdkPixbufLoader">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -123,7 +123,7 @@
|
|
123
123
|
</tr>
|
124
124
|
<tr>
|
125
125
|
<td class="function_type">
|
126
|
-
<
|
126
|
+
<span class="returnvalue">gboolean</span>
|
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
|
-
<
|
142
|
+
<span class="returnvalue">gboolean</span>
|
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
|
-
<
|
158
|
+
<span class="returnvalue">gboolean</span>
|
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
|
-
<
|
198
|
+
<span class="returnvalue">gboolean</span>
|
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"><
|
216
|
+
<td class="property_type"><span class="type">gboolean</span></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">
|
247
|
+
<pre class="screen"> GObject
|
248
248
|
<span class="lineart">├──</span> GdkPixbufAnimation
|
249
249
|
<span class="lineart">│</span> <span class="lineart">╰──</span> GdkPixbufSimpleAnim
|
250
250
|
<span class="lineart">╰──</span> GdkPixbufAnimationIter
|
@@ -252,7 +252,7 @@
|
|
252
252
|
</div>
|
253
253
|
<div class="refsect1">
|
254
254
|
<a name="gdk-pixbuf-Animations.includes"></a><h2>Includes</h2>
|
255
|
-
<pre class="synopsis">#include <gdk-pixbuf/gdk-
|
255
|
+
<pre class="synopsis">#include <gdk-pixbuf/gdk-pixdata.h>
|
256
256
|
</pre>
|
257
257
|
</div>
|
258
258
|
<div class="refsect1">
|
@@ -272,11 +272,11 @@ be displayed at a given point in time.</p>
|
|
272
272
|
<a name="gdk-pixbuf-animation-new-from-file"></a><h3>gdk_pixbuf_animation_new_from_file ()</h3>
|
273
273
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
274
274
|
gdk_pixbuf_animation_new_from_file (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
275
|
-
<em class="parameter"><code><
|
275
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
276
276
|
<p>Creates a new animation by loading it from a file. The file format is
|
277
277
|
detected automatically. If the file's format does not support multi-frame
|
278
278
|
images, then an animation with a single frame will be created. Possible errors
|
279
|
-
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 <
|
279
|
+
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.</p>
|
280
280
|
<div class="refsect3">
|
281
281
|
<a name="gdk-pixbuf-animation-new-from-file.parameters"></a><h4>Parameters</h4>
|
282
282
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -288,8 +288,9 @@ are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIX
|
|
288
288
|
<tbody>
|
289
289
|
<tr>
|
290
290
|
<td class="parameter_name"><p>filename</p></td>
|
291
|
-
<td class="parameter_description"><p>Name of file to load, in the GLib file
|
292
|
-
|
291
|
+
<td class="parameter_description"><p>Name of file to load, in the GLib file
|
292
|
+
name encoding. </p></td>
|
293
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
293
294
|
</tr>
|
294
295
|
<tr>
|
295
296
|
<td class="parameter_name"><p>error</p></td>
|
@@ -301,7 +302,7 @@ are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIX
|
|
301
302
|
</div>
|
302
303
|
<div class="refsect3">
|
303
304
|
<a name="gdk-pixbuf-animation-new-from-file.returns"></a><h4>Returns</h4>
|
304
|
-
<p> A newly-created animation with a reference count of 1, or <
|
305
|
+
<p> A newly-created animation with a reference count of 1, or <code class="literal">NULL</code>
|
305
306
|
if any of several error conditions ocurred: the file could not be opened,
|
306
307
|
there was no loader for the file's format, there was not enough memory to
|
307
308
|
allocate the image buffer, or the image file contained invalid data.</p>
|
@@ -313,9 +314,9 @@ allocate the image buffer, or the image file contained invalid data.</p>
|
|
313
314
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
314
315
|
gdk_pixbuf_animation_new_from_resource
|
315
316
|
(<em class="parameter"><code>const <span class="type">char</span> *resource_path</code></em>,
|
316
|
-
<em class="parameter"><code><
|
317
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
317
318
|
<p>Creates a new pixbuf animation by loading an image from an resource.</p>
|
318
|
-
<p>The file format is detected automatically. If <
|
319
|
+
<p>The file format is detected automatically. If <code class="literal">NULL</code> is returned, then
|
319
320
|
<em class="parameter"><code>error</code></em>
|
320
321
|
will be set.</p>
|
321
322
|
<div class="refsect3">
|
@@ -342,7 +343,7 @@ gdk_pixbuf_animation_new_from_resource
|
|
342
343
|
</div>
|
343
344
|
<div class="refsect3">
|
344
345
|
<a name="gdk-pixbuf-animation-new-from-resource.returns"></a><h4>Returns</h4>
|
345
|
-
<p> A newly-created animation, or <
|
346
|
+
<p> A newly-created animation, or <code class="literal">NULL</code> if any of several error
|
346
347
|
conditions occurred: the file could not be opened, the image format is
|
347
348
|
not supported, there was not enough memory to allocate the image buffer,
|
348
349
|
the stream contained invalid data, or the operation was cancelled.</p>
|
@@ -353,17 +354,17 @@ the stream contained invalid data, or the operation was cancelled.</p>
|
|
353
354
|
<div class="refsect2">
|
354
355
|
<a name="gdk-pixbuf-animation-new-from-stream"></a><h3>gdk_pixbuf_animation_new_from_stream ()</h3>
|
355
356
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
356
|
-
gdk_pixbuf_animation_new_from_stream (<em class="parameter"><code><
|
357
|
-
<em class="parameter"><code><
|
358
|
-
<em class="parameter"><code><
|
357
|
+
gdk_pixbuf_animation_new_from_stream (<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
358
|
+
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
359
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
359
360
|
<p>Creates a new animation by loading it from an input stream.</p>
|
360
|
-
<p>The file format is detected automatically. If <
|
361
|
+
<p>The file format is detected automatically. If <code class="literal">NULL</code> is returned, then
|
361
362
|
<em class="parameter"><code>error</code></em>
|
362
363
|
will be set. The <em class="parameter"><code>cancellable</code></em>
|
363
364
|
can be used to abort the operation
|
364
365
|
from another thread. If the operation was cancelled, the error
|
365
|
-
<
|
366
|
-
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 <
|
366
|
+
<code class="literal">G_IO_ERROR_CANCELLED</code> will be returned. Other possible errors are in
|
367
|
+
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 <code class="literal">G_IO_ERROR</code> domains.</p>
|
367
368
|
<p>The stream is not closed.</p>
|
368
369
|
<div class="refsect3">
|
369
370
|
<a name="gdk-pixbuf-animation-new-from-stream.parameters"></a><h4>Parameters</h4>
|
@@ -376,12 +377,12 @@ the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERR
|
|
376
377
|
<tbody>
|
377
378
|
<tr>
|
378
379
|
<td class="parameter_name"><p>stream</p></td>
|
379
|
-
<td class="parameter_description"><p>a <
|
380
|
+
<td class="parameter_description"><p>a <span class="type">GInputStream</span> to load the pixbuf from</p></td>
|
380
381
|
<td class="parameter_annotations"> </td>
|
381
382
|
</tr>
|
382
383
|
<tr>
|
383
384
|
<td class="parameter_name"><p>cancellable</p></td>
|
384
|
-
<td class="parameter_description"><p>
|
385
|
+
<td class="parameter_description"><p>optional <span class="type">GCancellable</span> object, <code class="literal">NULL</code> to ignore. </p></td>
|
385
386
|
<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>
|
386
387
|
</tr>
|
387
388
|
<tr>
|
@@ -394,7 +395,7 @@ the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERR
|
|
394
395
|
</div>
|
395
396
|
<div class="refsect3">
|
396
397
|
<a name="gdk-pixbuf-animation-new-from-stream.returns"></a><h4>Returns</h4>
|
397
|
-
<p> A newly-created pixbuf, or <
|
398
|
+
<p> A newly-created pixbuf, or <code class="literal">NULL</code> if any of several error
|
398
399
|
conditions occurred: the file could not be opened, the image format is
|
399
400
|
not supported, there was not enough memory to allocate the image buffer,
|
400
401
|
the stream contained invalid data, or the operation was cancelled.</p>
|
@@ -406,10 +407,10 @@ the stream contained invalid data, or the operation was cancelled.</p>
|
|
406
407
|
<a name="gdk-pixbuf-animation-new-from-stream-async"></a><h3>gdk_pixbuf_animation_new_from_stream_async ()</h3>
|
407
408
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
408
409
|
gdk_pixbuf_animation_new_from_stream_async
|
409
|
-
(<em class="parameter"><code><
|
410
|
-
<em class="parameter"><code><
|
411
|
-
<em class="parameter"><code><
|
412
|
-
<em class="parameter"><code><
|
410
|
+
(<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
411
|
+
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
412
|
+
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
413
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
413
414
|
<p>Creates a new animation by asynchronously loading an image from an input stream.</p>
|
414
415
|
<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
|
415
416
|
version of this function.</p>
|
@@ -428,17 +429,17 @@ result of the operation.</p>
|
|
428
429
|
<tbody>
|
429
430
|
<tr>
|
430
431
|
<td class="parameter_name"><p>stream</p></td>
|
431
|
-
<td class="parameter_description"><p>a <
|
432
|
+
<td class="parameter_description"><p>a <span class="type">GInputStream</span> from which to load the animation</p></td>
|
432
433
|
<td class="parameter_annotations"> </td>
|
433
434
|
</tr>
|
434
435
|
<tr>
|
435
436
|
<td class="parameter_name"><p>cancellable</p></td>
|
436
|
-
<td class="parameter_description"><p>
|
437
|
+
<td class="parameter_description"><p>optional <span class="type">GCancellable</span> object, <code class="literal">NULL</code> to ignore. </p></td>
|
437
438
|
<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>
|
438
439
|
</tr>
|
439
440
|
<tr>
|
440
441
|
<td class="parameter_name"><p>callback</p></td>
|
441
|
-
<td class="parameter_description"><p>a <
|
442
|
+
<td class="parameter_description"><p>a <span class="type">GAsyncReadyCallback</span> to call when the pixbuf is loaded</p></td>
|
442
443
|
<td class="parameter_annotations"> </td>
|
443
444
|
</tr>
|
444
445
|
<tr>
|
@@ -456,8 +457,8 @@ result of the operation.</p>
|
|
456
457
|
<a name="gdk-pixbuf-animation-new-from-stream-finish"></a><h3>gdk_pixbuf_animation_new_from_stream_finish ()</h3>
|
457
458
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
458
459
|
gdk_pixbuf_animation_new_from_stream_finish
|
459
|
-
(<em class="parameter"><code><
|
460
|
-
<em class="parameter"><code><
|
460
|
+
(<em class="parameter"><code><span class="type">GAsyncResult</span> *async_result</code></em>,
|
461
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
461
462
|
<p>Finishes an asynchronous pixbuf animation creation operation started with
|
462
463
|
<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>
|
463
464
|
<div class="refsect3">
|
@@ -471,12 +472,12 @@ gdk_pixbuf_animation_new_from_stream_finish
|
|
471
472
|
<tbody>
|
472
473
|
<tr>
|
473
474
|
<td class="parameter_name"><p>async_result</p></td>
|
474
|
-
<td class="parameter_description"><p>a <
|
475
|
+
<td class="parameter_description"><p>a <span class="type">GAsyncResult</span></p></td>
|
475
476
|
<td class="parameter_annotations"> </td>
|
476
477
|
</tr>
|
477
478
|
<tr>
|
478
479
|
<td class="parameter_name"><p>error</p></td>
|
479
|
-
<td class="parameter_description"><p>a <
|
480
|
+
<td class="parameter_description"><p>a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
480
481
|
<td class="parameter_annotations"> </td>
|
481
482
|
</tr>
|
482
483
|
</tbody>
|
@@ -484,8 +485,8 @@ gdk_pixbuf_animation_new_from_stream_finish
|
|
484
485
|
</div>
|
485
486
|
<div class="refsect3">
|
486
487
|
<a name="gdk-pixbuf-animation-new-from-stream-finish.returns"></a><h4>Returns</h4>
|
487
|
-
<p> a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> or <
|
488
|
-
object with <
|
488
|
+
<p> a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> or <code class="literal">NULL</code> on error. Free the returned
|
489
|
+
object with <code class="function">g_object_unref()</code>.</p>
|
489
490
|
</div>
|
490
491
|
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
491
492
|
</div>
|
@@ -496,7 +497,7 @@ object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref
|
|
496
497
|
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>
|
497
498
|
<div class="warning">
|
498
499
|
<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>
|
499
|
-
<p>Use <
|
500
|
+
<p>Use <code class="function">g_object_ref()</code>.</p>
|
500
501
|
</div>
|
501
502
|
<p>Adds a reference to an animation.</p>
|
502
503
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
@@ -528,7 +529,7 @@ argument.</p>
|
|
528
529
|
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>
|
529
530
|
<div class="warning">
|
530
531
|
<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>
|
531
|
-
<p>Use <
|
532
|
+
<p>Use <code class="function">g_object_unref()</code>.</p>
|
532
533
|
</div>
|
533
534
|
<p>Removes a reference from an animation.</p>
|
534
535
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
@@ -605,23 +606,23 @@ gdk_pixbuf_animation_get_height (<em class="parameter"><code><a class="link" hre
|
|
605
606
|
<a name="gdk-pixbuf-animation-get-iter"></a><h3>gdk_pixbuf_animation_get_iter ()</h3>
|
606
607
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="returnvalue">GdkPixbufAnimationIter</span></a> *
|
607
608
|
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>,
|
608
|
-
<em class="parameter"><code>const <
|
609
|
+
<em class="parameter"><code>const <span class="type">GTimeVal</span> *start_time</code></em>);</pre>
|
609
610
|
<p>Get an iterator for displaying an animation. The iterator provides
|
610
611
|
the frames that should be displayed at a given time. It should be
|
611
|
-
freed after use with <
|
612
|
+
freed after use with <code class="function">g_object_unref()</code>.</p>
|
612
613
|
<p><em class="parameter"><code>start_time</code></em>
|
613
|
-
would normally come from <
|
614
|
+
would normally come from <code class="function">g_get_current_time()</code>, and marks
|
614
615
|
the beginning of animation playback. After creating an iterator, you
|
615
616
|
should immediately display the pixbuf returned by
|
616
617
|
<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
|
617
|
-
a timeout (with <
|
618
|
+
a timeout (with <code class="function">g_timeout_add()</code>) or by some other mechanism ensure
|
618
619
|
that you'll update the image after
|
619
620
|
<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
|
620
621
|
the image is updated, you should reinstall the timeout with the new,
|
621
622
|
possibly-changed delay time.</p>
|
622
623
|
<p>As a shortcut, if <em class="parameter"><code>start_time</code></em>
|
623
|
-
is <
|
624
|
-
<
|
624
|
+
is <code class="literal">NULL</code>, the result of
|
625
|
+
<code class="function">g_get_current_time()</code> will be used automatically.</p>
|
625
626
|
<p>To update the image (i.e. possibly change the result of
|
626
627
|
<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),
|
627
628
|
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>
|
@@ -629,7 +630,7 @@ call <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-
|
|
629
630
|
after the delay time, you should also update it whenever you
|
630
631
|
receive the area_updated signal and
|
631
632
|
<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
|
632
|
-
<
|
633
|
+
<code class="literal">TRUE</code>. In this case, the frame currently being fed into the loader
|
633
634
|
has received new data, so needs to be refreshed. The delay time for
|
634
635
|
a frame may also be modified after an area_updated signal, for
|
635
636
|
example if the delay time for a frame is encoded in the data after
|
@@ -652,7 +653,7 @@ area_updated signal.</p>
|
|
652
653
|
</tr>
|
653
654
|
<tr>
|
654
655
|
<td class="parameter_name"><p>start_time</p></td>
|
655
|
-
<td class="parameter_description"><p>
|
656
|
+
<td class="parameter_description"><p>time when the animation starts playing. </p></td>
|
656
657
|
<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>
|
657
658
|
</tr>
|
658
659
|
</tbody>
|
@@ -660,18 +661,18 @@ area_updated signal.</p>
|
|
660
661
|
</div>
|
661
662
|
<div class="refsect3">
|
662
663
|
<a name="gdk-pixbuf-animation-get-iter.returns"></a><h4>Returns</h4>
|
663
|
-
<p>
|
664
|
+
<p>an iterator to move over the animation. </p>
|
664
665
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
665
666
|
</div>
|
666
667
|
</div>
|
667
668
|
<hr>
|
668
669
|
<div class="refsect2">
|
669
670
|
<a name="gdk-pixbuf-animation-is-static-image"></a><h3>gdk_pixbuf_animation_is_static_image ()</h3>
|
670
|
-
<pre class="programlisting"><
|
671
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
671
672
|
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>
|
672
673
|
<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
|
673
674
|
turns out to be a plain, unanimated image, then this function will
|
674
|
-
return <
|
675
|
+
return <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
|
675
676
|
the image.</p>
|
676
677
|
<div class="refsect3">
|
677
678
|
<a name="gdk-pixbuf-animation-is-static-image.parameters"></a><h4>Parameters</h4>
|
@@ -690,7 +691,7 @@ the image.</p>
|
|
690
691
|
</div>
|
691
692
|
<div class="refsect3">
|
692
693
|
<a name="gdk-pixbuf-animation-is-static-image.returns"></a><h4>Returns</h4>
|
693
|
-
<p> <
|
694
|
+
<p> <code class="literal">TRUE</code> if the "animation" was really just an image</p>
|
694
695
|
</div>
|
695
696
|
</div>
|
696
697
|
<hr>
|
@@ -703,7 +704,7 @@ this function returns that image. If the animation is an animation,
|
|
703
704
|
this function returns a reasonable thing to display as a static
|
704
705
|
unanimated image, which might be the first frame, or something more
|
705
706
|
sophisticated. If an animation hasn't loaded any frames yet, this
|
706
|
-
function will return <
|
707
|
+
function will return <code class="literal">NULL</code>.</p>
|
707
708
|
<div class="refsect3">
|
708
709
|
<a name="gdk-pixbuf-animation-get-static-image.parameters"></a><h4>Parameters</h4>
|
709
710
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -721,33 +722,33 @@ function will return <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code
|
|
721
722
|
</div>
|
722
723
|
<div class="refsect3">
|
723
724
|
<a name="gdk-pixbuf-animation-get-static-image.returns"></a><h4>Returns</h4>
|
724
|
-
<p>
|
725
|
+
<p>unanimated image representing the animation. </p>
|
725
726
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
726
727
|
</div>
|
727
728
|
</div>
|
728
729
|
<hr>
|
729
730
|
<div class="refsect2">
|
730
731
|
<a name="gdk-pixbuf-animation-iter-advance"></a><h3>gdk_pixbuf_animation_iter_advance ()</h3>
|
731
|
-
<pre class="programlisting"><
|
732
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
732
733
|
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>,
|
733
|
-
<em class="parameter"><code>const <
|
734
|
+
<em class="parameter"><code>const <span class="type">GTimeVal</span> *current_time</code></em>);</pre>
|
734
735
|
<p>Possibly advances an animation to a new frame. Chooses the frame based
|
735
736
|
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>
|
736
737
|
<p><em class="parameter"><code>current_time</code></em>
|
737
|
-
would normally come from <
|
738
|
+
would normally come from <code class="function">g_get_current_time()</code>, and
|
738
739
|
must be greater than or equal to the time passed to
|
739
740
|
<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
|
740
741
|
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
|
741
742
|
called. That is, you can't go backward in time; animations only
|
742
743
|
play forward.</p>
|
743
|
-
<p>As a shortcut, pass <
|
744
|
+
<p>As a shortcut, pass <code class="literal">NULL</code> for the current time and <code class="function">g_get_current_time()</code>
|
744
745
|
will be invoked on your behalf. So you only need to explicitly pass
|
745
746
|
<em class="parameter"><code>current_time</code></em>
|
746
747
|
if you're doing something odd like playing the animation
|
747
748
|
at double speed.</p>
|
748
|
-
<p>If this function returns <
|
749
|
+
<p>If this function returns <code class="literal">FALSE</code>, there's no need to update the animation
|
749
750
|
display, assuming the display had been rendered prior to advancing;
|
750
|
-
if <
|
751
|
+
if <code class="literal">TRUE</code>, 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>
|
751
752
|
and update the display with the new pixbuf.</p>
|
752
753
|
<div class="refsect3">
|
753
754
|
<a name="gdk-pixbuf-animation-iter-advance.parameters"></a><h4>Parameters</h4>
|
@@ -765,7 +766,7 @@ and update the display with the new pixbuf.</p>
|
|
765
766
|
</tr>
|
766
767
|
<tr>
|
767
768
|
<td class="parameter_name"><p>current_time</p></td>
|
768
|
-
<td class="parameter_description"><p>
|
769
|
+
<td class="parameter_description"><p>current time. </p></td>
|
769
770
|
<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>
|
770
771
|
</tr>
|
771
772
|
</tbody>
|
@@ -773,7 +774,7 @@ and update the display with the new pixbuf.</p>
|
|
773
774
|
</div>
|
774
775
|
<div class="refsect3">
|
775
776
|
<a name="gdk-pixbuf-animation-iter-advance.returns"></a><h4>Returns</h4>
|
776
|
-
<p> <
|
777
|
+
<p> <code class="literal">TRUE</code> if the image may need updating</p>
|
777
778
|
</div>
|
778
779
|
</div>
|
779
780
|
<hr>
|
@@ -783,7 +784,7 @@ and update the display with the new pixbuf.</p>
|
|
783
784
|
gdk_pixbuf_animation_iter_get_delay_time
|
784
785
|
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
785
786
|
<p>Gets the number of milliseconds the current pixbuf should be displayed,
|
786
|
-
or -1 if the current pixbuf should be displayed forever. <
|
787
|
+
or -1 if the current pixbuf should be displayed forever. <code class="function">g_timeout_add()</code>
|
787
788
|
conveniently takes a timeout in milliseconds, so you can use a timeout
|
788
789
|
to schedule the next update.</p>
|
789
790
|
<p>Note that some formats, like GIF, might clamp the timeout values in the
|
@@ -812,7 +813,7 @@ for GIF images is currently 20 milliseconds.</p>
|
|
812
813
|
<hr>
|
813
814
|
<div class="refsect2">
|
814
815
|
<a name="gdk-pixbuf-animation-iter-on-currently-loading-frame"></a><h3>gdk_pixbuf_animation_iter_on_currently_loading_frame ()</h3>
|
815
|
-
<pre class="programlisting"><
|
816
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
816
817
|
gdk_pixbuf_animation_iter_on_currently_loading_frame
|
817
818
|
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
818
819
|
<p>Used to determine how to respond to the area_updated signal on
|
@@ -837,7 +838,7 @@ the updated area.</p>
|
|
837
838
|
</div>
|
838
839
|
<div class="refsect3">
|
839
840
|
<a name="gdk-pixbuf-animation-iter-on-currently-loading-frame.returns"></a><h4>Returns</h4>
|
840
|
-
<p> <
|
841
|
+
<p> <code class="literal">TRUE</code> if the frame we're on is partially loaded, or the last frame</p>
|
841
842
|
</div>
|
842
843
|
</div>
|
843
844
|
<hr>
|
@@ -873,7 +874,7 @@ the iterator.</p>
|
|
873
874
|
</div>
|
874
875
|
<div class="refsect3">
|
875
876
|
<a name="gdk-pixbuf-animation-iter-get-pixbuf.returns"></a><h4>Returns</h4>
|
876
|
-
<p>
|
877
|
+
<p>the pixbuf to be displayed. </p>
|
877
878
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
878
879
|
</div>
|
879
880
|
</div>
|
@@ -881,9 +882,9 @@ the iterator.</p>
|
|
881
882
|
<div class="refsect2">
|
882
883
|
<a name="gdk-pixbuf-simple-anim-new"></a><h3>gdk_pixbuf_simple_anim_new ()</h3>
|
883
884
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufSimpleAnim"><span class="returnvalue">GdkPixbufSimpleAnim</span></a> *
|
884
|
-
gdk_pixbuf_simple_anim_new (<em class="parameter"><code><
|
885
|
-
<em class="parameter"><code><
|
886
|
-
<em class="parameter"><code><
|
885
|
+
gdk_pixbuf_simple_anim_new (<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
886
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
887
|
+
<em class="parameter"><code><span class="type">gfloat</span> rate</code></em>);</pre>
|
887
888
|
<p>Creates a new, empty animation.</p>
|
888
889
|
<div class="refsect3">
|
889
890
|
<a name="gdk-pixbuf-simple-anim-new.parameters"></a><h4>Parameters</h4>
|
@@ -958,7 +959,7 @@ was constructed.</p>
|
|
958
959
|
<a name="gdk-pixbuf-simple-anim-set-loop"></a><h3>gdk_pixbuf_simple_anim_set_loop ()</h3>
|
959
960
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
960
961
|
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>,
|
961
|
-
<em class="parameter"><code><
|
962
|
+
<em class="parameter"><code><span class="type">gboolean</span> loop</code></em>);</pre>
|
962
963
|
<p>Sets whether <em class="parameter"><code>animation</code></em>
|
963
964
|
should loop indefinitely when it reaches the end.</p>
|
964
965
|
<div class="refsect3">
|
@@ -988,7 +989,7 @@ gdk_pixbuf_simple_anim_set_loop (<em class="parameter"><code><a class="link" hre
|
|
988
989
|
<hr>
|
989
990
|
<div class="refsect2">
|
990
991
|
<a name="gdk-pixbuf-simple-anim-get-loop"></a><h3>gdk_pixbuf_simple_anim_get_loop ()</h3>
|
991
|
-
<pre class="programlisting"><
|
992
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
992
993
|
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>
|
993
994
|
<p>Gets whether <em class="parameter"><code>animation</code></em>
|
994
995
|
should loop indefinitely when it reaches the end.</p>
|
@@ -1009,7 +1010,7 @@ gdk_pixbuf_simple_anim_get_loop (<em class="parameter"><code><a class="link" hre
|
|
1009
1010
|
</div>
|
1010
1011
|
<div class="refsect3">
|
1011
1012
|
<a name="gdk-pixbuf-simple-anim-get-loop.returns"></a><h4>Returns</h4>
|
1012
|
-
<p> <
|
1013
|
+
<p> <code class="literal">TRUE</code> if the animation loops forever, <code class="literal">FALSE</code> otherwise</p>
|
1013
1014
|
</div>
|
1014
1015
|
<p class="since">Since: 2.18</p>
|
1015
1016
|
</div>
|
@@ -1039,7 +1040,7 @@ certain position in an animation.</p>
|
|
1039
1040
|
<a name="gdk-pixbuf-Animations.property-details"></a><h2>Property Details</h2>
|
1040
1041
|
<div class="refsect2">
|
1041
1042
|
<a name="GdkPixbufSimpleAnim--loop"></a><h3>The <code class="literal">“loop”</code> property</h3>
|
1042
|
-
<pre class="programlisting"> “loop” <
|
1043
|
+
<pre class="programlisting"> “loop” <span class="type">gboolean</span></pre>
|
1043
1044
|
<p>Whether the animation should loop when it reaches the end.</p>
|
1044
1045
|
<p>Flags: Read / Write</p>
|
1045
1046
|
<p>Default value: FALSE</p>
|
@@ -1052,6 +1053,6 @@ certain position in an animation.</p>
|
|
1052
1053
|
</div>
|
1053
1054
|
</div>
|
1054
1055
|
<div class="footer">
|
1055
|
-
<hr>Generated by GTK-Doc V1.
|
1056
|
+
<hr>Generated by GTK-Doc V1.27</div>
|
1056
1057
|
</body>
|
1057
1058
|
</html>
|