~ubuntu-branches/ubuntu/trusty/glib2.0/trusty-proposed

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-03-09 11:28:22 UTC
  • mfrom: (3.4.8 experimental)
  • Revision ID: james.westby@ubuntu.com-20100309112822-j4n0v3xbtsup8s97
Tags: 2.23.5-1ubuntu1
* Resync on Debian
* debian/patches/01_gettext-desktopfiles.patch:
  - updated to use gettext for X-GNOME-Fullname too
* debian/patches/71_gio_launch_handler.patch:
  - new gio default launch handle feature required for wncksync
* debian/control.in, 
  debian/patches/80-gtester-subunit.patch:
  - gtester-report subunit support
* debian/libglib2.0-0.symbols:
  - updated the symbols list for the gio launcher handler
* debian/rules:
  - don't break build on test suite errors, debian recently activated this but
    the build breaks even when there is no error in the testsuite

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GFileEnumerator</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7
7
<link rel="home" href="index.html" title="GIO Reference Manual">
8
8
<link rel="up" href="file_ops.html" title="File Operations">
9
9
<link rel="prev" href="GFileInfo.html" title="GFileInfo">
10
10
<link rel="next" href="gio-GIOError.html" title="GIOError">
11
 
<meta name="generator" content="GTK-Doc V1.13 (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
13
<link rel="part" href="pt01.html" title="Part I. GIO Overview">
14
14
<link rel="chapter" href="ch01.html" title="Introduction">
52
52
</tr>
53
53
<tr><td colspan="5" class="shortcuts">
54
54
<a href="#GFileEnumerator.synopsis" class="shortcut">Top</a>
55
 
                   | 
56
 
                  <a href="#GFileEnumerator.description" class="shortcut">Description</a>
57
 
                   | 
58
 
                  <a href="#GFileEnumerator.object-hierarchy" class="shortcut">Object Hierarchy</a>
59
 
                   | 
60
 
                  <a href="#GFileEnumerator.properties" class="shortcut">Properties</a>
 
55
                 | 
 
56
                <a href="#GFileEnumerator.description" class="shortcut">Description</a>
 
57
                 | 
 
58
                <a href="#GFileEnumerator.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
59
                 | 
 
60
                <a href="#GFileEnumerator.properties" class="shortcut">Properties</a>
61
61
</td></tr>
62
62
</table>
63
63
<div class="refentry" title="GFileEnumerator">
72
72
<div class="refsynopsisdiv" title="Synopsis">
73
73
<a name="GFileEnumerator.synopsis"></a><h2>Synopsis</h2>
74
74
<pre class="synopsis">
 
75
 
75
76
#include &lt;gio/gio.h&gt;
76
77
 
77
78
                    <a class="link" href="GFileEnumerator.html#GFileEnumerator-struct" title="GFileEnumerator">GFileEnumerator</a>;
78
 
<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *         <a class="link" href="GFileEnumerator.html#g-file-enumerator-next-file" title="g_file_enumerator_next_file ()">g_file_enumerator_next_file</a>         (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
79
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
80
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
81
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileEnumerator.html#g-file-enumerator-close" title="g_file_enumerator_close ()">g_file_enumerator_close</a>             (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
82
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
83
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
84
 
<span class="returnvalue">void</span>                <a class="link" href="GFileEnumerator.html#g-file-enumerator-next-files-async" title="g_file_enumerator_next_files_async ()">g_file_enumerator_next_files_async</a>  (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
85
 
                                                         <span class="returnvalue">int</span> num_files,
86
 
                                                         <span class="returnvalue">int</span> io_priority,
87
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
88
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
89
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);
90
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="GFileEnumerator.html#g-file-enumerator-next-files-finish" title="g_file_enumerator_next_files_finish ()">g_file_enumerator_next_files_finish</a> (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
91
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
92
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
93
 
<span class="returnvalue">void</span>                <a class="link" href="GFileEnumerator.html#g-file-enumerator-close-async" title="g_file_enumerator_close_async ()">g_file_enumerator_close_async</a>       (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
94
 
                                                         <span class="returnvalue">int</span> io_priority,
95
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
96
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
97
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);
98
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileEnumerator.html#g-file-enumerator-close-finish" title="g_file_enumerator_close_finish ()">g_file_enumerator_close_finish</a>      (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
99
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
100
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
101
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileEnumerator.html#g-file-enumerator-is-closed" title="g_file_enumerator_is_closed ()">g_file_enumerator_is_closed</a>         (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator);
102
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GFileEnumerator.html#g-file-enumerator-has-pending" title="g_file_enumerator_has_pending ()">g_file_enumerator_has_pending</a>       (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator);
103
 
<span class="returnvalue">void</span>                <a class="link" href="GFileEnumerator.html#g-file-enumerator-set-pending" title="g_file_enumerator_set_pending ()">g_file_enumerator_set_pending</a>       (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
104
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pending);
105
 
<a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> *             <a class="link" href="GFileEnumerator.html#g-file-enumerator-get-container" title="g_file_enumerator_get_container ()">g_file_enumerator_get_container</a>     (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator);
 
79
<a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a> *         <a class="link" href="GFileEnumerator.html#g-file-enumerator-next-file" title="g_file_enumerator_next_file ()">g_file_enumerator_next_file</a>         (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
80
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
81
                                                         <a
 
82
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
83
>GError</a> **error);
 
84
<a
 
85
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
86
>gboolean</a>            <a class="link" href="GFileEnumerator.html#g-file-enumerator-close" title="g_file_enumerator_close ()">g_file_enumerator_close</a>             (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
87
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
88
                                                         <a
 
89
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
90
>GError</a> **error);
 
91
void                <a class="link" href="GFileEnumerator.html#g-file-enumerator-next-files-async" title="g_file_enumerator_next_files_async ()">g_file_enumerator_next_files_async</a>  (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
92
                                                         int num_files,
 
93
                                                         int io_priority,
 
94
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
95
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
96
                                                         <a
 
97
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
98
>gpointer</a> user_data);
 
99
<a
 
100
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
 
101
>GList</a> *             <a class="link" href="GFileEnumerator.html#g-file-enumerator-next-files-finish" title="g_file_enumerator_next_files_finish ()">g_file_enumerator_next_files_finish</a> (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
102
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
103
                                                         <a
 
104
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
105
>GError</a> **error);
 
106
void                <a class="link" href="GFileEnumerator.html#g-file-enumerator-close-async" title="g_file_enumerator_close_async ()">g_file_enumerator_close_async</a>       (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
107
                                                         int io_priority,
 
108
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
109
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
110
                                                         <a
 
111
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
112
>gpointer</a> user_data);
 
113
<a
 
114
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
115
>gboolean</a>            <a class="link" href="GFileEnumerator.html#g-file-enumerator-close-finish" title="g_file_enumerator_close_finish ()">g_file_enumerator_close_finish</a>      (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
116
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
117
                                                         <a
 
118
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
119
>GError</a> **error);
 
120
<a
 
121
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
122
>gboolean</a>            <a class="link" href="GFileEnumerator.html#g-file-enumerator-is-closed" title="g_file_enumerator_is_closed ()">g_file_enumerator_is_closed</a>         (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator);
 
123
<a
 
124
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
125
>gboolean</a>            <a class="link" href="GFileEnumerator.html#g-file-enumerator-has-pending" title="g_file_enumerator_has_pending ()">g_file_enumerator_has_pending</a>       (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator);
 
126
void                <a class="link" href="GFileEnumerator.html#g-file-enumerator-set-pending" title="g_file_enumerator_set_pending ()">g_file_enumerator_set_pending</a>       (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
127
                                                         <a
 
128
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
129
>gboolean</a> pending);
 
130
<a class="link" href="GFile.html" title="GFile">GFile</a> *             <a class="link" href="GFileEnumerator.html#g-file-enumerator-get-container" title="g_file_enumerator_get_container ()">g_file_enumerator_get_container</a>     (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator);
106
131
</pre>
107
132
</div>
108
133
<div class="refsect1" title="Object Hierarchy">
109
134
<a name="GFileEnumerator.object-hierarchy"></a><h2>Object Hierarchy</h2>
110
135
<pre class="synopsis">
111
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
136
  GObject
112
137
   +----GFileEnumerator
113
138
</pre>
114
139
</div>
115
140
<div class="refsect1" title="Properties">
116
141
<a name="GFileEnumerator.properties"></a><h2>Properties</h2>
117
142
<pre class="synopsis">
118
 
  "<a class="link" href="GFileEnumerator.html#GFileEnumerator--container" title='The "container" property'>container</a>"                <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>*                : Write / Construct Only
 
143
  "<a class="link" href="GFileEnumerator.html#GFileEnumerator--container" title='The "container" property'>container</a>"                <a class="link" href="GFile.html" title="GFile">GFile</a>*                : Write / Construct Only
119
144
</pre>
120
145
</div>
121
146
<div class="refsect1" title="Description">
137
162
To close a <a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="type">GFileEnumerator</span></a>, use <a class="link" href="GFileEnumerator.html#g-file-enumerator-close" title="g_file_enumerator_close ()"><code class="function">g_file_enumerator_close()</code></a>, or 
138
163
its asynchronous version, <a class="link" href="GFileEnumerator.html#g-file-enumerator-close-async" title="g_file_enumerator_close_async ()"><code class="function">g_file_enumerator_close_async()</code></a>. Once 
139
164
a <a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="type">GFileEnumerator</span></a> is closed, no further actions may be performed 
140
 
on it, and it should be freed with <a href="/usr/share/gtk-doc/html/libmissioncontrol-server/libmissioncontrol-server-mcd-debug.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
 
165
on it, and it should be freed with <code class="function">g_object_unref()</code>.</p>
 
166
<p>
 
167
</p>
141
168
</div>
142
169
<div class="refsect1" title="Details">
143
170
<a name="GFileEnumerator.details"></a><h2>Details</h2>
146
173
<pre class="programlisting">typedef struct _GFileEnumerator GFileEnumerator;</pre>
147
174
<p>
148
175
A per matched file iterator.</p>
 
176
<p>
 
177
</p>
149
178
<div class="variablelist"><table border="0">
150
179
<col align="left" valign="top">
151
180
<tbody></tbody>
154
183
<hr>
155
184
<div class="refsect2" title="g_file_enumerator_next_file ()">
156
185
<a name="g-file-enumerator-next-file"></a><h3>g_file_enumerator_next_file ()</h3>
157
 
<pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *         g_file_enumerator_next_file         (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
158
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
159
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
186
<pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a> *         g_file_enumerator_next_file         (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
187
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
188
                                                         <a
 
189
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
190
>GError</a> **error);</pre>
160
191
<p>
161
192
Returns information for the next file in the enumerated object.
162
193
Will block until the information is available. The <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> 
164
195
attribute string that was passed when the <a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="type">GFileEnumerator</span></a> was created.
165
196
</p>
166
197
<p>
167
 
On error, returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and sets <em class="parameter"><code>error</code></em> to the error. If the
168
 
enumerator is at the end, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned and <em class="parameter"><code>error</code></em> will
 
198
On error, returns <a
 
199
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
200
><code class="literal">NULL</code></a> and sets <em class="parameter"><code>error</code></em> to the error. If the
 
201
enumerator is at the end, <a
 
202
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
203
><code class="literal">NULL</code></a> will be returned and <em class="parameter"><code>error</code></em> will
169
204
be unset.</p>
 
205
<p>
 
206
</p>
170
207
<div class="variablelist"><table border="0">
171
208
<col align="left" valign="top">
172
209
<tbody>
177
214
</tr>
178
215
<tr>
179
216
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
180
 
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
 
217
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
 
218
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
219
><code class="literal">NULL</code></a> to ignore.
181
220
</td>
182
221
</tr>
183
222
<tr>
184
223
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
185
 
<td> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore
 
224
<td> location to store the error occuring, or <a
 
225
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
226
><code class="literal">NULL</code></a> to ignore
186
227
</td>
187
228
</tr>
188
229
<tr>
189
230
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
190
 
<td> A <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error or end of enumerator.
191
 
   Free the returned object with <a href="/usr/share/gtk-doc/html/libmissioncontrol-server/libmissioncontrol-server-mcd-debug.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed.
 
231
<td> A <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> or <a
 
232
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
233
><code class="literal">NULL</code></a> on error or end of enumerator.
 
234
   Free the returned object with <code class="function">g_object_unref()</code> when no longer needed.
192
235
</td>
193
236
</tr>
194
237
</tbody>
197
240
<hr>
198
241
<div class="refsect2" title="g_file_enumerator_close ()">
199
242
<a name="g-file-enumerator-close"></a><h3>g_file_enumerator_close ()</h3>
200
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_enumerator_close             (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
201
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
202
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
243
<pre class="programlisting"><a
 
244
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
245
>gboolean</a>            g_file_enumerator_close             (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
246
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
247
                                                         <a
 
248
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
249
>GError</a> **error);</pre>
203
250
<p>
204
251
Releases all resources used by this enumerator, making the
205
 
enumerator return <a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED:CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a> on all calls.
 
252
enumerator return <a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED--CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a> on all calls.
206
253
</p>
207
254
<p>
208
255
This will be automatically called when the last reference
209
256
is dropped, but you might want to call this function to make 
210
257
sure resources are released as early as possible.</p>
 
258
<p>
 
259
</p>
211
260
<div class="variablelist"><table border="0">
212
261
<col align="left" valign="top">
213
262
<tbody>
218
267
</tr>
219
268
<tr>
220
269
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
221
 
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. 
 
270
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
 
271
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
272
><code class="literal">NULL</code></a> to ignore. 
222
273
</td>
223
274
</tr>
224
275
<tr>
225
276
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
226
 
<td> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore
 
277
<td> location to store the error occuring, or <a
 
278
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
279
><code class="literal">NULL</code></a> to ignore
227
280
</td>
228
281
</tr>
229
282
<tr>
230
283
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
231
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> on success or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a> on error.
 
284
<td> <a
 
285
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
286
><span class="type">TRUE</span></a> on success or <a
 
287
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
288
><span class="type">FALSE</span></a> on error.
232
289
</td>
233
290
</tr>
234
291
</tbody>
237
294
<hr>
238
295
<div class="refsect2" title="g_file_enumerator_next_files_async ()">
239
296
<a name="g-file-enumerator-next-files-async"></a><h3>g_file_enumerator_next_files_async ()</h3>
240
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_file_enumerator_next_files_async  (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
241
 
                                                         <span class="returnvalue">int</span> num_files,
242
 
                                                         <span class="returnvalue">int</span> io_priority,
243
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
244
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
245
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);</pre>
 
297
<pre class="programlisting">void                g_file_enumerator_next_files_async  (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
298
                                                         int num_files,
 
299
                                                         int io_priority,
 
300
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
301
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
302
                                                         <a
 
303
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
304
>gpointer</a> user_data);</pre>
246
305
<p>
247
306
Request information for a number of files from the enumerator asynchronously.
248
307
When all i/o for the operation is finished the <em class="parameter"><code>callback</code></em> will be called with
253
312
or at the end of the enumerator. In case of a partial error the callback will
254
313
be called with any succeeding items and no error, and on the next request the
255
314
error will be reported. If a request is cancelled the callback will be called
256
 
with <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a>.
 
315
with <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED--CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a>.
257
316
</p>
258
317
<p>
259
318
During an async request no other sync and async calls are allowed, and will
260
 
result in <a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING:CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a> errors. 
 
319
result in <a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING--CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a> errors. 
261
320
</p>
262
321
<p>
263
322
Any outstanding i/o request with higher priority (lower numerical value) will
264
323
be executed before an outstanding request with lower priority. Default
265
 
priority is <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS"><code class="literal">G_PRIORITY_DEFAULT</code></a>.</p>
 
324
priority is <a
 
325
href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT--CAPS"
 
326
><code class="literal">G_PRIORITY_DEFAULT</code></a>.</p>
 
327
<p>
 
328
</p>
266
329
<div class="variablelist"><table border="0">
267
330
<col align="left" valign="top">
268
331
<tbody>
284
347
</tr>
285
348
<tr>
286
349
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
287
 
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
 
350
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
 
351
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
352
><code class="literal">NULL</code></a> to ignore.
288
353
</td>
289
354
</tr>
290
355
<tr>
303
368
<hr>
304
369
<div class="refsect2" title="g_file_enumerator_next_files_finish ()">
305
370
<a name="g-file-enumerator-next-files-finish"></a><h3>g_file_enumerator_next_files_finish ()</h3>
306
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             g_file_enumerator_next_files_finish (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
307
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
308
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
371
<pre class="programlisting"><a
 
372
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
 
373
>GList</a> *             g_file_enumerator_next_files_finish (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
374
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
375
                                                         <a
 
376
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
377
>GError</a> **error);</pre>
309
378
<p>
310
379
Finishes the asynchronous operation started with <a class="link" href="GFileEnumerator.html#g-file-enumerator-next-files-async" title="g_file_enumerator_next_files_async ()"><code class="function">g_file_enumerator_next_files_async()</code></a>.</p>
 
380
<p>
 
381
</p>
311
382
<div class="variablelist"><table border="0">
312
383
<col align="left" valign="top">
313
384
<tbody>
323
394
</tr>
324
395
<tr>
325
396
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
326
 
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to 
 
397
<td> a <a
 
398
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
399
><span class="type">GError</span></a> location to store the error occuring, or <a
 
400
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
401
><code class="literal">NULL</code></a> to 
327
402
ignore.
328
403
</td>
329
404
</tr>
330
405
<tr>
331
406
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
332
 
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>s. You must free the list with 
333
 
    <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> and unref the infos with <a href="/usr/share/gtk-doc/html/libmissioncontrol-server/libmissioncontrol-server-mcd-debug.html#g-object-unref"><code class="function">g_object_unref()</code></a> when you're 
 
407
<td> a <a
 
408
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
 
409
><span class="type">GList</span></a> of <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>s. You must free the list with 
 
410
    <a
 
411
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"
 
412
><code class="function">g_list_free()</code></a> and unref the infos with <code class="function">g_object_unref()</code> when you're 
334
413
    done with them.
335
414
</td>
336
415
</tr>
340
419
<hr>
341
420
<div class="refsect2" title="g_file_enumerator_close_async ()">
342
421
<a name="g-file-enumerator-close-async"></a><h3>g_file_enumerator_close_async ()</h3>
343
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_file_enumerator_close_async       (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
344
 
                                                         <span class="returnvalue">int</span> io_priority,
345
 
                                                         <a class="link" href="GCancellable.html" title="GCancellable"><span class="returnvalue">GCancellable</span></a> *cancellable,
346
 
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="returnvalue">GAsyncReadyCallback</span></a> callback,
347
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);</pre>
 
422
<pre class="programlisting">void                g_file_enumerator_close_async       (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
423
                                                         int io_priority,
 
424
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
425
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()">GAsyncReadyCallback</a> callback,
 
426
                                                         <a
 
427
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
 
428
>gpointer</a> user_data);</pre>
348
429
<p>
349
430
Asynchronously closes the file enumerator. 
350
431
</p>
351
432
<p>
352
 
If <em class="parameter"><code>cancellable</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
 
433
If <em class="parameter"><code>cancellable</code></em> is not <a
 
434
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
435
><code class="literal">NULL</code></a>, then the operation can be cancelled by
353
436
triggering the cancellable object from another thread. If the operation
354
 
was cancelled, the error <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be returned in 
 
437
was cancelled, the error <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED--CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be returned in 
355
438
<a class="link" href="GFileEnumerator.html#g-file-enumerator-close-finish" title="g_file_enumerator_close_finish ()"><code class="function">g_file_enumerator_close_finish()</code></a>.</p>
 
439
<p>
 
440
</p>
356
441
<div class="variablelist"><table border="0">
357
442
<col align="left" valign="top">
358
443
<tbody>
369
454
</tr>
370
455
<tr>
371
456
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
372
 
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. 
 
457
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
 
458
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
459
><code class="literal">NULL</code></a> to ignore. 
373
460
</td>
374
461
</tr>
375
462
<tr>
388
475
<hr>
389
476
<div class="refsect2" title="g_file_enumerator_close_finish ()">
390
477
<a name="g-file-enumerator-close-finish"></a><h3>g_file_enumerator_close_finish ()</h3>
391
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_enumerator_close_finish      (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
392
 
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="returnvalue">GAsyncResult</span></a> *result,
393
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
478
<pre class="programlisting"><a
 
479
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
480
>gboolean</a>            g_file_enumerator_close_finish      (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
481
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
 
482
                                                         <a
 
483
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
484
>GError</a> **error);</pre>
394
485
<p>
395
486
Finishes closing a file enumerator, started from <a class="link" href="GFileEnumerator.html#g-file-enumerator-close-async" title="g_file_enumerator_close_async ()"><code class="function">g_file_enumerator_close_async()</code></a>.
396
487
</p>
397
488
<p>
398
489
If the file enumerator was already closed when <a class="link" href="GFileEnumerator.html#g-file-enumerator-close-async" title="g_file_enumerator_close_async ()"><code class="function">g_file_enumerator_close_async()</code></a> 
399
 
was called, then this function will report <a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED:CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a> in <em class="parameter"><code>error</code></em>, and 
400
 
return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. If the file enumerator had pending operation when the close 
401
 
operation was started, then this function will report <a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING:CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a>, and
402
 
return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.  If <em class="parameter"><code>cancellable</code></em> was not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation may have been 
 
490
was called, then this function will report <a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED--CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a> in <em class="parameter"><code>error</code></em>, and 
 
491
return <a
 
492
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
493
><code class="literal">FALSE</code></a>. If the file enumerator had pending operation when the close 
 
494
operation was started, then this function will report <a class="link" href="gio-GIOError.html#G-IO-ERROR-PENDING--CAPS"><code class="literal">G_IO_ERROR_PENDING</code></a>, and
 
495
return <a
 
496
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
497
><code class="literal">FALSE</code></a>.  If <em class="parameter"><code>cancellable</code></em> was not <a
 
498
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
499
><code class="literal">NULL</code></a>, then the operation may have been 
403
500
cancelled by triggering the cancellable object from another thread. If the operation
404
 
was cancelled, the error <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be set, and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be 
 
501
was cancelled, the error <a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED--CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be set, and <a
 
502
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
 
503
><code class="literal">FALSE</code></a> will be 
405
504
returned.</p>
 
505
<p>
 
506
</p>
406
507
<div class="variablelist"><table border="0">
407
508
<col align="left" valign="top">
408
509
<tbody>
418
519
</tr>
419
520
<tr>
420
521
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
421
 
<td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to store the error occuring, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to 
 
522
<td> a <a
 
523
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
 
524
><span class="type">GError</span></a> location to store the error occuring, or <a
 
525
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
 
526
><code class="literal">NULL</code></a> to 
422
527
ignore.
423
528
</td>
424
529
</tr>
425
530
<tr>
426
531
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
427
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the close operation has finished successfully.
 
532
<td> <a
 
533
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
534
><code class="literal">TRUE</code></a> if the close operation has finished successfully.
428
535
</td>
429
536
</tr>
430
537
</tbody>
433
540
<hr>
434
541
<div class="refsect2" title="g_file_enumerator_is_closed ()">
435
542
<a name="g-file-enumerator-is-closed"></a><h3>g_file_enumerator_is_closed ()</h3>
436
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_enumerator_is_closed         (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator);</pre>
 
543
<pre class="programlisting"><a
 
544
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
545
>gboolean</a>            g_file_enumerator_is_closed         (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator);</pre>
437
546
<p>
438
547
Checks if the file enumerator has been closed.</p>
 
548
<p>
 
549
</p>
439
550
<div class="variablelist"><table border="0">
440
551
<col align="left" valign="top">
441
552
<tbody>
446
557
</tr>
447
558
<tr>
448
559
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
449
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>enumerator</code></em> is closed.
 
560
<td> <a
 
561
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
562
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>enumerator</code></em> is closed.
450
563
</td>
451
564
</tr>
452
565
</tbody>
455
568
<hr>
456
569
<div class="refsect2" title="g_file_enumerator_has_pending ()">
457
570
<a name="g-file-enumerator-has-pending"></a><h3>g_file_enumerator_has_pending ()</h3>
458
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            g_file_enumerator_has_pending       (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator);</pre>
 
571
<pre class="programlisting"><a
 
572
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
573
>gboolean</a>            g_file_enumerator_has_pending       (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator);</pre>
459
574
<p>
460
575
Checks if the file enumerator has pending operations.</p>
 
576
<p>
 
577
</p>
461
578
<div class="variablelist"><table border="0">
462
579
<col align="left" valign="top">
463
580
<tbody>
468
585
</tr>
469
586
<tr>
470
587
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
471
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>enumerator</code></em> has pending operations.
 
588
<td> <a
 
589
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
 
590
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>enumerator</code></em> has pending operations.
472
591
</td>
473
592
</tr>
474
593
</tbody>
477
596
<hr>
478
597
<div class="refsect2" title="g_file_enumerator_set_pending ()">
479
598
<a name="g-file-enumerator-set-pending"></a><h3>g_file_enumerator_set_pending ()</h3>
480
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_file_enumerator_set_pending       (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator,
481
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pending);</pre>
 
599
<pre class="programlisting">void                g_file_enumerator_set_pending       (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator,
 
600
                                                         <a
 
601
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
602
>gboolean</a> pending);</pre>
482
603
<p>
483
604
Sets the file enumerator as having pending operations.</p>
 
605
<p>
 
606
</p>
484
607
<div class="variablelist"><table border="0">
485
608
<col align="left" valign="top">
486
609
<tbody>
500
623
<hr>
501
624
<div class="refsect2" title="g_file_enumerator_get_container ()">
502
625
<a name="g-file-enumerator-get-container"></a><h3>g_file_enumerator_get_container ()</h3>
503
 
<pre class="programlisting"><a class="link" href="GFile.html" title="GFile"><span class="returnvalue">GFile</span></a> *             g_file_enumerator_get_container     (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="returnvalue">GFileEnumerator</span></a> *enumerator);</pre>
 
626
<pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a> *             g_file_enumerator_get_container     (<a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a> *enumerator);</pre>
504
627
<p>
505
628
Get the <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> container which is being enumerated.</p>
 
629
<p>
 
630
</p>
506
631
<div class="variablelist"><table border="0">
507
632
<col align="left" valign="top">
508
633
<tbody>
526
651
<a name="GFileEnumerator.property-details"></a><h2>Property Details</h2>
527
652
<div class="refsect2" title='The "container" property'>
528
653
<a name="GFileEnumerator--container"></a><h3>The <code class="literal">"container"</code> property</h3>
529
 
<pre class="programlisting">  "container"                <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>*                : Write / Construct Only</pre>
 
654
<pre class="programlisting">  "container"                <a class="link" href="GFile.html" title="GFile">GFile</a>*                : Write / Construct Only</pre>
530
655
<p>The container that is being enumerated.</p>
531
656
</div>
532
657
</div>
533
658
</div>
534
659
<div class="footer">
535
660
<hr>
536
 
          Generated by GTK-Doc V1.13</div>
 
661
          Generated by GTK-Doc V1.11</div>
537
662
</body>
538
 
</html>
 
 
b'\\ No newline at end of file'
 
663
</html>