gdk_pixbuf2 3.0.9-x86-mingw32 → 3.1.0-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 +4 -2
- data/lib/gdk_pixbuf2/loader.rb +0 -6
- data/lib/gdk_pixbuf2/pixbuf.rb +13 -0
- data/test/run-test.rb +2 -0
- data/test/test-pixbuf.rb +3 -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-animation.h +23 -4
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +83 -5
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +7 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +8 -4
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +24 -10
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +11 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +662 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +6 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +7 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +1 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +5 -5
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +71 -71
- 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/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 +201 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +78 -78
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-32.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-36.html +146 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +107 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +90 -90
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +106 -106
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +257 -99
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +36 -35
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +49 -49
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +128 -73
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +17 -17
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +28 -28
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +164 -75
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +19 -19
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +295 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +27 -27
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +28 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +5 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +3 -3
- 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@shaw/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/fr/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/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/kk/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/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/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/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/ug/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/man/man1/gdk-pixbuf-csource.1 +2 -2
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +2 -2
- metadata +8 -7
- data/vendor/local/lib/gdk_pixbuf-2.0.def +0 -134
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Animations: GDK-PixBuf Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
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.25
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (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">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</tr></table></div>
|
36
36
|
<div class="refsect1">
|
37
37
|
<a name="gdk-pixbuf-Animations.functions"></a><h2>Functions</h2>
|
38
|
-
<div class="informaltable"><table width="100%" border="0">
|
38
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
39
39
|
<colgroup>
|
40
40
|
<col width="150px" class="functions_return">
|
41
41
|
<col class="functions_name">
|
@@ -123,7 +123,7 @@
|
|
123
123
|
</tr>
|
124
124
|
<tr>
|
125
125
|
<td class="function_type">
|
126
|
-
<a href="
|
126
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/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="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/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="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/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="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/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>
|
@@ -206,14 +206,14 @@
|
|
206
206
|
</div>
|
207
207
|
<div class="refsect1">
|
208
208
|
<a name="gdk-pixbuf-Animations.properties"></a><h2>Properties</h2>
|
209
|
-
<div class="informaltable"><table border="0">
|
209
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
210
210
|
<colgroup>
|
211
211
|
<col width="150px" class="properties_type">
|
212
212
|
<col width="300px" class="properties_name">
|
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="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/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>
|
@@ -221,7 +221,7 @@
|
|
221
221
|
</div>
|
222
222
|
<a name="GdkPixbufAnimation"></a><a name="GdkPixbufAnimationIter"></a><a name="GdkPixbufSimpleAnim"></a><div class="refsect1">
|
223
223
|
<a name="gdk-pixbuf-Animations.other"></a><h2>Types and Values</h2>
|
224
|
-
<div class="informaltable"><table width="100%" border="0">
|
224
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
225
225
|
<colgroup>
|
226
226
|
<col width="150px" class="name">
|
227
227
|
<col class="description">
|
@@ -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="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
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
|
@@ -272,14 +272,14 @@ 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><a href="
|
275
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **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 <a href="
|
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 <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.</p>
|
280
280
|
<div class="refsect3">
|
281
281
|
<a name="gdk-pixbuf-animation-new-from-file.parameters"></a><h4>Parameters</h4>
|
282
|
-
<div class="informaltable"><table width="100%" border="0">
|
282
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
283
283
|
<colgroup>
|
284
284
|
<col width="150px" class="parameters_name">
|
285
285
|
<col class="parameters_description">
|
@@ -301,7 +301,7 @@ are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIX
|
|
301
301
|
</div>
|
302
302
|
<div class="refsect3">
|
303
303
|
<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 <a href="
|
304
|
+
<p> A newly-created animation with a reference count of 1, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
305
305
|
if any of several error conditions ocurred: the file could not be opened,
|
306
306
|
there was no loader for the file's format, there was not enough memory to
|
307
307
|
allocate the image buffer, or the image file contained invalid data.</p>
|
@@ -313,14 +313,14 @@ allocate the image buffer, or the image file contained invalid data.</p>
|
|
313
313
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
314
314
|
gdk_pixbuf_animation_new_from_resource
|
315
315
|
(<em class="parameter"><code>const <span class="type">char</span> *resource_path</code></em>,
|
316
|
-
<em class="parameter"><code><a href="
|
316
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
317
317
|
<p>Creates a new pixbuf animation by loading an image from an resource.</p>
|
318
|
-
<p>The file format is detected automatically. If <a href="
|
318
|
+
<p>The file format is detected automatically. If <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
319
319
|
<em class="parameter"><code>error</code></em>
|
320
320
|
will be set.</p>
|
321
321
|
<div class="refsect3">
|
322
322
|
<a name="gdk-pixbuf-animation-new-from-resource.parameters"></a><h4>Parameters</h4>
|
323
|
-
<div class="informaltable"><table width="100%" border="0">
|
323
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
324
324
|
<colgroup>
|
325
325
|
<col width="150px" class="parameters_name">
|
326
326
|
<col class="parameters_description">
|
@@ -342,7 +342,7 @@ gdk_pixbuf_animation_new_from_resource
|
|
342
342
|
</div>
|
343
343
|
<div class="refsect3">
|
344
344
|
<a name="gdk-pixbuf-animation-new-from-resource.returns"></a><h4>Returns</h4>
|
345
|
-
<p> A newly-created animation, or <a href="
|
345
|
+
<p> A newly-created animation, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error
|
346
346
|
conditions occurred: the file could not be opened, the image format is
|
347
347
|
not supported, there was not enough memory to allocate the image buffer,
|
348
348
|
the stream contained invalid data, or the operation was cancelled.</p>
|
@@ -353,21 +353,21 @@ the stream contained invalid data, or the operation was cancelled.</p>
|
|
353
353
|
<div class="refsect2">
|
354
354
|
<a name="gdk-pixbuf-animation-new-from-stream"></a><h3>gdk_pixbuf_animation_new_from_stream ()</h3>
|
355
355
|
<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><a href="
|
357
|
-
<em class="parameter"><code><a href="
|
358
|
-
<em class="parameter"><code><a href="
|
356
|
+
gdk_pixbuf_animation_new_from_stream (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>,
|
357
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
358
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
359
359
|
<p>Creates a new animation by loading it from an input stream.</p>
|
360
|
-
<p>The file format is detected automatically. If <a href="
|
360
|
+
<p>The file format is detected automatically. If <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
361
361
|
<em class="parameter"><code>error</code></em>
|
362
362
|
will be set. The <em class="parameter"><code>cancellable</code></em>
|
363
363
|
can be used to abort the operation
|
364
364
|
from another thread. If the operation was cancelled, the error
|
365
|
-
<a href="
|
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 <a href="
|
365
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be returned. Other possible errors are in
|
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 <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#G-IO-ERROR:CAPS"><code class="literal">G_IO_ERROR</code></a> domains.</p>
|
367
367
|
<p>The stream is not closed.</p>
|
368
368
|
<div class="refsect3">
|
369
369
|
<a name="gdk-pixbuf-animation-new-from-stream.parameters"></a><h4>Parameters</h4>
|
370
|
-
<div class="informaltable"><table width="100%" border="0">
|
370
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
371
371
|
<colgroup>
|
372
372
|
<col width="150px" class="parameters_name">
|
373
373
|
<col class="parameters_description">
|
@@ -376,12 +376,12 @@ the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERR
|
|
376
376
|
<tbody>
|
377
377
|
<tr>
|
378
378
|
<td class="parameter_name"><p>stream</p></td>
|
379
|
-
<td class="parameter_description"><p>a <a href="
|
379
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> to load the pixbuf from</p></td>
|
380
380
|
<td class="parameter_annotations"> </td>
|
381
381
|
</tr>
|
382
382
|
<tr>
|
383
383
|
<td class="parameter_name"><p>cancellable</p></td>
|
384
|
-
<td class="parameter_description"><p> optional <a href="
|
384
|
+
<td class="parameter_description"><p> optional <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
385
385
|
<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
386
|
</tr>
|
387
387
|
<tr>
|
@@ -394,7 +394,7 @@ the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERR
|
|
394
394
|
</div>
|
395
395
|
<div class="refsect3">
|
396
396
|
<a name="gdk-pixbuf-animation-new-from-stream.returns"></a><h4>Returns</h4>
|
397
|
-
<p> A newly-created pixbuf, or <a href="
|
397
|
+
<p> A newly-created pixbuf, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error
|
398
398
|
conditions occurred: the file could not be opened, the image format is
|
399
399
|
not supported, there was not enough memory to allocate the image buffer,
|
400
400
|
the stream contained invalid data, or the operation was cancelled.</p>
|
@@ -406,10 +406,10 @@ the stream contained invalid data, or the operation was cancelled.</p>
|
|
406
406
|
<a name="gdk-pixbuf-animation-new-from-stream-async"></a><h3>gdk_pixbuf_animation_new_from_stream_async ()</h3>
|
407
407
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
408
408
|
gdk_pixbuf_animation_new_from_stream_async
|
409
|
-
(<em class="parameter"><code><a href="
|
410
|
-
<em class="parameter"><code><a href="
|
411
|
-
<em class="parameter"><code><a href="
|
412
|
-
<em class="parameter"><code><a href="
|
409
|
+
(<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>,
|
410
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
411
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
412
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
413
413
|
<p>Creates a new animation by asynchronously loading an image from an input stream.</p>
|
414
414
|
<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
415
|
version of this function.</p>
|
@@ -419,7 +419,7 @@ You can then call <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-an
|
|
419
419
|
result of the operation.</p>
|
420
420
|
<div class="refsect3">
|
421
421
|
<a name="gdk-pixbuf-animation-new-from-stream-async.parameters"></a><h4>Parameters</h4>
|
422
|
-
<div class="informaltable"><table width="100%" border="0">
|
422
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
423
423
|
<colgroup>
|
424
424
|
<col width="150px" class="parameters_name">
|
425
425
|
<col class="parameters_description">
|
@@ -428,17 +428,17 @@ result of the operation.</p>
|
|
428
428
|
<tbody>
|
429
429
|
<tr>
|
430
430
|
<td class="parameter_name"><p>stream</p></td>
|
431
|
-
<td class="parameter_description"><p>a <a href="
|
431
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> from which to load the animation</p></td>
|
432
432
|
<td class="parameter_annotations"> </td>
|
433
433
|
</tr>
|
434
434
|
<tr>
|
435
435
|
<td class="parameter_name"><p>cancellable</p></td>
|
436
|
-
<td class="parameter_description"><p> optional <a href="
|
436
|
+
<td class="parameter_description"><p> optional <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
437
437
|
<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
438
|
</tr>
|
439
439
|
<tr>
|
440
440
|
<td class="parameter_name"><p>callback</p></td>
|
441
|
-
<td class="parameter_description"><p>a <a href="
|
441
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the the pixbuf is loaded</p></td>
|
442
442
|
<td class="parameter_annotations"> </td>
|
443
443
|
</tr>
|
444
444
|
<tr>
|
@@ -456,13 +456,13 @@ result of the operation.</p>
|
|
456
456
|
<a name="gdk-pixbuf-animation-new-from-stream-finish"></a><h3>gdk_pixbuf_animation_new_from_stream_finish ()</h3>
|
457
457
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
458
458
|
gdk_pixbuf_animation_new_from_stream_finish
|
459
|
-
(<em class="parameter"><code><a href="
|
460
|
-
<em class="parameter"><code><a href="
|
459
|
+
(<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *async_result</code></em>,
|
460
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
461
461
|
<p>Finishes an asynchronous pixbuf animation creation operation started with
|
462
462
|
<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
463
|
<div class="refsect3">
|
464
464
|
<a name="gdk-pixbuf-animation-new-from-stream-finish.parameters"></a><h4>Parameters</h4>
|
465
|
-
<div class="informaltable"><table width="100%" border="0">
|
465
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
466
466
|
<colgroup>
|
467
467
|
<col width="150px" class="parameters_name">
|
468
468
|
<col class="parameters_description">
|
@@ -471,12 +471,12 @@ gdk_pixbuf_animation_new_from_stream_finish
|
|
471
471
|
<tbody>
|
472
472
|
<tr>
|
473
473
|
<td class="parameter_name"><p>async_result</p></td>
|
474
|
-
<td class="parameter_description"><p>a <a href="
|
474
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a></p></td>
|
475
475
|
<td class="parameter_annotations"> </td>
|
476
476
|
</tr>
|
477
477
|
<tr>
|
478
478
|
<td class="parameter_name"><p>error</p></td>
|
479
|
-
<td class="parameter_description"><p>a <a href="
|
479
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
480
480
|
<td class="parameter_annotations"> </td>
|
481
481
|
</tr>
|
482
482
|
</tbody>
|
@@ -484,8 +484,8 @@ gdk_pixbuf_animation_new_from_stream_finish
|
|
484
484
|
</div>
|
485
485
|
<div class="refsect3">
|
486
486
|
<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 <a href="
|
488
|
-
object with <a href="
|
487
|
+
<p> a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. Free the returned
|
488
|
+
object with <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
489
489
|
</div>
|
490
490
|
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
491
491
|
</div>
|
@@ -496,13 +496,13 @@ object with <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Ba
|
|
496
496
|
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
497
|
<div class="warning">
|
498
498
|
<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 <a href="
|
499
|
+
<p>Use <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.</p>
|
500
500
|
</div>
|
501
501
|
<p>Adds a reference to an animation.</p>
|
502
502
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
503
503
|
<div class="refsect3">
|
504
504
|
<a name="gdk-pixbuf-animation-ref.parameters"></a><h4>Parameters</h4>
|
505
|
-
<div class="informaltable"><table width="100%" border="0">
|
505
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
506
506
|
<colgroup>
|
507
507
|
<col width="150px" class="parameters_name">
|
508
508
|
<col class="parameters_description">
|
@@ -528,13 +528,13 @@ argument.</p>
|
|
528
528
|
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
529
|
<div class="warning">
|
530
530
|
<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 <a href="
|
531
|
+
<p>Use <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
532
532
|
</div>
|
533
533
|
<p>Removes a reference from an animation.</p>
|
534
534
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
535
535
|
<div class="refsect3">
|
536
536
|
<a name="gdk-pixbuf-animation-unref.parameters"></a><h4>Parameters</h4>
|
537
|
-
<div class="informaltable"><table width="100%" border="0">
|
537
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
538
538
|
<colgroup>
|
539
539
|
<col width="150px" class="parameters_name">
|
540
540
|
<col class="parameters_description">
|
@@ -556,7 +556,7 @@ gdk_pixbuf_animation_get_width (<em class="parameter"><code><a class="link" href
|
|
556
556
|
<p>Queries the width of the bounding box of a pixbuf animation.</p>
|
557
557
|
<div class="refsect3">
|
558
558
|
<a name="gdk-pixbuf-animation-get-width.parameters"></a><h4>Parameters</h4>
|
559
|
-
<div class="informaltable"><table width="100%" border="0">
|
559
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
560
560
|
<colgroup>
|
561
561
|
<col width="150px" class="parameters_name">
|
562
562
|
<col class="parameters_description">
|
@@ -582,7 +582,7 @@ gdk_pixbuf_animation_get_height (<em class="parameter"><code><a class="link" hre
|
|
582
582
|
<p>Queries the height of the bounding box of a pixbuf animation.</p>
|
583
583
|
<div class="refsect3">
|
584
584
|
<a name="gdk-pixbuf-animation-get-height.parameters"></a><h4>Parameters</h4>
|
585
|
-
<div class="informaltable"><table width="100%" border="0">
|
585
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
586
586
|
<colgroup>
|
587
587
|
<col width="150px" class="parameters_name">
|
588
588
|
<col class="parameters_description">
|
@@ -605,23 +605,23 @@ gdk_pixbuf_animation_get_height (<em class="parameter"><code><a class="link" hre
|
|
605
605
|
<a name="gdk-pixbuf-animation-get-iter"></a><h3>gdk_pixbuf_animation_get_iter ()</h3>
|
606
606
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="returnvalue">GdkPixbufAnimationIter</span></a> *
|
607
607
|
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 <a href="
|
608
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *start_time</code></em>);</pre>
|
609
609
|
<p>Get an iterator for displaying an animation. The iterator provides
|
610
610
|
the frames that should be displayed at a given time. It should be
|
611
|
-
freed after use with <a href="
|
611
|
+
freed after use with <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
612
612
|
<p><em class="parameter"><code>start_time</code></em>
|
613
|
-
would normally come from <a href="
|
613
|
+
would normally come from <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#g-get-current-time"><code class="function">g_get_current_time()</code></a>, and marks
|
614
614
|
the beginning of animation playback. After creating an iterator, you
|
615
615
|
should immediately display the pixbuf returned by
|
616
616
|
<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 <a href="
|
617
|
+
a timeout (with <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#g-timeout-add"><code class="function">g_timeout_add()</code></a>) or by some other mechanism ensure
|
618
618
|
that you'll update the image after
|
619
619
|
<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
620
|
the image is updated, you should reinstall the timeout with the new,
|
621
621
|
possibly-changed delay time.</p>
|
622
622
|
<p>As a shortcut, if <em class="parameter"><code>start_time</code></em>
|
623
|
-
is <a href="
|
624
|
-
<a href="
|
623
|
+
is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the result of
|
624
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#g-get-current-time"><code class="function">g_get_current_time()</code></a> will be used automatically.</p>
|
625
625
|
<p>To update the image (i.e. possibly change the result of
|
626
626
|
<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
627
|
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 +629,7 @@ call <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-
|
|
629
629
|
after the delay time, you should also update it whenever you
|
630
630
|
receive the area_updated signal and
|
631
631
|
<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
|
-
<a href="
|
632
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. In this case, the frame currently being fed into the loader
|
633
633
|
has received new data, so needs to be refreshed. The delay time for
|
634
634
|
a frame may also be modified after an area_updated signal, for
|
635
635
|
example if the delay time for a frame is encoded in the data after
|
@@ -638,7 +638,7 @@ area_updated signal.</p>
|
|
638
638
|
<p>A delay time of -1 is possible, indicating "infinite."</p>
|
639
639
|
<div class="refsect3">
|
640
640
|
<a name="gdk-pixbuf-animation-get-iter.parameters"></a><h4>Parameters</h4>
|
641
|
-
<div class="informaltable"><table width="100%" border="0">
|
641
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
642
642
|
<colgroup>
|
643
643
|
<col width="150px" class="parameters_name">
|
644
644
|
<col class="parameters_description">
|
@@ -667,15 +667,15 @@ area_updated signal.</p>
|
|
667
667
|
<hr>
|
668
668
|
<div class="refsect2">
|
669
669
|
<a name="gdk-pixbuf-animation-is-static-image"></a><h3>gdk_pixbuf_animation_is_static_image ()</h3>
|
670
|
-
<pre class="programlisting"><a href="
|
670
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
671
671
|
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
672
|
<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
673
|
turns out to be a plain, unanimated image, then this function will
|
674
|
-
return <a href="
|
674
|
+
return <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/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
|
675
675
|
the image.</p>
|
676
676
|
<div class="refsect3">
|
677
677
|
<a name="gdk-pixbuf-animation-is-static-image.parameters"></a><h4>Parameters</h4>
|
678
|
-
<div class="informaltable"><table width="100%" border="0">
|
678
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
679
679
|
<colgroup>
|
680
680
|
<col width="150px" class="parameters_name">
|
681
681
|
<col class="parameters_description">
|
@@ -690,7 +690,7 @@ the image.</p>
|
|
690
690
|
</div>
|
691
691
|
<div class="refsect3">
|
692
692
|
<a name="gdk-pixbuf-animation-is-static-image.returns"></a><h4>Returns</h4>
|
693
|
-
<p> <a href="
|
693
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the "animation" was really just an image</p>
|
694
694
|
</div>
|
695
695
|
</div>
|
696
696
|
<hr>
|
@@ -703,10 +703,10 @@ this function returns that image. If the animation is an animation,
|
|
703
703
|
this function returns a reasonable thing to display as a static
|
704
704
|
unanimated image, which might be the first frame, or something more
|
705
705
|
sophisticated. If an animation hasn't loaded any frames yet, this
|
706
|
-
function will return <a href="
|
706
|
+
function will return <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
707
707
|
<div class="refsect3">
|
708
708
|
<a name="gdk-pixbuf-animation-get-static-image.parameters"></a><h4>Parameters</h4>
|
709
|
-
<div class="informaltable"><table width="100%" border="0">
|
709
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
710
710
|
<colgroup>
|
711
711
|
<col width="150px" class="parameters_name">
|
712
712
|
<col class="parameters_description">
|
@@ -728,30 +728,30 @@ function will return <a href="https://developer.gnome.org/glib/unstable/glib-Sta
|
|
728
728
|
<hr>
|
729
729
|
<div class="refsect2">
|
730
730
|
<a name="gdk-pixbuf-animation-iter-advance"></a><h3>gdk_pixbuf_animation_iter_advance ()</h3>
|
731
|
-
<pre class="programlisting"><a href="
|
731
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
732
732
|
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 <a href="
|
733
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *current_time</code></em>);</pre>
|
734
734
|
<p>Possibly advances an animation to a new frame. Chooses the frame based
|
735
735
|
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
736
|
<p><em class="parameter"><code>current_time</code></em>
|
737
|
-
would normally come from <a href="
|
737
|
+
would normally come from <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#g-get-current-time"><code class="function">g_get_current_time()</code></a>, and
|
738
738
|
must be greater than or equal to the time passed to
|
739
739
|
<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
740
|
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
741
|
called. That is, you can't go backward in time; animations only
|
742
742
|
play forward.</p>
|
743
|
-
<p>As a shortcut, pass <a href="
|
743
|
+
<p>As a shortcut, pass <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for the current time and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#g-get-current-time"><code class="function">g_get_current_time()</code></a>
|
744
744
|
will be invoked on your behalf. So you only need to explicitly pass
|
745
745
|
<em class="parameter"><code>current_time</code></em>
|
746
746
|
if you're doing something odd like playing the animation
|
747
747
|
at double speed.</p>
|
748
|
-
<p>If this function returns <a href="
|
748
|
+
<p>If this function returns <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, there's no need to update the animation
|
749
749
|
display, assuming the display had been rendered prior to advancing;
|
750
|
-
if <a href="
|
750
|
+
if <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/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>
|
751
751
|
and update the display with the new pixbuf.</p>
|
752
752
|
<div class="refsect3">
|
753
753
|
<a name="gdk-pixbuf-animation-iter-advance.parameters"></a><h4>Parameters</h4>
|
754
|
-
<div class="informaltable"><table width="100%" border="0">
|
754
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
755
755
|
<colgroup>
|
756
756
|
<col width="150px" class="parameters_name">
|
757
757
|
<col class="parameters_description">
|
@@ -773,7 +773,7 @@ and update the display with the new pixbuf.</p>
|
|
773
773
|
</div>
|
774
774
|
<div class="refsect3">
|
775
775
|
<a name="gdk-pixbuf-animation-iter-advance.returns"></a><h4>Returns</h4>
|
776
|
-
<p> <a href="
|
776
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the image may need updating</p>
|
777
777
|
</div>
|
778
778
|
</div>
|
779
779
|
<hr>
|
@@ -783,7 +783,7 @@ and update the display with the new pixbuf.</p>
|
|
783
783
|
gdk_pixbuf_animation_iter_get_delay_time
|
784
784
|
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
785
785
|
<p>Gets the number of milliseconds the current pixbuf should be displayed,
|
786
|
-
or -1 if the current pixbuf should be displayed forever. <a href="
|
786
|
+
or -1 if the current pixbuf should be displayed forever. <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#g-timeout-add"><code class="function">g_timeout_add()</code></a>
|
787
787
|
conveniently takes a timeout in milliseconds, so you can use a timeout
|
788
788
|
to schedule the next update.</p>
|
789
789
|
<p>Note that some formats, like GIF, might clamp the timeout values in the
|
@@ -791,7 +791,7 @@ image file to avoid updates that are just too quick. The minimum timeout
|
|
791
791
|
for GIF images is currently 20 milliseconds.</p>
|
792
792
|
<div class="refsect3">
|
793
793
|
<a name="gdk-pixbuf-animation-iter-get-delay-time.parameters"></a><h4>Parameters</h4>
|
794
|
-
<div class="informaltable"><table width="100%" border="0">
|
794
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
795
795
|
<colgroup>
|
796
796
|
<col width="150px" class="parameters_name">
|
797
797
|
<col class="parameters_description">
|
@@ -812,7 +812,7 @@ for GIF images is currently 20 milliseconds.</p>
|
|
812
812
|
<hr>
|
813
813
|
<div class="refsect2">
|
814
814
|
<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"><a href="
|
815
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
816
816
|
gdk_pixbuf_animation_iter_on_currently_loading_frame
|
817
817
|
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
818
818
|
<p>Used to determine how to respond to the area_updated signal on
|
@@ -822,7 +822,7 @@ you're on the currently loading frame, you need to redraw the screen for
|
|
822
822
|
the updated area.</p>
|
823
823
|
<div class="refsect3">
|
824
824
|
<a name="gdk-pixbuf-animation-iter-on-currently-loading-frame.parameters"></a><h4>Parameters</h4>
|
825
|
-
<div class="informaltable"><table width="100%" border="0">
|
825
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
826
826
|
<colgroup>
|
827
827
|
<col width="150px" class="parameters_name">
|
828
828
|
<col class="parameters_description">
|
@@ -837,7 +837,7 @@ the updated area.</p>
|
|
837
837
|
</div>
|
838
838
|
<div class="refsect3">
|
839
839
|
<a name="gdk-pixbuf-animation-iter-on-currently-loading-frame.returns"></a><h4>Returns</h4>
|
840
|
-
<p> <a href="
|
840
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/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>
|
841
841
|
</div>
|
842
842
|
</div>
|
843
843
|
<hr>
|
@@ -858,7 +858,7 @@ to the next frame, which may happen anytime you call
|
|
858
858
|
the iterator.</p>
|
859
859
|
<div class="refsect3">
|
860
860
|
<a name="gdk-pixbuf-animation-iter-get-pixbuf.parameters"></a><h4>Parameters</h4>
|
861
|
-
<div class="informaltable"><table width="100%" border="0">
|
861
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
862
862
|
<colgroup>
|
863
863
|
<col width="150px" class="parameters_name">
|
864
864
|
<col class="parameters_description">
|
@@ -881,13 +881,13 @@ the iterator.</p>
|
|
881
881
|
<div class="refsect2">
|
882
882
|
<a name="gdk-pixbuf-simple-anim-new"></a><h3>gdk_pixbuf_simple_anim_new ()</h3>
|
883
883
|
<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><a href="
|
885
|
-
<em class="parameter"><code><a href="
|
886
|
-
<em class="parameter"><code><a href="
|
884
|
+
gdk_pixbuf_simple_anim_new (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
885
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
886
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> rate</code></em>);</pre>
|
887
887
|
<p>Creates a new, empty animation.</p>
|
888
888
|
<div class="refsect3">
|
889
889
|
<a name="gdk-pixbuf-simple-anim-new.parameters"></a><h4>Parameters</h4>
|
890
|
-
<div class="informaltable"><table width="100%" border="0">
|
890
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
891
891
|
<colgroup>
|
892
892
|
<col width="150px" class="parameters_name">
|
893
893
|
<col class="parameters_description">
|
@@ -931,7 +931,7 @@ have the dimensions specified when the animation
|
|
931
931
|
was constructed.</p>
|
932
932
|
<div class="refsect3">
|
933
933
|
<a name="gdk-pixbuf-simple-anim-add-frame.parameters"></a><h4>Parameters</h4>
|
934
|
-
<div class="informaltable"><table width="100%" border="0">
|
934
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
935
935
|
<colgroup>
|
936
936
|
<col width="150px" class="parameters_name">
|
937
937
|
<col class="parameters_description">
|
@@ -958,12 +958,12 @@ was constructed.</p>
|
|
958
958
|
<a name="gdk-pixbuf-simple-anim-set-loop"></a><h3>gdk_pixbuf_simple_anim_set_loop ()</h3>
|
959
959
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
960
960
|
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><a href="
|
961
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> loop</code></em>);</pre>
|
962
962
|
<p>Sets whether <em class="parameter"><code>animation</code></em>
|
963
963
|
should loop indefinitely when it reaches the end.</p>
|
964
964
|
<div class="refsect3">
|
965
965
|
<a name="gdk-pixbuf-simple-anim-set-loop.parameters"></a><h4>Parameters</h4>
|
966
|
-
<div class="informaltable"><table width="100%" border="0">
|
966
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
967
967
|
<colgroup>
|
968
968
|
<col width="150px" class="parameters_name">
|
969
969
|
<col class="parameters_description">
|
@@ -988,13 +988,13 @@ gdk_pixbuf_simple_anim_set_loop (<em class="parameter"><code><a class="link" hre
|
|
988
988
|
<hr>
|
989
989
|
<div class="refsect2">
|
990
990
|
<a name="gdk-pixbuf-simple-anim-get-loop"></a><h3>gdk_pixbuf_simple_anim_get_loop ()</h3>
|
991
|
-
<pre class="programlisting"><a href="
|
991
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
992
992
|
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
993
|
<p>Gets whether <em class="parameter"><code>animation</code></em>
|
994
994
|
should loop indefinitely when it reaches the end.</p>
|
995
995
|
<div class="refsect3">
|
996
996
|
<a name="gdk-pixbuf-simple-anim-get-loop.parameters"></a><h4>Parameters</h4>
|
997
|
-
<div class="informaltable"><table width="100%" border="0">
|
997
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
998
998
|
<colgroup>
|
999
999
|
<col width="150px" class="parameters_name">
|
1000
1000
|
<col class="parameters_description">
|
@@ -1009,7 +1009,7 @@ gdk_pixbuf_simple_anim_get_loop (<em class="parameter"><code><a class="link" hre
|
|
1009
1009
|
</div>
|
1010
1010
|
<div class="refsect3">
|
1011
1011
|
<a name="gdk-pixbuf-simple-anim-get-loop.returns"></a><h4>Returns</h4>
|
1012
|
-
<p> <a href="
|
1012
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the animation loops forever, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
1013
1013
|
</div>
|
1014
1014
|
<p class="since">Since: 2.18</p>
|
1015
1015
|
</div>
|
@@ -1039,7 +1039,7 @@ certain position in an animation.</p>
|
|
1039
1039
|
<a name="gdk-pixbuf-Animations.property-details"></a><h2>Property Details</h2>
|
1040
1040
|
<div class="refsect2">
|
1041
1041
|
<a name="GdkPixbufSimpleAnim--loop"></a><h3>The <code class="literal">“loop”</code> property</h3>
|
1042
|
-
<pre class="programlisting"> “loop” <a href="
|
1042
|
+
<pre class="programlisting"> “loop” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1043
1043
|
<p>Whether the animation should loop when it reaches the end.</p>
|
1044
1044
|
<p>Flags: Read / Write</p>
|
1045
1045
|
<p>Default value: FALSE</p>
|
@@ -1052,6 +1052,6 @@ certain position in an animation.</p>
|
|
1052
1052
|
</div>
|
1053
1053
|
</div>
|
1054
1054
|
<div class="footer">
|
1055
|
-
<hr>Generated by GTK-Doc V1.25
|
1055
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
1056
1056
|
</body>
|
1057
1057
|
</html>
|