~ubuntu-branches/debian/experimental/thunar/experimental

« back to all changes in this revision

Viewing changes to docs/reference/thunarx/html/ThunarxFileInfo.html

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2006-01-02 23:42:32 UTC
  • Revision ID: james.westby@ubuntu.com-20060102234232-8xeq0lqhyn70syr0
Tags: upstream-0.1.4svn+r18850
ImportĀ upstreamĀ versionĀ 0.1.4svn+r18850

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
<head>
 
3
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
4
<title>ThunarxFileInfo</title>
 
5
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<link rel="start" href="index.html" title="Thunar Extensions Reference Manual">
 
7
<link rel="up" href="thunarx-abstraction-layer.html" title="Part&#160;IV.&#160;Abstraction Layer">
 
8
<link rel="prev" href="thunarx-abstraction-layer.html" title="Part&#160;IV.&#160;Abstraction Layer">
 
9
<link rel="next" href="ThunarxPropertyPage.html" title="ThunarxPropertyPage">
 
10
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
 
11
<link rel="stylesheet" href="style.css" type="text/css">
 
12
<link rel="part" href="thunarx-overview.html" title="Part&#160;I.&#160;Overview">
 
13
<link rel="part" href="thunarx-writing-extensions.html" title="Part&#160;II.&#160;Writing Extensions">
 
14
<link rel="part" href="thunarx-fundamentals.html" title="Part&#160;III.&#160;Fundamentals">
 
15
<link rel="part" href="thunarx-abstraction-layer.html" title="Part&#160;IV.&#160;Abstraction Layer">
 
16
<link rel="part" href="thunarx-providers.html" title="Part&#160;V.&#160;Providers">
 
17
<link rel="index" href="ix01.html" title="Index">
 
18
</head>
 
19
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
20
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
 
21
<td><a accesskey="p" href="thunarx-abstraction-layer.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
22
<td><a accesskey="u" href="thunarx-abstraction-layer.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
23
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
24
<th width="100%" align="center">Thunar Extensions Reference Manual</th>
 
25
<td><a accesskey="n" href="ThunarxPropertyPage.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
26
</tr></table>
 
27
<div class="refentry" lang="en">
 
28
<a name="ThunarxFileInfo"></a><div class="titlepage"></div>
 
29
<div class="refnamediv"><table width="100%"><tr>
 
30
<td valign="top">
 
31
<h2><span class="refentrytitle">ThunarxFileInfo</span></h2>
 
32
<p>ThunarxFileInfo &#8212; Abstraction of a file handled within the file manager</p>
 
33
</td>
 
34
<td valign="top" align="right"></td>
 
35
</tr></table></div>
 
36
<div class="refsect1" lang="en">
 
37
<a name="id2592587"></a><h2>Stability Level</h2>
 
38
Stable, unless otherwise indicated
 
39
</div>
 
40
<div class="refsynopsisdiv">
 
41
<h2>Synopsis</h2>
 
42
<pre class="synopsis">
 
43
 
 
44
#include &lt;thunarx/thunarx.h&gt;
 
45
 
 
46
 
 
47
            <a href="ThunarxFileInfo.html#ThunarxFileInfoIface">ThunarxFileInfoIface</a>;
 
48
            <a href="ThunarxFileInfo.html#ThunarxFileInfo-struct">ThunarxFileInfo</a>;
 
49
gchar*      <a href="ThunarxFileInfo.html#thunarx-file-info-get-name">thunarx_file_info_get_name</a>      (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info);
 
50
gchar*      <a href="ThunarxFileInfo.html#thunarx-file-info-get-uri">thunarx_file_info_get_uri</a>       (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info);
 
51
gchar*      <a href="ThunarxFileInfo.html#thunarx-file-info-get-parent-uri">thunarx_file_info_get_parent_uri</a>
 
52
                                            (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info);
 
53
gchar*      <a href="ThunarxFileInfo.html#thunarx-file-info-get-uri-scheme">thunarx_file_info_get_uri_scheme</a>
 
54
                                            (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info);
 
55
gchar*      <a href="ThunarxFileInfo.html#thunarx-file-info-get-mime-type">thunarx_file_info_get_mime_type</a> (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info);
 
56
gboolean    <a href="ThunarxFileInfo.html#thunarx-file-info-has-mime-type">thunarx_file_info_has_mime_type</a> (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info,
 
57
                                             const gchar *mime_type);
 
58
gboolean    <a href="ThunarxFileInfo.html#thunarx-file-info-is-directory">thunarx_file_info_is_directory</a>  (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info);
 
59
GList*      <a href="ThunarxFileInfo.html#thunarx-file-info-list-copy">thunarx_file_info_list_copy</a>     (GList *file_infos);
 
60
void        <a href="ThunarxFileInfo.html#thunarx-file-info-list-free">thunarx_file_info_list_free</a>     (GList *file_infos);
 
61
 
 
62
 
 
63
</pre>
 
64
</div>
 
65
<div class="refsect1" lang="en">
 
66
<a name="id2592842"></a><h2>Object Hierarchy</h2>
 
67
<pre class="synopsis">
 
68
 
 
69
  GInterface
 
70
   +----ThunarxFileInfo
 
71
</pre>
 
72
</div>
 
73
<div class="refsect1" lang="en">
 
74
<a name="id2592859"></a><h2>Prerequisites</h2>
 
75
<p>
 
76
ThunarxFileInfo requires
 
77
 GObject.</p>
 
78
</div>
 
79
<div class="refsect1" lang="en">
 
80
<a name="id2592874"></a><h2>Description</h2>
 
81
<p>
 
82
  The <span class="interface">ThunarxFileInfo</span> interface provides extensions with
 
83
  a way to access information about a file handled within the file manager.
 
84
</p>
 
85
</div>
 
86
<div class="refsect1" lang="en">
 
87
<a name="id2592889"></a><h2>Details</h2>
 
88
<div class="refsect2" lang="en">
 
89
<a name="id2592894"></a><h3>
 
90
<a name="ThunarxFileInfoIface"></a>ThunarxFileInfoIface</h3>
 
91
<a class="indexterm" name="id2592903"></a><pre class="programlisting">typedef struct {
 
92
  gchar     *(*get_name)        (ThunarxFileInfo *file_info);
 
93
 
 
94
  gchar     *(*get_uri)         (ThunarxFileInfo *file_info);
 
95
  gchar     *(*get_parent_uri)  (ThunarxFileInfo *file_info);
 
96
  gchar     *(*get_uri_scheme)  (ThunarxFileInfo *file_info);
 
97
 
 
98
  gchar     *(*get_mime_type)   (ThunarxFileInfo *file_info);
 
99
  gboolean   (*has_mime_type)   (ThunarxFileInfo *file_info,
 
100
                                 const gchar     *mime_type);
 
101
 
 
102
  gboolean   (*is_directory)    (ThunarxFileInfo *file_info);
 
103
} ThunarxFileInfoIface;
 
104
</pre>
 
105
<p>
 
106
  Interface with virtual methods implemented by the file manager and accessible
 
107
  from the extensions.
 
108
</p>
 
109
<div class="variablelist"><table border="0">
 
110
<col align="left" valign="top">
 
111
<tbody>
 
112
<tr>
 
113
<td>
 
114
<span class="term"><em class="structfield"><code>get_name</code></em>&#160;()</span></td>
 
115
<td>See <a href="ThunarxFileInfo.html#thunarx-file-info-get-name"><code class="function">thunarx_file_info_get_name()</code></a>.
 
116
</td>
 
117
</tr>
 
118
<tr>
 
119
<td>
 
120
<span class="term"><em class="structfield"><code>get_uri</code></em>&#160;()</span></td>
 
121
<td>See <a href="ThunarxFileInfo.html#thunarx-file-info-get-uri"><code class="function">thunarx_file_info_get_uri()</code></a>.
 
122
</td>
 
123
</tr>
 
124
<tr>
 
125
<td>
 
126
<span class="term"><em class="structfield"><code>get_parent_uri</code></em>&#160;()</span></td>
 
127
<td>See <a href="ThunarxFileInfo.html#thunarx-file-info-get-parent-uri"><code class="function">thunarx_file_info_get_parent_uri()</code></a>.
 
128
</td>
 
129
</tr>
 
130
<tr>
 
131
<td>
 
132
<span class="term"><em class="structfield"><code>get_uri_scheme</code></em>&#160;()</span></td>
 
133
<td>See <a href="ThunarxFileInfo.html#thunarx-file-info-get-uri-scheme"><code class="function">thunarx_file_info_get_uri_scheme()</code></a>.
 
134
</td>
 
135
</tr>
 
136
<tr>
 
137
<td>
 
138
<span class="term"><em class="structfield"><code>get_mime_type</code></em>&#160;()</span></td>
 
139
<td>See <a href="ThunarxFileInfo.html#thunarx-file-info-get-mime-type"><code class="function">thunarx_file_info_get_mime_type()</code></a>.
 
140
</td>
 
141
</tr>
 
142
<tr>
 
143
<td>
 
144
<span class="term"><em class="structfield"><code>has_mime_type</code></em>&#160;()</span></td>
 
145
<td>See <a href="ThunarxFileInfo.html#thunarx-file-info-has-mime-type"><code class="function">thunarx_file_info_has_mime_type()</code></a>.
 
146
</td>
 
147
</tr>
 
148
<tr>
 
149
<td>
 
150
<span class="term"><em class="structfield"><code>is_directory</code></em>&#160;()</span></td>
 
151
<td>See <a href="ThunarxFileInfo.html#thunarx-file-info-is-directory"><code class="function">thunarx_file_info_is_directory()</code></a>.
 
152
 
 
153
</td>
 
154
</tr>
 
155
</tbody>
 
156
</table></div>
 
157
</div>
 
158
<hr>
 
159
<div class="refsect2" lang="en">
 
160
<a name="id2593217"></a><h3>
 
161
<a name="ThunarxFileInfo-struct"></a>ThunarxFileInfo</h3>
 
162
<a class="indexterm" name="id2593225"></a><pre class="programlisting">typedef struct _ThunarxFileInfo ThunarxFileInfo;</pre>
 
163
<p>
 
164
        File info type, which is mapped to the real file info implementation
 
165
        within the file manager.
 
166
</p>
 
167
</div>
 
168
<hr>
 
169
<div class="refsect2" lang="en">
 
170
<a name="id2593240"></a><h3>
 
171
<a name="thunarx-file-info-get-name"></a>thunarx_file_info_get_name ()</h3>
 
172
<a class="indexterm" name="id2593249"></a><pre class="programlisting">gchar*      thunarx_file_info_get_name      (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info);</pre>
 
173
<p>
 
174
Returns the real name of the file represented
 
175
by <em class="parameter"><code>file_info</code></em> in the local file system encoding.
 
176
You can use <code class="function">g_filename_display_name()</code> or similar
 
177
functions to generate an UTF-8 version of the
 
178
name, which is suitable for use in the user
 
179
interface.
 
180
</p>
 
181
<p>
 
182
The caller is responsible to free the returned
 
183
string using <code class="function">g_free()</code> when no longer needed.</p>
 
184
<p>
 
185
 
 
186
</p>
 
187
<div class="variablelist"><table border="0">
 
188
<col align="left" valign="top">
 
189
<tbody>
 
190
<tr>
 
191
<td>
 
192
<span class="term"><em class="parameter"><code>file_info</code></em>&#160;:</span></td>
 
193
<td> a <a href="ThunarxFileInfo.html" title="ThunarxFileInfo"><span class="type">ThunarxFileInfo</span></a>.
 
194
</td>
 
195
</tr>
 
196
<tr>
 
197
<td>
 
198
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
199
<td> the real name of the file represented
 
200
              by <em class="parameter"><code>file_info</code></em>.
 
201
</td>
 
202
</tr>
 
203
</tbody>
 
204
</table></div>
 
205
</div>
 
206
<hr>
 
207
<div class="refsect2" lang="en">
 
208
<a name="id2593345"></a><h3>
 
209
<a name="thunarx-file-info-get-uri"></a>thunarx_file_info_get_uri ()</h3>
 
210
<a class="indexterm" name="id2593353"></a><pre class="programlisting">gchar*      thunarx_file_info_get_uri       (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info);</pre>
 
211
<p>
 
212
Returns the escaped, fully qualified URI
 
213
of the file object represented by <em class="parameter"><code>file_info</code></em>.
 
214
You may use <code class="function">g_filename_from_uri()</code> and similar
 
215
functions to work with the returned URI.
 
216
</p>
 
217
<p>
 
218
The caller is responsible to free the returned
 
219
string using <code class="function">g_free()</code> when no longer needed.</p>
 
220
<p>
 
221
 
 
222
</p>
 
223
<div class="variablelist"><table border="0">
 
224
<col align="left" valign="top">
 
225
<tbody>
 
226
<tr>
 
227
<td>
 
228
<span class="term"><em class="parameter"><code>file_info</code></em>&#160;:</span></td>
 
229
<td> a <a href="ThunarxFileInfo.html" title="ThunarxFileInfo"><span class="type">ThunarxFileInfo</span></a>.
 
230
</td>
 
231
</tr>
 
232
<tr>
 
233
<td>
 
234
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
235
<td> the fully qualified URI of <em class="parameter"><code>file_info</code></em>.
 
236
</td>
 
237
</tr>
 
238
</tbody>
 
239
</table></div>
 
240
</div>
 
241
<hr>
 
242
<div class="refsect2" lang="en">
 
243
<a name="id2593447"></a><h3>
 
244
<a name="thunarx-file-info-get-parent-uri"></a>thunarx_file_info_get_parent_uri ()</h3>
 
245
<a class="indexterm" name="id2593459"></a><pre class="programlisting">gchar*      thunarx_file_info_get_parent_uri
 
246
                                            (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info);</pre>
 
247
<p>
 
248
Returns the URI to the parent file of
 
249
<em class="parameter"><code>file_info</code></em> or <code class="literal">NULL</code> if <em class="parameter"><code>file_info</code></em> has
 
250
no parent. Note that the parent URI
 
251
may be of a different type than the
 
252
URI of <em class="parameter"><code>file_info</code></em>. For example, the
 
253
parent of "file:///" is "computer:///".
 
254
</p>
 
255
<p>
 
256
The caller is responsible to free the
 
257
returned string using <code class="function">g_free()</code> when no
 
258
longer needed.</p>
 
259
<p>
 
260
 
 
261
</p>
 
262
<div class="variablelist"><table border="0">
 
263
<col align="left" valign="top">
 
264
<tbody>
 
265
<tr>
 
266
<td>
 
267
<span class="term"><em class="parameter"><code>file_info</code></em>&#160;:</span></td>
 
268
<td> a <a href="ThunarxFileInfo.html" title="ThunarxFileInfo"><span class="type">ThunarxFileInfo</span></a>.
 
269
</td>
 
270
</tr>
 
271
<tr>
 
272
<td>
 
273
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
274
<td> the parent URI for <em class="parameter"><code>file_info</code></em>
 
275
              or <code class="literal">NULL</code>.
 
276
</td>
 
277
</tr>
 
278
</tbody>
 
279
</table></div>
 
280
</div>
 
281
<hr>
 
282
<div class="refsect2" lang="en">
 
283
<a name="id2593566"></a><h3>
 
284
<a name="thunarx-file-info-get-uri-scheme"></a>thunarx_file_info_get_uri_scheme ()</h3>
 
285
<a class="indexterm" name="id2593578"></a><pre class="programlisting">gchar*      thunarx_file_info_get_uri_scheme
 
286
                                            (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info);</pre>
 
287
<p>
 
288
Returns the URI scheme of the file represented
 
289
by <em class="parameter"><code>file_info</code></em>. E.g. if <em class="parameter"><code>file_info</code></em> refers to the
 
290
file "file:///usr/home", the return value will
 
291
be "file".
 
292
</p>
 
293
<p>
 
294
The caller is responsible to free the returned
 
295
string using <code class="function">g_free()</code> when no longer needed.</p>
 
296
<p>
 
297
 
 
298
</p>
 
299
<div class="variablelist"><table border="0">
 
300
<col align="left" valign="top">
 
301
<tbody>
 
302
<tr>
 
303
<td>
 
304
<span class="term"><em class="parameter"><code>file_info</code></em>&#160;:</span></td>
 
305
<td> a <a href="ThunarxFileInfo.html" title="ThunarxFileInfo"><span class="type">ThunarxFileInfo</span></a>.
 
306
</td>
 
307
</tr>
 
308
<tr>
 
309
<td>
 
310
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
311
<td> the URI scheme for <em class="parameter"><code>file_info</code></em>.
 
312
</td>
 
313
</tr>
 
314
</tbody>
 
315
</table></div>
 
316
</div>
 
317
<hr>
 
318
<div class="refsect2" lang="en">
 
319
<a name="id2593805"></a><h3>
 
320
<a name="thunarx-file-info-get-mime-type"></a>thunarx_file_info_get_mime_type ()</h3>
 
321
<a class="indexterm" name="id2593815"></a><pre class="programlisting">gchar*      thunarx_file_info_get_mime_type (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info);</pre>
 
322
<p>
 
323
Returns the MIME-type of the file represented by
 
324
<em class="parameter"><code>file_info</code></em> or <code class="literal">NULL</code> if no MIME-type is known for
 
325
<em class="parameter"><code>file_info</code></em>.
 
326
</p>
 
327
<p>
 
328
The caller is responsible to free the returned
 
329
string using <code class="function">g_free()</code> when no longer needed.</p>
 
330
<p>
 
331
 
 
332
</p>
 
333
<div class="variablelist"><table border="0">
 
334
<col align="left" valign="top">
 
335
<tbody>
 
336
<tr>
 
337
<td>
 
338
<span class="term"><em class="parameter"><code>file_info</code></em>&#160;:</span></td>
 
339
<td> a <a href="ThunarxFileInfo.html" title="ThunarxFileInfo"><span class="type">ThunarxFileInfo</span></a>.
 
340
</td>
 
341
</tr>
 
342
<tr>
 
343
<td>
 
344
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
345
<td> the MIME-type for <em class="parameter"><code>file_info</code></em> or
 
346
              <code class="literal">NULL</code>.
 
347
</td>
 
348
</tr>
 
349
</tbody>
 
350
</table></div>
 
351
</div>
 
352
<hr>
 
353
<div class="refsect2" lang="en">
 
354
<a name="id2593916"></a><h3>
 
355
<a name="thunarx-file-info-has-mime-type"></a>thunarx_file_info_has_mime_type ()</h3>
 
356
<a class="indexterm" name="id2593926"></a><pre class="programlisting">gboolean    thunarx_file_info_has_mime_type (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info,
 
357
                                             const gchar *mime_type);</pre>
 
358
<p>
 
359
Checks whether <em class="parameter"><code>file_info</code></em> is of the given <em class="parameter"><code>mime_type</code></em>
 
360
or whether the MIME-type of <em class="parameter"><code>file_info</code></em> is a subclass
 
361
of <em class="parameter"><code>mime_type</code></em>.
 
362
</p>
 
363
<p>
 
364
This is the preferred way for most extensions to check
 
365
whether they support a given file or not, and you should
 
366
consider using this method rather than
 
367
<a href="ThunarxFileInfo.html#thunarx-file-info-get-mime-type"><code class="function">thunarx_file_info_get_mime_type()</code></a>. A simple example would
 
368
be a menu extension that performs a certain action on
 
369
text files. In this case you want to check whether a given
 
370
<a href="ThunarxFileInfo.html" title="ThunarxFileInfo"><span class="type">ThunarxFileInfo</span></a> refers to any kind of text file, not only
 
371
to "text/plain" (e.g. this also includes "text/xml" and
 
372
"application/x-desktop").
 
373
</p>
 
374
<p>
 
375
But you should be aware that this method may take some
 
376
time to test whether <em class="parameter"><code>mime_type</code></em> is valid for <em class="parameter"><code>file_info</code></em>,
 
377
so don't call it too often.</p>
 
378
<p>
 
379
 
 
380
</p>
 
381
<div class="variablelist"><table border="0">
 
382
<col align="left" valign="top">
 
383
<tbody>
 
384
<tr>
 
385
<td>
 
386
<span class="term"><em class="parameter"><code>file_info</code></em>&#160;:</span></td>
 
387
<td> a <a href="ThunarxFileInfo.html" title="ThunarxFileInfo"><span class="type">ThunarxFileInfo</span></a>.
 
388
</td>
 
389
</tr>
 
390
<tr>
 
391
<td>
 
392
<span class="term"><em class="parameter"><code>mime_type</code></em>&#160;:</span></td>
 
393
<td> a MIME-type (e.g. "text/plain").
 
394
</td>
 
395
</tr>
 
396
<tr>
 
397
<td>
 
398
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
399
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>mime_type</code></em> is valid for <em class="parameter"><code>file_info</code></em>,
 
400
              else <code class="literal">FALSE</code>.
 
401
</td>
 
402
</tr>
 
403
</tbody>
 
404
</table></div>
 
405
</div>
 
406
<hr>
 
407
<div class="refsect2" lang="en">
 
408
<a name="id2594082"></a><h3>
 
409
<a name="thunarx-file-info-is-directory"></a>thunarx_file_info_is_directory ()</h3>
 
410
<a class="indexterm" name="id2594091"></a><pre class="programlisting">gboolean    thunarx_file_info_is_directory  (<a href="ThunarxFileInfo.html" title="ThunarxFileInfo">ThunarxFileInfo</a> *file_info);</pre>
 
411
<p>
 
412
Checks whether <em class="parameter"><code>file_info</code></em> refers to a directory.</p>
 
413
<p>
 
414
 
 
415
</p>
 
416
<div class="variablelist"><table border="0">
 
417
<col align="left" valign="top">
 
418
<tbody>
 
419
<tr>
 
420
<td>
 
421
<span class="term"><em class="parameter"><code>file_info</code></em>&#160;:</span></td>
 
422
<td> a <a href="ThunarxFileInfo.html" title="ThunarxFileInfo"><span class="type">ThunarxFileInfo</span></a>.
 
423
</td>
 
424
</tr>
 
425
<tr>
 
426
<td>
 
427
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
428
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>file_info</code></em> is a directory.
 
429
</td>
 
430
</tr>
 
431
</tbody>
 
432
</table></div>
 
433
</div>
 
434
<hr>
 
435
<div class="refsect2" lang="en">
 
436
<a name="id2594168"></a><h3>
 
437
<a name="thunarx-file-info-list-copy"></a>thunarx_file_info_list_copy ()</h3>
 
438
<a class="indexterm" name="id2594177"></a><pre class="programlisting">GList*      thunarx_file_info_list_copy     (GList *file_infos);</pre>
 
439
<p>
 
440
Does a deep copy of <em class="parameter"><code>file_infos</code></em> and returns the
 
441
new list.</p>
 
442
<p>
 
443
 
 
444
</p>
 
445
<div class="variablelist"><table border="0">
 
446
<col align="left" valign="top">
 
447
<tbody>
 
448
<tr>
 
449
<td>
 
450
<span class="term"><em class="parameter"><code>file_infos</code></em>&#160;:</span></td>
 
451
<td> a <span class="type">GList</span> of <a href="ThunarxFileInfo.html" title="ThunarxFileInfo"><span class="type">ThunarxFileInfo</span></a>s.
 
452
</td>
 
453
</tr>
 
454
<tr>
 
455
<td>
 
456
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
457
<td> a copy of <em class="parameter"><code>file_infos</code></em>.
 
458
</td>
 
459
</tr>
 
460
</tbody>
 
461
</table></div>
 
462
</div>
 
463
<hr>
 
464
<div class="refsect2" lang="en">
 
465
<a name="id2594256"></a><h3>
 
466
<a name="thunarx-file-info-list-free"></a>thunarx_file_info_list_free ()</h3>
 
467
<a class="indexterm" name="id2594264"></a><pre class="programlisting">void        thunarx_file_info_list_free     (GList *file_infos);</pre>
 
468
<p>
 
469
Frees the resources allocated for the <em class="parameter"><code>file_infos</code></em>
 
470
list and decreases the reference count on the
 
471
<a href="ThunarxFileInfo.html" title="ThunarxFileInfo"><span class="type">ThunarxFileInfo</span></a>s contained within.</p>
 
472
<p>
 
473
 
 
474
</p>
 
475
<div class="variablelist"><table border="0">
 
476
<col align="left" valign="top">
 
477
<tbody><tr>
 
478
<td>
 
479
<span class="term"><em class="parameter"><code>file_infos</code></em>&#160;:</span></td>
 
480
<td> a <span class="type">GList</span> of <a href="ThunarxFileInfo.html" title="ThunarxFileInfo"><span class="type">ThunarxFileInfo</span></a>s.
 
481
</td>
 
482
</tr></tbody>
 
483
</table></div>
 
484
</div>
 
485
</div>
 
486
</div>
 
487
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
 
488
<td align="left"><a accesskey="p" href="thunarx-abstraction-layer.html"><b>&lt;&lt;&#160;Part&#160;IV.&#160;Abstraction Layer</b></a></td>
 
489
<td align="right"><a accesskey="n" href="ThunarxPropertyPage.html"><b>ThunarxPropertyPage&#160;&gt;&gt;</b></a></td>
 
490
</tr></table>
 
491
</body>
 
492
</html>