~ubuntu-branches/debian/squeeze/glib2.0/squeeze

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/GLoadableIcon.html

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-02-15 13:00:43 UTC
  • mfrom: (1.3.1 upstream) (69.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20090215130043-q47fbt3owmt42m2f
Tags: 2.18.4-2
* Release to unstable
* debian/rules:
- bump SHVER, since we are already forcing a 2.18.0 dependecy on the
  symbols introduced in the development versions
* debian/control.in:
- added Homepage and Vcs-* control fields

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GLoadableIcon</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
 
<link rel="start" href="index.html" title="GIO Reference Manual">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
 
7
<link rel="home" href="index.html" title="GIO Reference Manual">
8
8
<link rel="up" href="icons.html" title="Icons">
9
9
<link rel="prev" href="GFileIcon.html" title="GFileIcon">
10
10
<link rel="next" href="GThemedIcon.html" title="GThemedIcon">
11
 
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="pt01.html" title="Part&#160;I.&#160;GIO Overview">
 
13
<link rel="part" href="pt01.html" title="Part I. GIO Overview">
14
14
<link rel="chapter" href="ch01.html" title="Introduction">
15
15
<link rel="chapter" href="ch02.html" title="Compiling GIO applications">
16
16
<link rel="chapter" href="ch03.html" title="Running GIO applications">
17
 
<link rel="chapter" href="gio-extension-points.html" title="Extending GIO">
18
 
<link rel="part" href="pt02.html" title="Part&#160;II.&#160;API Reference">
 
17
<link rel="chapter" href="extending-gio.html" title="Extending GIO">
 
18
<link rel="part" href="pt02.html" title="Part II. API Reference">
19
19
<link rel="chapter" href="file_ops.html" title="File Operations">
20
20
<link rel="chapter" href="file_mon.html" title="File System Monitoring">
21
21
<link rel="chapter" href="async.html" title="Asynchronous I/O">
25
25
<link rel="chapter" href="icons.html" title="Icons">
26
26
<link rel="chapter" href="utils.html" title="Utilities">
27
27
<link rel="chapter" href="extending.html" title="Extending GIO">
28
 
<link rel="part" href="migrating.html" title="Part&#160;III.&#160;Migrating to GIO">
 
28
<link rel="part" href="migrating.html" title="Part III. Migrating to GIO">
29
29
<link rel="chapter" href="ch14.html" title="Migrating from POSIX to GIO">
30
30
<link rel="chapter" href="ch15.html" title="Migrating from GnomeVFS to GIO">
31
31
<link rel="chapter" href="gio-hierarchy.html" title="Object Hierarchy">
32
32
<link rel="index" href="ix01.html" title="Index">
 
33
<link rel="index" href="ix02.html" title="Index of new symbols in 2.18">
33
34
</head>
34
35
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
35
36
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
40
41
<th width="100%" align="center">GIO Reference Manual</th>
41
42
<td><a accesskey="n" href="GThemedIcon.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
42
43
</tr>
43
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2788138" class="shortcut">Top</a>
44
 
                  &#160;|&#160;
45
 
                  <a href="#id2876794" class="shortcut">Description</a>
46
 
                  &#160;|&#160;
47
 
                  <a href="#id2886540" class="shortcut">Object Hierarchy</a>
48
 
                  &#160;|&#160;
49
 
                  <a href="#id2886564" class="shortcut">Prerequisites</a>
50
 
                  &#160;|&#160;
51
 
                  <a href="#id2876773" class="shortcut">Known Implementations</a></nobr></td></tr>
 
44
<tr><td colspan="5" class="shortcuts">
 
45
<a href="#GLoadableIcon.synopsis" class="shortcut">Top</a>
 
46
                 | 
 
47
                <a href="#GLoadableIcon.description" class="shortcut">Description</a>
 
48
                 | 
 
49
                <a href="#GLoadableIcon.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
50
                 | 
 
51
                <a href="#GLoadableIcon.prerequisites" class="shortcut">Prerequisites</a>
 
52
                 | 
 
53
                <a href="#GLoadableIcon.implementations" class="shortcut">Known Implementations</a>
 
54
</td></tr>
52
55
</table>
53
56
<div class="refentry" lang="en">
54
57
<a name="GLoadableIcon"></a><div class="titlepage"></div>
55
58
<div class="refnamediv"><table width="100%"><tr>
56
59
<td valign="top">
57
 
<h2>
58
 
<a name="id2788138"></a><span class="refentrytitle">GLoadableIcon</span>
59
 
</h2>
60
 
<p>GLoadableIcon &#8212; Loadable Icons</p>
 
60
<h2><span class="refentrytitle"><a name="GLoadableIcon.top_of_page"></a>GLoadableIcon</span></h2>
 
61
<p>GLoadableIcon — Loadable Icons</p>
61
62
</td>
62
63
<td valign="top" align="right"></td>
63
64
</tr></table></div>
64
65
<div class="refsynopsisdiv">
65
 
<h2>Synopsis</h2>
 
66
<a name="GLoadableIcon.synopsis"></a><h2>Synopsis</h2>
66
67
<pre class="synopsis">
67
68
 
68
69
#include &lt;gio/gio.h&gt;
69
70
 
70
 
 
71
 
                    <a class="link" href="GLoadableIcon.html#GLoadableIcon-struct">GLoadableIcon</a>;
72
 
                    <a class="link" href="GLoadableIcon.html#GLoadableIconIface">GLoadableIconIface</a>;
73
 
<a class="link" href="GInputStream.html" title="GInputStream">GInputStream</a>*       <a class="link" href="GLoadableIcon.html#g-loadable-icon-load">g_loadable_icon_load</a>                (<a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a> *icon,
 
71
                    <a class="link" href="GLoadableIcon.html#GLoadableIcon-struct" title="GLoadableIcon">GLoadableIcon</a>;
 
72
                    <a class="link" href="GLoadableIcon.html#GLoadableIconIface" title="GLoadableIconIface">GLoadableIconIface</a>;
 
73
<a class="link" href="GInputStream.html" title="GInputStream">GInputStream</a> *      <a class="link" href="GLoadableIcon.html#g-loadable-icon-load" title="g_loadable_icon_load ()">g_loadable_icon_load</a>                (<a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a> *icon,
74
74
                                                         int size,
75
75
                                                         char **type,
76
76
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
77
77
                                                         <a
78
78
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
79
79
>GError</a> **error);
80
 
void                <a class="link" href="GLoadableIcon.html#g-loadable-icon-load-async">g_loadable_icon_load_async</a>          (<a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a> *icon,
 
80
void                <a class="link" href="GLoadableIcon.html#g-loadable-icon-load-async" title="g_loadable_icon_load_async ()">g_loadable_icon_load_async</a>          (<a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a> *icon,
81
81
                                                         int size,
82
82
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
83
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
 
83
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
84
84
                                                         <a
85
85
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
86
86
>gpointer</a> user_data);
87
 
<a class="link" href="GInputStream.html" title="GInputStream">GInputStream</a>*       <a class="link" href="GLoadableIcon.html#g-loadable-icon-load-finish">g_loadable_icon_load_finish</a>         (<a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a> *icon,
 
87
<a class="link" href="GInputStream.html" title="GInputStream">GInputStream</a> *      <a class="link" href="GLoadableIcon.html#g-loadable-icon-load-finish" title="g_loadable_icon_load_finish ()">g_loadable_icon_load_finish</a>         (<a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a> *icon,
88
88
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
89
89
                                                         char **type,
90
90
                                                         <a
91
91
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
92
92
>GError</a> **error);
93
 
 
94
 
 
95
93
</pre>
96
94
</div>
97
95
<div class="refsect1" lang="en">
98
 
<a name="id2886540"></a><h2>Object Hierarchy</h2>
 
96
<a name="GLoadableIcon.object-hierarchy"></a><h2>Object Hierarchy</h2>
99
97
<pre class="synopsis">
100
 
 
101
98
  GInterface
102
99
   +----GLoadableIcon
103
100
</pre>
104
101
</div>
105
102
<div class="refsect1" lang="en">
106
 
<a name="id2886564"></a><h2>Prerequisites</h2>
 
103
<a name="GLoadableIcon.prerequisites"></a><h2>Prerequisites</h2>
107
104
<p>
108
105
GLoadableIcon requires
109
106
 <a class="link" href="GIcon.html" title="GIcon">GIcon</a> and  <a
111
108
>GObject</a>.</p>
112
109
</div>
113
110
<div class="refsect1" lang="en">
114
 
<a name="id2876773"></a><h2>Known Implementations</h2>
 
111
<a name="GLoadableIcon.implementations"></a><h2>Known Implementations</h2>
115
112
<p>
116
113
GLoadableIcon is implemented by
117
114
 <a class="link" href="GFileIcon.html" title="GFileIcon">GFileIcon</a>.</p>
118
115
</div>
119
116
<div class="refsect1" lang="en">
120
 
<a name="id2876794"></a><h2>Description</h2>
 
117
<a name="GLoadableIcon.description"></a><h2>Description</h2>
121
118
<p>
122
119
Extends the <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> interface and adds the ability to 
123
120
load icons from streams.</p>
124
121
<p>
125
 
 
126
122
</p>
127
123
</div>
128
124
<div class="refsect1" lang="en">
129
 
<a name="id2876821"></a><h2>Details</h2>
 
125
<a name="GLoadableIcon.details"></a><h2>Details</h2>
130
126
<div class="refsect2" lang="en">
131
 
<a name="id2876832"></a><h3>
132
 
<a name="GLoadableIcon-struct"></a>GLoadableIcon</h3>
133
 
<a class="indexterm" name="id2876844"></a><pre class="programlisting">typedef struct _GLoadableIcon GLoadableIcon;</pre>
 
127
<a name="GLoadableIcon-struct"></a><h3>GLoadableIcon</h3>
 
128
<pre class="programlisting">typedef struct _GLoadableIcon GLoadableIcon;</pre>
134
129
<p>
135
 
Generic type for all kinds of icons that can be loaded 
 
130
Generic type for all kinds of icons that can be loaded
136
131
as a stream.</p>
137
132
<p>
138
 
 
139
133
</p>
140
134
</div>
141
135
<hr>
142
136
<div class="refsect2" lang="en">
143
 
<a name="id2876865"></a><h3>
144
 
<a name="GLoadableIconIface"></a>GLoadableIconIface</h3>
145
 
<a class="indexterm" name="id2876877"></a><pre class="programlisting">typedef struct {
 
137
<a name="GLoadableIconIface"></a><h3>GLoadableIconIface</h3>
 
138
<pre class="programlisting">typedef struct {
146
139
  GTypeInterface g_iface;
147
140
 
148
141
  /* Virtual Table */
149
142
 
150
 
  GInputStream * (*load)        (GLoadableIcon      *icon,
151
 
                                 int                 size,
152
 
                                 char              **type,
153
 
                                 GCancellable       *cancellable,
154
 
                                 GError            **error);
155
 
  void           (*load_async)  (GLoadableIcon      *icon,
156
 
                                 int                 size,
157
 
                                 GCancellable       *cancellable,
158
 
                                 GAsyncReadyCallback callback,
159
 
                                 gpointer            user_data);
160
 
  GInputStream * (*load_finish) (GLoadableIcon      *icon,
161
 
                                  GAsyncResult      *res,
162
 
                                  char             **type,
163
 
                                  GError           **error);
 
143
  GInputStream * (* load)        (GLoadableIcon       *icon,
 
144
                                  int                  size,
 
145
                                  char               **type,
 
146
                                  GCancellable        *cancellable,
 
147
                                  GError             **error);
 
148
  void           (* load_async)  (GLoadableIcon       *icon,
 
149
                                  int                  size,
 
150
                                  GCancellable        *cancellable,
 
151
                                  GAsyncReadyCallback  callback,
 
152
                                  gpointer             user_data);
 
153
  GInputStream * (* load_finish) (GLoadableIcon       *icon,
 
154
                                  GAsyncResult        *res,
 
155
                                  char               **type,
 
156
                                  GError             **error);
164
157
} GLoadableIconIface;
165
158
</pre>
166
159
<p>
167
160
Interface for icons that can be loaded as a stream.</p>
168
161
<p>
169
 
 
170
162
</p>
171
163
<div class="variablelist"><table border="0">
172
164
<col align="left" valign="top">
174
166
<tr>
175
167
<td><p><span class="term"><a
176
168
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GTypeInterface"
177
 
>GTypeInterface</a>&#160;<em class="structfield"><code>g_iface</code></em>;</span></p></td>
 
169
>GTypeInterface</a> <em class="structfield"><code>g_iface</code></em>;</span></p></td>
178
170
<td> The parent interface.
179
171
</td>
180
172
</tr>
181
173
<tr>
182
 
<td><p><span class="term"><em class="structfield"><code>load</code></em>&#160;()</span></p></td>
 
174
<td><p><span class="term"><em class="structfield"><code>load</code></em> ()</span></p></td>
183
175
<td> Loads an icon.
184
176
</td>
185
177
</tr>
186
178
<tr>
187
 
<td><p><span class="term"><em class="structfield"><code>load_async</code></em>&#160;()</span></p></td>
 
179
<td><p><span class="term"><em class="structfield"><code>load_async</code></em> ()</span></p></td>
188
180
<td> Loads an icon asynchronously.
189
181
</td>
190
182
</tr>
191
183
<tr>
192
 
<td><p><span class="term"><em class="structfield"><code>load_finish</code></em>&#160;()</span></p></td>
 
184
<td><p><span class="term"><em class="structfield"><code>load_finish</code></em> ()</span></p></td>
193
185
<td> Finishes an asynchronous icon load.
194
186
</td>
195
187
</tr>
198
190
</div>
199
191
<hr>
200
192
<div class="refsect2" lang="en">
201
 
<a name="id2876977"></a><h3>
202
 
<a name="g-loadable-icon-load"></a>g_loadable_icon_load ()</h3>
203
 
<a class="indexterm" name="id2876988"></a><pre class="programlisting"><a class="link" href="GInputStream.html" title="GInputStream">GInputStream</a>*       g_loadable_icon_load                (<a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a> *icon,
 
193
<a name="g-loadable-icon-load"></a><h3>g_loadable_icon_load ()</h3>
 
194
<pre class="programlisting"><a class="link" href="GInputStream.html" title="GInputStream">GInputStream</a> *      g_loadable_icon_load                (<a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a> *icon,
204
195
                                                         int size,
205
196
                                                         char **type,
206
197
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
209
200
>GError</a> **error);</pre>
210
201
<p>
211
202
Loads a loadable icon. For the asynchronous version of this function, 
212
 
see <a class="link" href="GLoadableIcon.html#g-loadable-icon-load-async"><code class="function">g_loadable_icon_load_async()</code></a>.</p>
 
203
see <a class="link" href="GLoadableIcon.html#g-loadable-icon-load-async" title="g_loadable_icon_load_async ()"><code class="function">g_loadable_icon_load_async()</code></a>.</p>
213
204
<p>
214
 
 
215
205
</p>
216
206
<div class="variablelist"><table border="0">
217
207
<col align="left" valign="top">
218
208
<tbody>
219
209
<tr>
220
 
<td><p><span class="term"><em class="parameter"><code>icon</code></em>&#160;:</span></p></td>
 
210
<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
221
211
<td> a <a class="link" href="GLoadableIcon.html" title="GLoadableIcon"><span class="type">GLoadableIcon</span></a>.
222
212
</td>
223
213
</tr>
224
214
<tr>
225
 
<td><p><span class="term"><em class="parameter"><code>size</code></em>&#160;:</span></p></td>
 
215
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
226
216
<td> an integer.
227
217
</td>
228
218
</tr>
229
219
<tr>
230
 
<td><p><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></p></td>
 
220
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
231
221
<td>  a location to store the type of the loaded icon, <a
232
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
222
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
233
223
><code class="literal">NULL</code></a> to ignore.
234
224
</td>
235
225
</tr>
236
226
<tr>
237
 
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em>&#160;:</span></p></td>
 
227
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
238
228
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
239
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
229
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
240
230
><code class="literal">NULL</code></a> to ignore. 
241
231
</td>
242
232
</tr>
243
233
<tr>
244
 
<td><p><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></p></td>
 
234
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
245
235
<td> a <a
246
236
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
247
237
><span class="type">GError</span></a> location to store the error occuring, or <a
248
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
238
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
249
239
><code class="literal">NULL</code></a> to 
250
240
ignore.
251
241
</td>
252
242
</tr>
253
243
<tr>
254
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
244
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
255
245
<td> a <a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> to read the icon from.
256
246
</td>
257
247
</tr>
260
250
</div>
261
251
<hr>
262
252
<div class="refsect2" lang="en">
263
 
<a name="id2877202"></a><h3>
264
 
<a name="g-loadable-icon-load-async"></a>g_loadable_icon_load_async ()</h3>
265
 
<a class="indexterm" name="id2877213"></a><pre class="programlisting">void                g_loadable_icon_load_async          (<a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a> *icon,
 
253
<a name="g-loadable-icon-load-async"></a><h3>g_loadable_icon_load_async ()</h3>
 
254
<pre class="programlisting">void                g_loadable_icon_load_async          (<a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a> *icon,
266
255
                                                         int size,
267
256
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
268
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
 
257
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
269
258
                                                         <a
270
259
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
271
260
>gpointer</a> user_data);</pre>
272
261
<p>
273
262
Loads an icon asynchronously. To finish this function, see 
274
 
<a class="link" href="GLoadableIcon.html#g-loadable-icon-load-finish"><code class="function">g_loadable_icon_load_finish()</code></a>. For the synchronous, blocking 
275
 
version of this function, see <a class="link" href="GLoadableIcon.html#g-loadable-icon-load"><code class="function">g_loadable_icon_load()</code></a>.</p>
 
263
<a class="link" href="GLoadableIcon.html#g-loadable-icon-load-finish" title="g_loadable_icon_load_finish ()"><code class="function">g_loadable_icon_load_finish()</code></a>. For the synchronous, blocking 
 
264
version of this function, see <a class="link" href="GLoadableIcon.html#g-loadable-icon-load" title="g_loadable_icon_load ()"><code class="function">g_loadable_icon_load()</code></a>.</p>
276
265
<p>
277
 
 
278
266
</p>
279
267
<div class="variablelist"><table border="0">
280
268
<col align="left" valign="top">
281
269
<tbody>
282
270
<tr>
283
 
<td><p><span class="term"><em class="parameter"><code>icon</code></em>&#160;:</span></p></td>
 
271
<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
284
272
<td> a <a class="link" href="GLoadableIcon.html" title="GLoadableIcon"><span class="type">GLoadableIcon</span></a>.
285
273
</td>
286
274
</tr>
287
275
<tr>
288
 
<td><p><span class="term"><em class="parameter"><code>size</code></em>&#160;:</span></p></td>
 
276
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
289
277
<td> an integer.
290
278
</td>
291
279
</tr>
292
280
<tr>
293
 
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em>&#160;:</span></p></td>
 
281
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
294
282
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
295
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
283
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
296
284
><code class="literal">NULL</code></a> to ignore. 
297
285
</td>
298
286
</tr>
299
287
<tr>
300
 
<td><p><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></p></td>
301
 
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied
 
288
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
289
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied
302
290
</td>
303
291
</tr>
304
292
<tr>
305
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td>
 
293
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
306
294
<td> the data to pass to callback function
307
295
</td>
308
296
</tr>
311
299
</div>
312
300
<hr>
313
301
<div class="refsect2" lang="en">
314
 
<a name="id2896529"></a><h3>
315
 
<a name="g-loadable-icon-load-finish"></a>g_loadable_icon_load_finish ()</h3>
316
 
<a class="indexterm" name="id2896541"></a><pre class="programlisting"><a class="link" href="GInputStream.html" title="GInputStream">GInputStream</a>*       g_loadable_icon_load_finish         (<a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a> *icon,
 
302
<a name="g-loadable-icon-load-finish"></a><h3>g_loadable_icon_load_finish ()</h3>
 
303
<pre class="programlisting"><a class="link" href="GInputStream.html" title="GInputStream">GInputStream</a> *      g_loadable_icon_load_finish         (<a class="link" href="GLoadableIcon.html" title="GLoadableIcon">GLoadableIcon</a> *icon,
317
304
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
318
305
                                                         char **type,
319
306
                                                         <a
320
307
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
321
308
>GError</a> **error);</pre>
322
309
<p>
323
 
Finishes an asynchronous icon load started in <a class="link" href="GLoadableIcon.html#g-loadable-icon-load-async"><code class="function">g_loadable_icon_load_async()</code></a>.</p>
 
310
Finishes an asynchronous icon load started in <a class="link" href="GLoadableIcon.html#g-loadable-icon-load-async" title="g_loadable_icon_load_async ()"><code class="function">g_loadable_icon_load_async()</code></a>.</p>
324
311
<p>
325
 
 
326
312
</p>
327
313
<div class="variablelist"><table border="0">
328
314
<col align="left" valign="top">
329
315
<tbody>
330
316
<tr>
331
 
<td><p><span class="term"><em class="parameter"><code>icon</code></em>&#160;:</span></p></td>
 
317
<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
332
318
<td> a <a class="link" href="GLoadableIcon.html" title="GLoadableIcon"><span class="type">GLoadableIcon</span></a>.
333
319
</td>
334
320
</tr>
335
321
<tr>
336
 
<td><p><span class="term"><em class="parameter"><code>res</code></em>&#160;:</span></p></td>
 
322
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
337
323
<td> a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.
338
324
</td>
339
325
</tr>
340
326
<tr>
341
 
<td><p><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></p></td>
 
327
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
342
328
<td> a location to store the type of the loaded icon, <a
343
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
329
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
344
330
><code class="literal">NULL</code></a> to ignore.
345
331
</td>
346
332
</tr>
347
333
<tr>
348
 
<td><p><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></p></td>
 
334
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
349
335
<td> a <a
350
336
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
351
337
><span class="type">GError</span></a> location to store the error occuring, or <a
352
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
338
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
353
339
><code class="literal">NULL</code></a> to 
354
340
ignore.
355
341
</td>
356
342
</tr>
357
343
<tr>
358
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
344
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
359
345
<td> a <a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> to read the icon from.
360
346
</td>
361
347
</tr>
364
350
</div>
365
351
</div>
366
352
<div class="refsect1" lang="en">
367
 
<a name="id2896724"></a><h2>See Also</h2>
368
 
<a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a>, <a class="link" href="GThemedIcon.html" title="GThemedIcon"><span class="type">GThemedIcon</span></a>
369
 
</div>
370
 
<div class="refsect1" lang="en">
371
 
<a name="id2896746"></a><div class="refsect2" lang="en"><a name="id2896747"></a></div>
 
353
<a name="GLoadableIcon.see-also"></a><h2>See Also</h2>
 
354
#GIcon, <a class="link" href="GThemedIcon.html" title="GThemedIcon"><span class="type">GThemedIcon</span></a>
 
355
</div>
 
356
</div>
 
357
<div class="footer">
372
358
<hr>
373
 
<div class="refsect2" lang="en"><a name="id2896748"></a></div>
374
 
</div>
375
 
</div>
 
359
          Generated by GTK-Doc V1.11</div>
376
360
</body>
377
361
</html>