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

« back to all changes in this revision

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

Tags: upstream-2.15.6
ImportĀ upstreamĀ versionĀ 2.15.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
<th width="100%" align="center">GIO Reference Manual</th>
41
41
<td><a accesskey="n" href="gio-GFileAttribute.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
42
42
</tr>
43
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3115588" class="shortcut">Top</a>
44
 
                  &#160;|&#160;
45
 
                  <a href="#id3177876" class="shortcut">Description</a>
46
 
                  &#160;|&#160;
47
 
                  <a href="#id3177829" class="shortcut">Object Hierarchy</a>
48
 
                  &#160;|&#160;
49
 
                  <a href="#id3177854" class="shortcut">Prerequisites</a></nobr></td></tr>
 
43
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3035418" class="shortcut">Top</a>
 
44
                  &#160;|&#160;
 
45
                  <a href="#id3091285" class="shortcut">Description</a>
 
46
                  &#160;|&#160;
 
47
                  <a href="#id3091238" class="shortcut">Object Hierarchy</a>
 
48
                  &#160;|&#160;
 
49
                  <a href="#id3091263" class="shortcut">Prerequisites</a></nobr></td></tr>
50
50
</table>
51
51
<div class="refentry" lang="en">
52
52
<a name="GFile"></a><div class="titlepage"></div>
53
53
<div class="refnamediv"><table width="100%"><tr>
54
54
<td valign="top">
55
55
<h2>
56
 
<a name="id3115588"></a><span class="refentrytitle">GFile</span>
 
56
<a name="id3035418"></a><span class="refentrytitle">GFile</span>
57
57
</h2>
58
58
<p>GFile &#8212; File and Directory Handling</p>
59
59
</td>
63
63
<h2>Synopsis</h2>
64
64
<pre class="synopsis">
65
65
 
66
 
#include &lt;gio.h&gt;
 
66
#include &lt;gio/gio.h&gt;
67
67
 
68
68
 
69
69
                    <a class="link" href="GFile.html#GFile-struct">GFile</a>;
72
72
enum                <a class="link" href="GFile.html#GFileCreateFlags">GFileCreateFlags</a>;
73
73
enum                <a class="link" href="GFile.html#GFileCopyFlags">GFileCopyFlags</a>;
74
74
enum                <a class="link" href="GFile.html#GFileMonitorFlags">GFileMonitorFlags</a>;
 
75
enum                <a class="link" href="GFile.html#GFilesystemPreviewType">GFilesystemPreviewType</a>;
75
76
void                (<a class="link" href="GFile.html#GFileProgressCallback">*GFileProgressCallback</a>)            (<a
76
77
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#goffset"
77
78
>goffset</a> current_num_bytes,
118
119
>GError</a> **error);
119
120
<a
120
121
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
121
 
>gboolean</a>            <a class="link" href="GFile.html#g-file-contains-file">g_file_contains_file</a>                (<a class="link" href="GFile.html" title="GFile">GFile</a> *parent,
122
 
                                                         <a class="link" href="GFile.html" title="GFile">GFile</a> *descendant);
 
122
>gboolean</a>            <a class="link" href="GFile.html#g-file-has-prefix">g_file_has_prefix</a>                   (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
123
                                                         <a class="link" href="GFile.html" title="GFile">GFile</a> *prefix);
123
124
char*               <a class="link" href="GFile.html#g-file-get-relative-path">g_file_get_relative_path</a>            (<a class="link" href="GFile.html" title="GFile">GFile</a> *parent,
124
125
                                                         <a class="link" href="GFile.html" title="GFile">GFile</a> *descendant);
125
126
<a class="link" href="GFile.html" title="GFile">GFile</a>*              <a class="link" href="GFile.html#g-file-resolve-relative-path">g_file_resolve_relative_path</a>        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
245
246
                                                         <a
246
247
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
247
248
>GError</a> **error);
 
249
void                <a class="link" href="GFile.html#g-file-query-filesystem-info-async">g_file_query_filesystem_info_async</a>  (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
250
                                                         const char *attributes,
 
251
                                                         int io_priority,
 
252
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
253
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
 
254
                                                         <a
 
255
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
256
>gpointer</a> user_data);
 
257
<a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a>*          <a class="link" href="GFile.html#g-file-query-filesystem-info-finish">g_file_query_filesystem_info_finish</a> (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
258
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
 
259
                                                         <a
 
260
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
 
261
>GError</a> **error);
248
262
<a class="link" href="GAppInfo.html" title="GAppInfo">GAppInfo</a>*           <a class="link" href="GFile.html#g-file-query-default-handler">g_file_query_default_handler</a>        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
249
263
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
250
264
                                                         <a
502
516
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
503
517
>GError</a> **error);
504
518
void                <a class="link" href="GFile.html#g-file-mount-mountable">g_file_mount_mountable</a>              (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
505
 
                                                         GMountMountFlags flags,
 
519
                                                         <a class="link" href="GMount.html#GMountMountFlags">GMountMountFlags</a> flags,
506
520
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation">GMountOperation</a> *mount_operation,
507
521
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
508
522
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
543
557
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
544
558
>GError</a> **error);
545
559
void                <a class="link" href="GFile.html#g-file-mount-enclosing-volume">g_file_mount_enclosing_volume</a>       (<a class="link" href="GFile.html" title="GFile">GFile</a> *location,
546
 
                                                         GMountMountFlags flags,
 
560
                                                         <a class="link" href="GMount.html#GMountMountFlags">GMountMountFlags</a> flags,
547
561
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation">GMountOperation</a> *mount_operation,
548
562
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
549
563
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
673
687
</pre>
674
688
</div>
675
689
<div class="refsect1" lang="en">
676
 
<a name="id3177829"></a><h2>Object Hierarchy</h2>
 
690
<a name="id3091238"></a><h2>Object Hierarchy</h2>
677
691
<pre class="synopsis">
678
692
 
679
693
  GInterface
681
695
</pre>
682
696
</div>
683
697
<div class="refsect1" lang="en">
684
 
<a name="id3177854"></a><h2>Prerequisites</h2>
 
698
<a name="id3091263"></a><h2>Prerequisites</h2>
685
699
<p>
686
700
GFile requires
687
701
 <a
689
703
>GObject</a>.</p>
690
704
</div>
691
705
<div class="refsect1" lang="en">
692
 
<a name="id3177876"></a><h2>Description</h2>
 
706
<a name="id3091285"></a><h2>Description</h2>
693
707
<p>
694
708
<a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> is a high level abstraction for manipulating files on a 
695
709
virtual file system. <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s are lightweight, immutable 
696
710
objects that do no I/O upon creation. It is necessary to understand that
697
 
<a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> objects do not represent files, merely a handle to a file. All
698
 
file I/O is implemented as streaming operations (see <a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> and 
 
711
<a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> objects do not represent files, merely an identifier for a file. All
 
712
file content I/O is implemented as streaming operations (see <a class="link" href="GInputStream.html" title="GInputStream"><span class="type">GInputStream</span></a> and 
699
713
<a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a>).
700
714
</p>
701
715
<p>
703
717
<a class="link" href="GFile.html#g-file-new-for-path"><code class="function">g_file_new_for_path()</code></a> if you have a path.
704
718
<a class="link" href="GFile.html#g-file-new-for-uri"><code class="function">g_file_new_for_uri()</code></a> if you have a URI.
705
719
<a class="link" href="GFile.html#g-file-new-for-commandline-arg"><code class="function">g_file_new_for_commandline_arg()</code></a> for a command line argument.
706
 
</p>
707
 
<p>
708
 
You can move through the file system with <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> handles with
709
 
<a class="link" href="GFile.html#g-file-get-parent"><code class="function">g_file_get_parent()</code></a> to get a handle to the parent directory.
710
 
<a class="link" href="GFile.html#g-file-get-child"><code class="function">g_file_get_child()</code></a> to get a handle to a child within a directory.
711
 
<a class="link" href="GFile.html#g-file-resolve-relative-path"><code class="function">g_file_resolve_relative_path()</code></a> to resolve a relative path between
712
 
two <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s.
 
720
<a class="link" href="GFile.html#g-file-parse-name"><code class="function">g_file_parse_name()</code></a> from a utf8 string gotten from <a class="link" href="GFile.html#g-file-get-parse-name"><code class="function">g_file_get_parse_name()</code></a>.
 
721
</p>
 
722
<p>
 
723
One way to think of a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> is as an abstraction of a pathname. For normal
 
724
files the system pathname is what is stored internally, but as <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s
 
725
are extensible it could also be something else that corresponds to a pathname
 
726
in a userspace implementation of a filesystem.
 
727
</p>
 
728
<p>
 
729
<a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s make up hierarchies of directories and files that correspond to the
 
730
files on a filesystem. You can move through the file system with <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> using
 
731
<a class="link" href="GFile.html#g-file-get-parent"><code class="function">g_file_get_parent()</code></a> to get an identifier for the parent directory, <a class="link" href="GFile.html#g-file-get-child"><code class="function">g_file_get_child()</code></a>
 
732
to get a child within a directory, <a class="link" href="GFile.html#g-file-resolve-relative-path"><code class="function">g_file_resolve_relative_path()</code></a> to resolve a relative
 
733
path between two <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s. There can be multiple hierarchies, so you may not
 
734
end up at the same root if you repeatedly call <a class="link" href="GFile.html#g-file-get-parent"><code class="function">g_file_get_parent()</code></a> on two different
 
735
files.
 
736
</p>
 
737
<p>
 
738
All <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s have a basename (get with <a class="link" href="GFile.html#g-file-get-basename"><code class="function">g_file_get_basename()</code></a>). These names
 
739
are byte strings that are used to identify the file on the filesystem (relative to
 
740
its parent directory) and there is no guarantees that they have any particular charset
 
741
encoding or even make any sense at all. If you want to use filenames in a user
 
742
interface you should use the display name that you can get by requesting the
 
743
<a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-DISPLAY-NAME:CAPS"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME</code></a> attribute with <a class="link" href="GFile.html#g-file-query-info"><code class="function">g_file_query_info()</code></a>.
 
744
This is guaranteed to be in utf8 and can be used in a user interface. But always
 
745
store the real basename or the <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> to use to actually access the file, because
 
746
there is no way to go from a display name to the actual name.
 
747
</p>
 
748
<p>
 
749
Using <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> as an identifier has the same weaknesses as using a path in that
 
750
there may be multiple aliases for the same file. For instance, hard or
 
751
soft links may cause two different <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s to refer to the same file.
 
752
Other possible causes for aliases are: case insensitive filesystems, short
 
753
and long names on Fat/NTFS, or bind mounts in linux. If you want to check if
 
754
two <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s point to the same file you can query for the
 
755
<a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ID-FILE:CAPS"><code class="literal">G_FILE_ATTRIBUTE_ID_FILE</code></a> attribute. Note that <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> does some trivial
 
756
canonicalization of pathnames passed in, so that trivial differences in the
 
757
path string used at creation (dupplicated slashes, slash at end of path, "."
 
758
or ".." path segments, etc) does not create different <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s.
713
759
</p>
714
760
<p>
715
761
Many <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> operations have both synchronous and asynchronous versions 
730
776
</p>
731
777
<p>
732
778
</p>
733
 
<p><a name="gfile-etag"></a><a class="indexterm" name="id3178118"></a>
 
779
<p><a name="gfile-etag"></a><a class="indexterm" name="id3091714"></a>
734
780
One notable feature of <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s are entity tags, or "etags" for 
735
781
short. Entity tags are somewhat like a more abstract version of the 
736
782
traditional mtime, and can be used to quickly determine if the file has
743
789
</p>
744
790
</div>
745
791
<div class="refsect1" lang="en">
746
 
<a name="id3178152"></a><h2>Details</h2>
 
792
<a name="id3091747"></a><h2>Details</h2>
747
793
<div class="refsect2" lang="en">
748
 
<a name="id3178163"></a><h3>
 
794
<a name="id3091758"></a><h3>
749
795
<a name="GFile-struct"></a>GFile</h3>
750
 
<a class="indexterm" name="id3178176"></a><pre class="programlisting">typedef struct _GFile GFile;</pre>
 
796
<a class="indexterm" name="id3091771"></a><pre class="programlisting">typedef struct _GFile GFile;</pre>
751
797
<p>
752
798
A handle to an object implementing the <a class="link" href="GFile.html#GFileIface"><span class="type">GFileIface</span></a> interface. 
753
799
Generally stores a location within the file system. Handles do not 
758
804
</div>
759
805
<hr>
760
806
<div class="refsect2" lang="en">
761
 
<a name="id3178205"></a><h3>
 
807
<a name="id3091800"></a><h3>
762
808
<a name="GFileIface"></a>GFileIface</h3>
763
 
<a class="indexterm" name="id3178218"></a><pre class="programlisting">typedef struct {
 
809
<a class="indexterm" name="id3091813"></a><pre class="programlisting">typedef struct {
764
810
  GTypeInterface g_iface;
765
811
 
766
812
  /* Virtual Table */
778
824
  char *              (*get_uri)                    (GFile         *file);
779
825
  char *              (*get_parse_name)             (GFile         *file);
780
826
  GFile *             (*get_parent)                 (GFile         *file);
781
 
  gboolean            (*contains_file)              (GFile         *parent,
782
 
                                                     GFile         *descendant);
 
827
  gboolean            (*prefix_matches)             (GFile         *prefix,
 
828
                                                     GFile         *file);
783
829
  char *              (*get_relative_path)          (GFile         *parent,
784
830
                                                     GFile         *descendant);
785
831
  GFile *             (*resolve_relative_path)      (GFile        *file,
824
870
                                             const char           *attributes,
825
871
                                             GCancellable         *cancellable,
826
872
                                             GError              **error);
827
 
  void                (*_query_filesystem_info_async) (void);
828
 
  void                (*_query_filesystem_info_finish) (void);
 
873
  void                (*query_filesystem_info_async) (GFile                *file,
 
874
                                                      const char           *attributes,
 
875
                                                      int                   io_priority,
 
876
                                                      GCancellable         *cancellable,
 
877
                                                      GAsyncReadyCallback   callback,
 
878
                                                      gpointer              user_data);
 
879
  GFileInfo *         (*query_filesystem_info_finish) (GFile                *file,
 
880
                                                       GAsyncResult         *res,
 
881
                                                       GError              **error);
829
882
  
830
883
  GMount *            (*find_enclosing_mount)(GFile              *file,
831
884
                                               GCancellable       *cancellable,
1123
1176
</td>
1124
1177
</tr>
1125
1178
<tr>
1126
 
<td><p><span class="term"><em class="structfield"><code>contains_file</code></em>&#160;()</span></p></td>
 
1179
<td><p><span class="term"><em class="structfield"><code>prefix_matches</code></em>&#160;()</span></p></td>
1127
1180
<td> Checks whether a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> contains a specified file.
1128
1181
</td>
1129
1182
</tr>
1178
1231
</td>
1179
1232
</tr>
1180
1233
<tr>
1181
 
<td><p><span class="term"><em class="structfield"><code>_query_filesystem_info_async</code></em>&#160;()</span></p></td>
 
1234
<td><p><span class="term"><em class="structfield"><code>query_filesystem_info_async</code></em>&#160;()</span></p></td>
1182
1235
<td> Asynchronously gets a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> for the file system <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> is on.
1183
1236
</td>
1184
1237
</tr>
1185
1238
<tr>
1186
 
<td><p><span class="term"><em class="structfield"><code>_query_filesystem_info_finish</code></em>&#160;()</span></p></td>
 
1239
<td><p><span class="term"><em class="structfield"><code>query_filesystem_info_finish</code></em>&#160;()</span></p></td>
1187
1240
<td> Finishes asynchronously getting the file system info.
1188
1241
</td>
1189
1242
</tr>
1472
1525
</div>
1473
1526
<hr>
1474
1527
<div class="refsect2" lang="en">
1475
 
<a name="id3180034"></a><h3>
 
1528
<a name="id3093640"></a><h3>
1476
1529
<a name="GFileQueryInfoFlags"></a>enum GFileQueryInfoFlags</h3>
1477
 
<a class="indexterm" name="id3180048"></a><pre class="programlisting">typedef enum {
 
1530
<a class="indexterm" name="id3093654"></a><pre class="programlisting">typedef enum {
1478
1531
  G_FILE_QUERY_INFO_NONE = 0,
1479
1532
  G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS = (1&lt;&lt;0)   /*&lt; nick=nofollow-symlinks &gt;*/
1480
1533
} GFileQueryInfoFlags;
1502
1555
</div>
1503
1556
<hr>
1504
1557
<div class="refsect2" lang="en">
1505
 
<a name="id3180129"></a><h3>
 
1558
<a name="id3093735"></a><h3>
1506
1559
<a name="GFileCreateFlags"></a>enum GFileCreateFlags</h3>
1507
 
<a class="indexterm" name="id3180142"></a><pre class="programlisting">typedef enum  {
 
1560
<a class="indexterm" name="id3093748"></a><pre class="programlisting">typedef enum  {
1508
1561
  G_FILE_CREATE_NONE = 0,
1509
1562
  G_FILE_CREATE_PRIVATE = (1&lt;&lt;0)
1510
1563
} GFileCreateFlags;
1533
1586
</div>
1534
1587
<hr>
1535
1588
<div class="refsect2" lang="en">
1536
 
<a name="id3180215"></a><h3>
 
1589
<a name="id3093820"></a><h3>
1537
1590
<a name="GFileCopyFlags"></a>enum GFileCopyFlags</h3>
1538
 
<a class="indexterm" name="id3180228"></a><pre class="programlisting">typedef enum {
 
1591
<a class="indexterm" name="id3093834"></a><pre class="programlisting">typedef enum {
1539
1592
  G_FILE_COPY_NONE = 0,          /*&lt; nick=none &gt;*/
1540
1593
  G_FILE_COPY_OVERWRITE = (1&lt;&lt;0),
1541
1594
  G_FILE_COPY_BACKUP = (1&lt;&lt;1),
1587
1640
</div>
1588
1641
<hr>
1589
1642
<div class="refsect2" lang="en">
1590
 
<a name="id3180406"></a><h3>
 
1643
<a name="id3094012"></a><h3>
1591
1644
<a name="GFileMonitorFlags"></a>enum GFileMonitorFlags</h3>
1592
 
<a class="indexterm" name="id3180419"></a><pre class="programlisting">typedef enum  {
 
1645
<a class="indexterm" name="id3094025"></a><pre class="programlisting">typedef enum  {
1593
1646
  G_FILE_MONITOR_NONE = 0,
1594
1647
  G_FILE_MONITOR_WATCH_MOUNTS = (1&lt;&lt;0)
1595
1648
} GFileMonitorFlags;
1617
1670
</div>
1618
1671
<hr>
1619
1672
<div class="refsect2" lang="en">
1620
 
<a name="id3180499"></a><h3>
 
1673
<a name="id3094105"></a><h3>
 
1674
<a name="GFilesystemPreviewType"></a>enum GFilesystemPreviewType</h3>
 
1675
<a class="indexterm" name="id3094118"></a><pre class="programlisting">typedef enum {
 
1676
  G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS = 0,
 
1677
  G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL,
 
1678
  G_FILESYSTEM_PREVIEW_TYPE_NEVER
 
1679
} GFilesystemPreviewType;
 
1680
</pre>
 
1681
<p>
 
1682
Indicates a hint from the file system whether files should be
 
1683
previewed in a file manager. Returned as the value of the key
 
1684
<a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-USE-PREVIEW:CAPS"><span class="type">G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW</span></a>.</p>
 
1685
<p>
 
1686
 
 
1687
</p>
 
1688
<div class="variablelist"><table border="0">
 
1689
<col align="left" valign="top">
 
1690
<tbody>
 
1691
<tr>
 
1692
<td><p><span class="term"><a name="G-FILESYSTEM-PREVIEW-TYPE-IF-ALWAYS:CAPS"></a><code class="literal">G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS</code></span></p></td>
 
1693
<td> Only preview files if user has explicitly requested it.
 
1694
</td>
 
1695
</tr>
 
1696
<tr>
 
1697
<td><p><span class="term"><a name="G-FILESYSTEM-PREVIEW-TYPE-IF-LOCAL:CAPS"></a><code class="literal">G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL</code></span></p></td>
 
1698
<td> Preview files if user has requested preview of "local" files.
 
1699
</td>
 
1700
</tr>
 
1701
<tr>
 
1702
<td><p><span class="term"><a name="G-FILESYSTEM-PREVIEW-TYPE-NEVER:CAPS"></a><code class="literal">G_FILESYSTEM_PREVIEW_TYPE_NEVER</code></span></p></td>
 
1703
<td> Never preview files.
 
1704
</td>
 
1705
</tr>
 
1706
</tbody>
 
1707
</table></div>
 
1708
</div>
 
1709
<hr>
 
1710
<div class="refsect2" lang="en">
 
1711
<a name="id3094227"></a><h3>
1621
1712
<a name="GFileProgressCallback"></a>GFileProgressCallback ()</h3>
1622
 
<a class="indexterm" name="id3180513"></a><pre class="programlisting">void                (*GFileProgressCallback)            (<a
 
1713
<a class="indexterm" name="id3094241"></a><pre class="programlisting">void                (*GFileProgressCallback)            (<a
1623
1714
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#goffset"
1624
1715
>goffset</a> current_num_bytes,
1625
1716
                                                         <a
1658
1749
</div>
1659
1750
<hr>
1660
1751
<div class="refsect2" lang="en">
1661
 
<a name="id3180610"></a><h3>
 
1752
<a name="id3094338"></a><h3>
1662
1753
<a name="GFileReadMoreCallback"></a>GFileReadMoreCallback ()</h3>
1663
 
<a class="indexterm" name="id3180623"></a><pre class="programlisting"><a
 
1754
<a class="indexterm" name="id3094352"></a><pre class="programlisting"><a
1664
1755
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
1665
1756
>gboolean</a>            (*GFileReadMoreCallback)            (const char *file_contents,
1666
1757
                                                         <a
1713
1804
</div>
1714
1805
<hr>
1715
1806
<div class="refsect2" lang="en">
1716
 
<a name="id3180786"></a><h3>
 
1807
<a name="id3094515"></a><h3>
1717
1808
<a name="g-file-new-for-path"></a>g_file_new_for_path ()</h3>
1718
 
<a class="indexterm" name="id3180800"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_new_for_path                 (const char *path);</pre>
 
1809
<a class="indexterm" name="id3094528"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_new_for_path                 (const char *path);</pre>
1719
1810
<p>
1720
1811
Constructs a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> for a given path. This operation never
1721
1812
fails, but the returned object might not support any I/O
1741
1832
</div>
1742
1833
<hr>
1743
1834
<div class="refsect2" lang="en">
1744
 
<a name="id3180889"></a><h3>
 
1835
<a name="id3094617"></a><h3>
1745
1836
<a name="g-file-new-for-uri"></a>g_file_new_for_uri ()</h3>
1746
 
<a class="indexterm" name="id3180902"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_new_for_uri                  (const char *uri);</pre>
 
1837
<a class="indexterm" name="id3094631"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_new_for_uri                  (const char *uri);</pre>
1747
1838
<p>
1748
1839
Constructs a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> for a given URI. This operation never 
1749
1840
fails, but the returned object might not support any I/O 
1770
1861
</div>
1771
1862
<hr>
1772
1863
<div class="refsect2" lang="en">
1773
 
<a name="id3180991"></a><h3>
 
1864
<a name="id3094720"></a><h3>
1774
1865
<a name="g-file-new-for-commandline-arg"></a>g_file_new_for_commandline_arg ()</h3>
1775
 
<a class="indexterm" name="id3181005"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_new_for_commandline_arg      (const char *arg);</pre>
 
1866
<a class="indexterm" name="id3094734"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_new_for_commandline_arg      (const char *arg);</pre>
1776
1867
<p>
1777
1868
Creates a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> with the given argument from the command line. The value of
1778
1869
<em class="parameter"><code>arg</code></em> can be either a URI, an absolute path or a relative path resolved
1800
1891
</div>
1801
1892
<hr>
1802
1893
<div class="refsect2" lang="en">
1803
 
<a name="id3181097"></a><h3>
 
1894
<a name="id3094826"></a><h3>
1804
1895
<a name="g-file-parse-name"></a>g_file_parse_name ()</h3>
1805
 
<a class="indexterm" name="id3181110"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_parse_name                   (const char *parse_name);</pre>
 
1896
<a class="indexterm" name="id3094839"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_parse_name                   (const char *parse_name);</pre>
1806
1897
<p>
1807
1898
Constructs a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> with the given <em class="parameter"><code>parse_name</code></em> (i.e. something given by <a class="link" href="GFile.html#g-file-get-parse-name"><code class="function">g_file_get_parse_name()</code></a>).
1808
1899
This operation never fails, but the returned object might not support any I/O
1828
1919
</div>
1829
1920
<hr>
1830
1921
<div class="refsect2" lang="en">
1831
 
<a name="id3181209"></a><h3>
 
1922
<a name="id3094938"></a><h3>
1832
1923
<a name="g-file-dup"></a>g_file_dup ()</h3>
1833
 
<a class="indexterm" name="id3181222"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_dup                          (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
 
1924
<a class="indexterm" name="id3094950"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_dup                          (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
1834
1925
<p>
1835
1926
Duplicates a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> handle. This operation does not duplicate 
1836
1927
the actual file or directory represented by the <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>; see 
1859
1950
</div>
1860
1951
<hr>
1861
1952
<div class="refsect2" lang="en">
1862
 
<a name="id3181334"></a><h3>
 
1953
<a name="id3095062"></a><h3>
1863
1954
<a name="g-file-hash"></a>g_file_hash ()</h3>
1864
 
<a class="indexterm" name="id3181346"></a><pre class="programlisting"><a
 
1955
<a class="indexterm" name="id3095075"></a><pre class="programlisting"><a
1865
1956
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
1866
1957
>guint</a>               g_file_hash                         (<a
1867
1958
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"
1899
1990
</div>
1900
1991
<hr>
1901
1992
<div class="refsect2" lang="en">
1902
 
<a name="id3181470"></a><h3>
 
1993
<a name="id3095198"></a><h3>
1903
1994
<a name="g-file-equal"></a>g_file_equal ()</h3>
1904
 
<a class="indexterm" name="id3181482"></a><pre class="programlisting"><a
 
1995
<a class="indexterm" name="id3095211"></a><pre class="programlisting"><a
1905
1996
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
1906
1997
>gboolean</a>            g_file_equal                        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file1,
1907
1998
                                                         <a class="link" href="GFile.html" title="GFile">GFile</a> *file2);</pre>
1908
1999
<p>
1909
 
Checks equality of two given <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s
 
2000
Checks equality of two given <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s. Note that two
 
2001
<a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>s that differ can still refer to the same
 
2002
file on the filesystem due to various forms of filename
 
2003
aliasing.
1910
2004
</p>
1911
2005
<p>
1912
2006
This call does no blocking i/o.</p>
1941
2035
</div>
1942
2036
<hr>
1943
2037
<div class="refsect2" lang="en">
1944
 
<a name="id3181629"></a><h3>
 
2038
<a name="id3095368"></a><h3>
1945
2039
<a name="g-file-get-basename"></a>g_file_get_basename ()</h3>
1946
 
<a class="indexterm" name="id3181643"></a><pre class="programlisting">char*               g_file_get_basename                 (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
 
2040
<a class="indexterm" name="id3095382"></a><pre class="programlisting">char*               g_file_get_basename                 (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
1947
2041
<p>
1948
2042
Gets the base name (the last component of the path) for a given <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>.
1949
2043
</p>
1950
2044
<p>
1951
2045
If called for the top level of a system (such as the filesystem root
1952
 
or a uri like sftp://host/ it will return a single directory separator
 
2046
or a uri like sftp://host/) it will return a single directory separator
1953
2047
(and on Windows, possibly a drive letter).
1954
2048
</p>
1955
2049
<p>
 
2050
The base name is a byte string (*not* UTF-8). It has no defined encoding
 
2051
or rules other than it may not contain zero bytes.  If you want to use
 
2052
filenames in a user interface you should use the display name that you
 
2053
can get by requesting the <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-DISPLAY-NAME:CAPS"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME</code></a>
 
2054
attribute with <a class="link" href="GFile.html#g-file-query-info"><code class="function">g_file_query_info()</code></a>.
 
2055
</p>
 
2056
<p>
1956
2057
This call does no blocking i/o.</p>
1957
2058
<p>
1958
2059
 
1981
2082
</div>
1982
2083
<hr>
1983
2084
<div class="refsect2" lang="en">
1984
 
<a name="id3181763"></a><h3>
 
2085
<a name="id3095530"></a><h3>
1985
2086
<a name="g-file-get-path"></a>g_file_get_path ()</h3>
1986
 
<a class="indexterm" name="id3181776"></a><pre class="programlisting">char*               g_file_get_path                     (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
 
2087
<a class="indexterm" name="id3095543"></a><pre class="programlisting">char*               g_file_get_path                     (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
1987
2088
<p>
1988
2089
Gets the local pathname for <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>, if one exists. 
1989
2090
</p>
2016
2117
</div>
2017
2118
<hr>
2018
2119
<div class="refsect2" lang="en">
2019
 
<a name="id3181883"></a><h3>
 
2120
<a name="id3095650"></a><h3>
2020
2121
<a name="g-file-get-uri"></a>g_file_get_uri ()</h3>
2021
 
<a class="indexterm" name="id3181896"></a><pre class="programlisting">char*               g_file_get_uri                      (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
 
2122
<a class="indexterm" name="id3095663"></a><pre class="programlisting">char*               g_file_get_uri                      (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
2022
2123
<p>
2023
2124
Gets the URI for the <em class="parameter"><code>file</code></em>.
2024
2125
</p>
2048
2149
</div>
2049
2150
<hr>
2050
2151
<div class="refsect2" lang="en">
2051
 
<a name="id3181992"></a><h3>
 
2152
<a name="id3095758"></a><h3>
2052
2153
<a name="g-file-get-parse-name"></a>g_file_get_parse_name ()</h3>
2053
 
<a class="indexterm" name="id3182005"></a><pre class="programlisting">char*               g_file_get_parse_name               (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
 
2154
<a class="indexterm" name="id3095772"></a><pre class="programlisting">char*               g_file_get_parse_name               (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
2054
2155
<p>
2055
2156
Gets the parse name of the <em class="parameter"><code>file</code></em>.
2056
2157
A parse name is a UTF-8 string that describes the
2059
2160
</p>
2060
2161
<p>
2061
2162
This is generally used to show the <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> as a nice
2062
 
string in a user interface, like in a location entry.
 
2163
full-pathname kind of string in a user interface,
 
2164
like in a location entry.
2063
2165
</p>
2064
2166
<p>
2065
2167
For local files with names that can safely be converted
2092
2194
</div>
2093
2195
<hr>
2094
2196
<div class="refsect2" lang="en">
2095
 
<a name="id3182138"></a><h3>
 
2197
<a name="id3095905"></a><h3>
2096
2198
<a name="g-file-get-parent"></a>g_file_get_parent ()</h3>
2097
 
<a class="indexterm" name="id3182151"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_get_parent                   (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
 
2199
<a class="indexterm" name="id3095918"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_get_parent                   (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
2098
2200
<p>
2099
2201
Gets the parent directory for the <em class="parameter"><code>file</code></em>. 
2100
2202
If the <em class="parameter"><code>file</code></em> represents the root directory of the 
2128
2230
</div>
2129
2231
<hr>
2130
2232
<div class="refsect2" lang="en">
2131
 
<a name="id3182270"></a><h3>
 
2233
<a name="id3096037"></a><h3>
2132
2234
<a name="g-file-get-child"></a>g_file_get_child ()</h3>
2133
 
<a class="indexterm" name="id3182283"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_get_child                    (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
2235
<a class="indexterm" name="id3096050"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_get_child                    (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
2134
2236
                                                         const char *name);</pre>
2135
2237
<p>
2136
 
Gets a specific child of <em class="parameter"><code>file</code></em> with name equal to <em class="parameter"><code>name</code></em>.
 
2238
Gets a child of <em class="parameter"><code>file</code></em> with basename equal to <em class="parameter"><code>name</code></em>.
2137
2239
</p>
2138
2240
<p>
2139
2241
Note that the file with that specific name might not exist, but
2155
2257
</tr>
2156
2258
<tr>
2157
2259
<td><p><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></p></td>
2158
 
<td> string containing the child's name.
 
2260
<td> string containing the child's basename.
2159
2261
</td>
2160
2262
</tr>
2161
2263
<tr>
2168
2270
</div>
2169
2271
<hr>
2170
2272
<div class="refsect2" lang="en">
2171
 
<a name="id3182415"></a><h3>
 
2273
<a name="id3096182"></a><h3>
2172
2274
<a name="g-file-get-child-for-display-name"></a>g_file_get_child_for_display_name ()</h3>
2173
 
<a class="indexterm" name="id3182430"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_get_child_for_display_name   (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
2275
<a class="indexterm" name="id3096197"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_get_child_for_display_name   (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
2174
2276
                                                         const char *display_name,
2175
2277
                                                         <a
2176
2278
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
2222
2324
</div>
2223
2325
<hr>
2224
2326
<div class="refsect2" lang="en">
2225
 
<a name="id3182601"></a><h3>
2226
 
<a name="g-file-contains-file"></a>g_file_contains_file ()</h3>
2227
 
<a class="indexterm" name="id3182614"></a><pre class="programlisting"><a
 
2327
<a name="id3096368"></a><h3>
 
2328
<a name="g-file-has-prefix"></a>g_file_has_prefix ()</h3>
 
2329
<a class="indexterm" name="id3096382"></a><pre class="programlisting"><a
2228
2330
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
2229
 
>gboolean</a>            g_file_contains_file                (<a class="link" href="GFile.html" title="GFile">GFile</a> *parent,
2230
 
                                                         <a class="link" href="GFile.html" title="GFile">GFile</a> *descendant);</pre>
 
2331
>gboolean</a>            g_file_has_prefix                   (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
2332
                                                         <a class="link" href="GFile.html" title="GFile">GFile</a> *prefix);</pre>
2231
2333
<p>
2232
 
Checks whether <em class="parameter"><code>parent</code></em> (recursively) contains the specified <em class="parameter"><code>descendant</code></em>.
 
2334
Checks whether <em class="parameter"><code>file</code></em> has the prefix specified by <em class="parameter"><code>prefix</code></em>. In other word, if the
 
2335
names of inital elements of <em class="parameter"><code>file</code></em>s pathname match <em class="parameter"><code>prefix</code></em>.
2233
2336
</p>
2234
2337
<p>
2235
 
This call does no blocking i/o.</p>
 
2338
This call does no i/o, as it works purely on names. As such it can sometimes
 
2339
return <a
 
2340
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
 
2341
><code class="literal">FALSE</code></a> even if <em class="parameter"><code>file</code></em> is inside a <em class="parameter"><code>prefix</code></em> (from a filesystem point of view),
 
2342
because the prefix of <em class="parameter"><code>file</code></em> is an alias of <em class="parameter"><code>prefix</code></em>.</p>
2236
2343
<p>
2237
2344
 
2238
2345
</p>
2240
2347
<col align="left" valign="top">
2241
2348
<tbody>
2242
2349
<tr>
2243
 
<td><p><span class="term"><em class="parameter"><code>parent</code></em>&#160;:</span></p></td>
 
2350
<td><p><span class="term"><em class="parameter"><code>file</code></em>&#160;:</span></p></td>
2244
2351
<td> input <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>.
2245
2352
</td>
2246
2353
</tr>
2247
2354
<tr>
2248
 
<td><p><span class="term"><em class="parameter"><code>descendant</code></em>&#160;:</span></p></td>
 
2355
<td><p><span class="term"><em class="parameter"><code>prefix</code></em>&#160;:</span></p></td>
2249
2356
<td> input <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>.
2250
2357
</td>
2251
2358
</tr>
2253
2360
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
2254
2361
<td>  <a
2255
2362
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
2256
 
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>descendant</code></em>'s parent, grandparent, etc is <em class="parameter"><code>parent</code></em>. <a
 
2363
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>files</code></em>'s parent, grandparent, etc is <em class="parameter"><code>prefix</code></em>. <a
2257
2364
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
2258
2365
><code class="literal">FALSE</code></a> otherwise.
2259
2366
</td>
2263
2370
</div>
2264
2371
<hr>
2265
2372
<div class="refsect2" lang="en">
2266
 
<a name="id3182758"></a><h3>
 
2373
<a name="id3096574"></a><h3>
2267
2374
<a name="g-file-get-relative-path"></a>g_file_get_relative_path ()</h3>
2268
 
<a class="indexterm" name="id3182772"></a><pre class="programlisting">char*               g_file_get_relative_path            (<a class="link" href="GFile.html" title="GFile">GFile</a> *parent,
 
2375
<a class="indexterm" name="id3096588"></a><pre class="programlisting">char*               g_file_get_relative_path            (<a class="link" href="GFile.html" title="GFile">GFile</a> *parent,
2269
2376
                                                         <a class="link" href="GFile.html" title="GFile">GFile</a> *descendant);</pre>
2270
2377
<p>
2271
2378
Gets the path for <em class="parameter"><code>descendant</code></em> relative to <em class="parameter"><code>parent</code></em>. 
2293
2400
<td> string with the relative path from <em class="parameter"><code>descendant</code></em> 
2294
2401
    to <em class="parameter"><code>parent</code></em>, or <a
2295
2402
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
2296
 
><code class="literal">NULL</code></a> if <em class="parameter"><code>descendant</code></em> is not a descendant of <em class="parameter"><code>parent</code></em>. The returned string should be freed with 
 
2403
><code class="literal">NULL</code></a> if <em class="parameter"><code>descendant</code></em> doesn't have <em class="parameter"><code>parent</code></em> as prefix. The returned string should be freed with 
2297
2404
    <a
2298
2405
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
2299
2406
><code class="function">g_free()</code></a> when no longer needed.
2304
2411
</div>
2305
2412
<hr>
2306
2413
<div class="refsect2" lang="en">
2307
 
<a name="id3182929"></a><h3>
 
2414
<a name="id3096745"></a><h3>
2308
2415
<a name="g-file-resolve-relative-path"></a>g_file_resolve_relative_path ()</h3>
2309
 
<a class="indexterm" name="id3182943"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_resolve_relative_path        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
2416
<a class="indexterm" name="id3096759"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_resolve_relative_path        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
2310
2417
                                                         const char *relative_path);</pre>
2311
2418
<p>
2312
2419
Resolves a relative path for <em class="parameter"><code>file</code></em> to an absolute path.
2344
2451
</div>
2345
2452
<hr>
2346
2453
<div class="refsect2" lang="en">
2347
 
<a name="id3183082"></a><h3>
 
2454
<a name="id3096898"></a><h3>
2348
2455
<a name="g-file-is-native"></a>g_file_is_native ()</h3>
2349
 
<a class="indexterm" name="id3183095"></a><pre class="programlisting"><a
 
2456
<a class="indexterm" name="id3096911"></a><pre class="programlisting"><a
2350
2457
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
2351
2458
>gboolean</a>            g_file_is_native                    (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
2352
2459
<p>
2390
2497
</div>
2391
2498
<hr>
2392
2499
<div class="refsect2" lang="en">
2393
 
<a name="id3183210"></a><h3>
 
2500
<a name="id3097026"></a><h3>
2394
2501
<a name="g-file-has-uri-scheme"></a>g_file_has_uri_scheme ()</h3>
2395
 
<a class="indexterm" name="id3183223"></a><pre class="programlisting"><a
 
2502
<a class="indexterm" name="id3097039"></a><pre class="programlisting"><a
2396
2503
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
2397
2504
>gboolean</a>            g_file_has_uri_scheme               (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
2398
2505
                                                         const char *uri_scheme);</pre>
2435
2542
</div>
2436
2543
<hr>
2437
2544
<div class="refsect2" lang="en">
2438
 
<a name="id3183368"></a><h3>
 
2545
<a name="id3097184"></a><h3>
2439
2546
<a name="g-file-get-uri-scheme"></a>g_file_get_uri_scheme ()</h3>
2440
 
<a class="indexterm" name="id3183381"></a><pre class="programlisting">char*               g_file_get_uri_scheme               (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
 
2547
<a class="indexterm" name="id3097197"></a><pre class="programlisting">char*               g_file_get_uri_scheme               (<a class="link" href="GFile.html" title="GFile">GFile</a> *file);</pre>
2441
2548
<p>
2442
2549
Gets the URI scheme for a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>.
2443
2550
RFC 3986 decodes the scheme as:
2475
2582
</div>
2476
2583
<hr>
2477
2584
<div class="refsect2" lang="en">
2478
 
<a name="id3183487"></a><h3>
 
2585
<a name="id3097302"></a><h3>
2479
2586
<a name="g-file-read"></a>g_file_read ()</h3>
2480
 
<a class="indexterm" name="id3183499"></a><pre class="programlisting"><a class="link" href="GFileInputStream.html" title="GFileInputStream">GFileInputStream</a>*   g_file_read                         (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
2587
<a class="indexterm" name="id3097315"></a><pre class="programlisting"><a class="link" href="GFileInputStream.html" title="GFileInputStream">GFileInputStream</a>*   g_file_read                         (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
2481
2588
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
2482
2589
                                                         <a
2483
2590
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
2534
2641
</div>
2535
2642
<hr>
2536
2643
<div class="refsect2" lang="en">
2537
 
<a name="id3183698"></a><h3>
 
2644
<a name="id3097513"></a><h3>
2538
2645
<a name="g-file-read-async"></a>g_file_read_async ()</h3>
2539
 
<a class="indexterm" name="id3183711"></a><pre class="programlisting">void                g_file_read_async                   (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
2646
<a class="indexterm" name="id3097527"></a><pre class="programlisting">void                g_file_read_async                   (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
2540
2647
                                                         int io_priority,
2541
2648
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
2542
2649
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
2592
2699
</div>
2593
2700
<hr>
2594
2701
<div class="refsect2" lang="en">
2595
 
<a name="id3183926"></a><h3>
 
2702
<a name="id3097742"></a><h3>
2596
2703
<a name="g-file-read-finish"></a>g_file_read_finish ()</h3>
2597
 
<a class="indexterm" name="id3183940"></a><pre class="programlisting"><a class="link" href="GFileInputStream.html" title="GFileInputStream">GFileInputStream</a>*   g_file_read_finish                  (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
2704
<a class="indexterm" name="id3097756"></a><pre class="programlisting"><a class="link" href="GFileInputStream.html" title="GFileInputStream">GFileInputStream</a>*   g_file_read_finish                  (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
2598
2705
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
2599
2706
                                                         <a
2600
2707
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
2639
2746
</div>
2640
2747
<hr>
2641
2748
<div class="refsect2" lang="en">
2642
 
<a name="id3184101"></a><h3>
 
2749
<a name="id3097916"></a><h3>
2643
2750
<a name="g-file-append-to"></a>g_file_append_to ()</h3>
2644
 
<a class="indexterm" name="id3184114"></a><pre class="programlisting"><a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a>*  g_file_append_to                    (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
2751
<a class="indexterm" name="id3097929"></a><pre class="programlisting"><a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a>*  g_file_append_to                    (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
2645
2752
                                                         <a class="link" href="GFile.html#GFileCreateFlags">GFileCreateFlags</a> flags,
2646
2753
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
2647
2754
                                                         <a
2712
2819
</div>
2713
2820
<hr>
2714
2821
<div class="refsect2" lang="en">
2715
 
<a name="id3184354"></a><h3>
 
2822
<a name="id3098170"></a><h3>
2716
2823
<a name="g-file-create"></a>g_file_create ()</h3>
2717
 
<a class="indexterm" name="id3184367"></a><pre class="programlisting"><a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a>*  g_file_create                       (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
2824
<a class="indexterm" name="id3098183"></a><pre class="programlisting"><a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a>*  g_file_create                       (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
2718
2825
                                                         <a class="link" href="GFile.html#GFileCreateFlags">GFileCreateFlags</a> flags,
2719
2826
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
2720
2827
                                                         <a
2790
2897
</div>
2791
2898
<hr>
2792
2899
<div class="refsect2" lang="en">
2793
 
<a name="id3184620"></a><h3>
 
2900
<a name="id3098436"></a><h3>
2794
2901
<a name="g-file-replace"></a>g_file_replace ()</h3>
2795
 
<a class="indexterm" name="id3184633"></a><pre class="programlisting"><a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a>*  g_file_replace                      (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
2902
<a class="indexterm" name="id3098448"></a><pre class="programlisting"><a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a>*  g_file_replace                      (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
2796
2903
                                                         const char *etag,
2797
2904
                                                         <a
2798
2905
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
2916
3023
</div>
2917
3024
<hr>
2918
3025
<div class="refsect2" lang="en">
2919
 
<a name="id3185056"></a><h3>
 
3026
<a name="id3098872"></a><h3>
2920
3027
<a name="g-file-append-to-async"></a>g_file_append_to_async ()</h3>
2921
 
<a class="indexterm" name="id3185069"></a><pre class="programlisting">void                g_file_append_to_async              (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3028
<a class="indexterm" name="id3098885"></a><pre class="programlisting">void                g_file_append_to_async              (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
2922
3029
                                                         <a class="link" href="GFile.html#GFileCreateFlags">GFileCreateFlags</a> flags,
2923
3030
                                                         int io_priority,
2924
3031
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
2980
3087
</div>
2981
3088
<hr>
2982
3089
<div class="refsect2" lang="en">
2983
 
<a name="id3185314"></a><h3>
 
3090
<a name="id3099130"></a><h3>
2984
3091
<a name="g-file-append-to-finish"></a>g_file_append_to_finish ()</h3>
2985
 
<a class="indexterm" name="id3185328"></a><pre class="programlisting"><a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a>*  g_file_append_to_finish             (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3092
<a class="indexterm" name="id3099144"></a><pre class="programlisting"><a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a>*  g_file_append_to_finish             (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
2986
3093
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
2987
3094
                                                         <a
2988
3095
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
3027
3134
</div>
3028
3135
<hr>
3029
3136
<div class="refsect2" lang="en">
3030
 
<a name="id3185489"></a><h3>
 
3137
<a name="id3099305"></a><h3>
3031
3138
<a name="g-file-create-async"></a>g_file_create_async ()</h3>
3032
 
<a class="indexterm" name="id3185503"></a><pre class="programlisting">void                g_file_create_async                 (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3139
<a class="indexterm" name="id3099319"></a><pre class="programlisting">void                g_file_create_async                 (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3033
3140
                                                         <a class="link" href="GFile.html#GFileCreateFlags">GFileCreateFlags</a> flags,
3034
3141
                                                         int io_priority,
3035
3142
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
3092
3199
</div>
3093
3200
<hr>
3094
3201
<div class="refsect2" lang="en">
3095
 
<a name="id3185743"></a><h3>
 
3202
<a name="id3099559"></a><h3>
3096
3203
<a name="g-file-create-finish"></a>g_file_create_finish ()</h3>
3097
 
<a class="indexterm" name="id3185756"></a><pre class="programlisting"><a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a>*  g_file_create_finish                (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3204
<a class="indexterm" name="id3099572"></a><pre class="programlisting"><a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a>*  g_file_create_finish                (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3098
3205
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
3099
3206
                                                         <a
3100
3207
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
3139
3246
</div>
3140
3247
<hr>
3141
3248
<div class="refsect2" lang="en">
3142
 
<a name="id3185918"></a><h3>
 
3249
<a name="id3099733"></a><h3>
3143
3250
<a name="g-file-replace-async"></a>g_file_replace_async ()</h3>
3144
 
<a class="indexterm" name="id3185931"></a><pre class="programlisting">void                g_file_replace_async                (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3251
<a class="indexterm" name="id3099747"></a><pre class="programlisting">void                g_file_replace_async                (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3145
3252
                                                         const char *etag,
3146
3253
                                                         <a
3147
3254
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
3221
3328
</div>
3222
3329
<hr>
3223
3330
<div class="refsect2" lang="en">
3224
 
<a name="id3186237"></a><h3>
 
3331
<a name="id3100053"></a><h3>
3225
3332
<a name="g-file-replace-finish"></a>g_file_replace_finish ()</h3>
3226
 
<a class="indexterm" name="id3186250"></a><pre class="programlisting"><a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a>*  g_file_replace_finish               (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3333
<a class="indexterm" name="id3100066"></a><pre class="programlisting"><a class="link" href="GFileOutputStream.html" title="GFileOutputStream">GFileOutputStream</a>*  g_file_replace_finish               (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3227
3334
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
3228
3335
                                                         <a
3229
3336
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
3268
3375
</div>
3269
3376
<hr>
3270
3377
<div class="refsect2" lang="en">
3271
 
<a name="id3186412"></a><h3>
 
3378
<a name="id3100228"></a><h3>
3272
3379
<a name="g-file-query-info"></a>g_file_query_info ()</h3>
3273
 
<a class="indexterm" name="id3186426"></a><pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a>*          g_file_query_info                   (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3380
<a class="indexterm" name="id3100241"></a><pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a>*          g_file_query_info                   (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3274
3381
                                                         const char *attributes,
3275
3382
                                                         <a class="link" href="GFile.html#GFileQueryInfoFlags">GFileQueryInfoFlags</a> flags,
3276
3383
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
3356
3463
</div>
3357
3464
<hr>
3358
3465
<div class="refsect2" lang="en">
3359
 
<a name="id3186740"></a><h3>
 
3466
<a name="id3100556"></a><h3>
3360
3467
<a name="g-file-query-info-async"></a>g_file_query_info_async ()</h3>
3361
 
<a class="indexterm" name="id3186753"></a><pre class="programlisting">void                g_file_query_info_async             (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3468
<a class="indexterm" name="id3100569"></a><pre class="programlisting">void                g_file_query_info_async             (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3362
3469
                                                         const char *attributes,
3363
3470
                                                         <a class="link" href="GFile.html#GFileQueryInfoFlags">GFileQueryInfoFlags</a> flags,
3364
3471
                                                         int io_priority,
3428
3535
</div>
3429
3536
<hr>
3430
3537
<div class="refsect2" lang="en">
3431
 
<a name="id3187029"></a><h3>
 
3538
<a name="id3100845"></a><h3>
3432
3539
<a name="g-file-query-info-finish"></a>g_file_query_info_finish ()</h3>
3433
 
<a class="indexterm" name="id3187042"></a><pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a>*          g_file_query_info_finish            (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3540
<a class="indexterm" name="id3100858"></a><pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a>*          g_file_query_info_finish            (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3434
3541
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
3435
3542
                                                         <a
3436
3543
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
3473
3580
</div>
3474
3581
<hr>
3475
3582
<div class="refsect2" lang="en">
3476
 
<a name="id3187200"></a><h3>
 
3583
<a name="id3101016"></a><h3>
3477
3584
<a name="g-file-query-exists"></a>g_file_query_exists ()</h3>
3478
 
<a class="indexterm" name="id3187213"></a><pre class="programlisting"><a
 
3585
<a class="indexterm" name="id3101029"></a><pre class="programlisting"><a
3479
3586
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
3480
3587
>gboolean</a>            g_file_query_exists                 (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3481
3588
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable);</pre>
3537
3644
</div>
3538
3645
<hr>
3539
3646
<div class="refsect2" lang="en">
3540
 
<a name="id3187389"></a><h3>
 
3647
<a name="id3101205"></a><h3>
3541
3648
<a name="g-file-query-filesystem-info"></a>g_file_query_filesystem_info ()</h3>
3542
 
<a class="indexterm" name="id3187404"></a><pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a>*          g_file_query_filesystem_info        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3649
<a class="indexterm" name="id3101219"></a><pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a>*          g_file_query_filesystem_info        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3543
3650
                                                         const char *attributes,
3544
3651
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
3545
3652
                                                         <a
3614
3721
</div>
3615
3722
<hr>
3616
3723
<div class="refsect2" lang="en">
3617
 
<a name="id3187681"></a><h3>
 
3724
<a name="id3101497"></a><h3>
 
3725
<a name="g-file-query-filesystem-info-async"></a>g_file_query_filesystem_info_async ()</h3>
 
3726
<a class="indexterm" name="id3101511"></a><pre class="programlisting">void                g_file_query_filesystem_info_async  (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3727
                                                         const char *attributes,
 
3728
                                                         int io_priority,
 
3729
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
 
3730
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
 
3731
                                                         <a
 
3732
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
3733
>gpointer</a> user_data);</pre>
 
3734
<p>
 
3735
Asynchronously gets the requested information about the filesystem
 
3736
that the specified <em class="parameter"><code>file</code></em> is on. The result is a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> object
 
3737
that contains key-value attributes (such as type or size for the
 
3738
file).
 
3739
</p>
 
3740
<p>
 
3741
For more details, see <a class="link" href="GFile.html#g-file-query-filesystem-info"><code class="function">g_file_query_filesystem_info()</code></a> which is the
 
3742
synchronous version of this call.
 
3743
</p>
 
3744
<p>
 
3745
When the operation is finished, <em class="parameter"><code>callback</code></em> will be called. You can
 
3746
then call <a class="link" href="GFile.html#g-file-query-info-finish"><code class="function">g_file_query_info_finish()</code></a> to get the result of the
 
3747
operation.</p>
 
3748
<p>
 
3749
 
 
3750
</p>
 
3751
<div class="variablelist"><table border="0">
 
3752
<col align="left" valign="top">
 
3753
<tbody>
 
3754
<tr>
 
3755
<td><p><span class="term"><em class="parameter"><code>file</code></em>&#160;:</span></p></td>
 
3756
<td> input <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>.
 
3757
</td>
 
3758
</tr>
 
3759
<tr>
 
3760
<td><p><span class="term"><em class="parameter"><code>attributes</code></em>&#160;:</span></p></td>
 
3761
<td> an attribute query string.
 
3762
</td>
 
3763
</tr>
 
3764
<tr>
 
3765
<td><p><span class="term"><em class="parameter"><code>io_priority</code></em>&#160;:</span></p></td>
 
3766
<td> the <a class="link" href="gio-GIOScheduler.html#io-priority">I/O priority</a> 
 
3767
    of the request.
 
3768
</td>
 
3769
</tr>
 
3770
<tr>
 
3771
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em>&#160;:</span></p></td>
 
3772
<td> optional <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> object, <a
 
3773
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
3774
><code class="literal">NULL</code></a> to ignore. 
 
3775
</td>
 
3776
</tr>
 
3777
<tr>
 
3778
<td><p><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></p></td>
 
3779
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied
 
3780
</td>
 
3781
</tr>
 
3782
<tr>
 
3783
<td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td>
 
3784
<td> the data to pass to callback function
 
3785
</td>
 
3786
</tr>
 
3787
</tbody>
 
3788
</table></div>
 
3789
</div>
 
3790
<hr>
 
3791
<div class="refsect2" lang="en">
 
3792
<a name="id3101759"></a><h3>
 
3793
<a name="g-file-query-filesystem-info-finish"></a>g_file_query_filesystem_info_finish ()</h3>
 
3794
<a class="indexterm" name="id3101774"></a><pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a>*          g_file_query_filesystem_info_finish (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3795
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
 
3796
                                                         <a
 
3797
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
 
3798
>GError</a> **error);</pre>
 
3799
<p>
 
3800
Finishes an asynchronous filesystem info query.  See
 
3801
<a class="link" href="GFile.html#g-file-query-filesystem-info-async"><code class="function">g_file_query_filesystem_info_async()</code></a>.</p>
 
3802
<p>
 
3803
 
 
3804
</p>
 
3805
<div class="variablelist"><table border="0">
 
3806
<col align="left" valign="top">
 
3807
<tbody>
 
3808
<tr>
 
3809
<td><p><span class="term"><em class="parameter"><code>file</code></em>&#160;:</span></p></td>
 
3810
<td> input <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>.
 
3811
</td>
 
3812
</tr>
 
3813
<tr>
 
3814
<td><p><span class="term"><em class="parameter"><code>res</code></em>&#160;:</span></p></td>
 
3815
<td> a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>. 
 
3816
</td>
 
3817
</tr>
 
3818
<tr>
 
3819
<td><p><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></p></td>
 
3820
<td> a <a
 
3821
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
 
3822
><span class="type">GError</span></a>. 
 
3823
</td>
 
3824
</tr>
 
3825
<tr>
 
3826
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
3827
<td> <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> for given <em class="parameter"><code>file</code></em> or <a
 
3828
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
 
3829
><code class="literal">NULL</code></a> on error.
 
3830
</td>
 
3831
</tr>
 
3832
</tbody>
 
3833
</table></div>
 
3834
</div>
 
3835
<hr>
 
3836
<div class="refsect2" lang="en">
 
3837
<a name="id3101931"></a><h3>
3618
3838
<a name="g-file-query-default-handler"></a>g_file_query_default_handler ()</h3>
3619
 
<a class="indexterm" name="id3187695"></a><pre class="programlisting"><a class="link" href="GAppInfo.html" title="GAppInfo">GAppInfo</a>*           g_file_query_default_handler        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3839
<a class="indexterm" name="id3101946"></a><pre class="programlisting"><a class="link" href="GAppInfo.html" title="GAppInfo">GAppInfo</a>*           g_file_query_default_handler        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3620
3840
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
3621
3841
                                                         <a
3622
3842
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
3673
3893
</div>
3674
3894
<hr>
3675
3895
<div class="refsect2" lang="en">
3676
 
<a name="id3187912"></a><h3>
 
3896
<a name="id3102162"></a><h3>
3677
3897
<a name="g-file-find-enclosing-mount"></a>g_file_find_enclosing_mount ()</h3>
3678
 
<a class="indexterm" name="id3187926"></a><pre class="programlisting"><a class="link" href="GMount.html" title="GMount">GMount</a>*             g_file_find_enclosing_mount         (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3898
<a class="indexterm" name="id3102176"></a><pre class="programlisting"><a class="link" href="GMount.html" title="GMount">GMount</a>*             g_file_find_enclosing_mount         (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3679
3899
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
3680
3900
                                                         <a
3681
3901
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
3733
3953
</div>
3734
3954
<hr>
3735
3955
<div class="refsect2" lang="en">
3736
 
<a name="id3188170"></a><h3>
 
3956
<a name="id3102421"></a><h3>
3737
3957
<a name="g-file-find-enclosing-mount-async"></a>g_file_find_enclosing_mount_async ()</h3>
3738
 
<a class="indexterm" name="id3188185"></a><pre class="programlisting">void                g_file_find_enclosing_mount_async   (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
3958
<a class="indexterm" name="id3102435"></a><pre class="programlisting">void                g_file_find_enclosing_mount_async   (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3739
3959
                                                         int io_priority,
3740
3960
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
3741
3961
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
3791
4011
</div>
3792
4012
<hr>
3793
4013
<div class="refsect2" lang="en">
3794
 
<a name="id3188396"></a><h3>
 
4014
<a name="id3102646"></a><h3>
3795
4015
<a name="g-file-find-enclosing-mount-finish"></a>g_file_find_enclosing_mount_finish ()</h3>
3796
 
<a class="indexterm" name="id3188411"></a><pre class="programlisting"><a class="link" href="GMount.html" title="GMount">GMount</a>*             g_file_find_enclosing_mount_finish  (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
4016
<a class="indexterm" name="id3102661"></a><pre class="programlisting"><a class="link" href="GMount.html" title="GMount">GMount</a>*             g_file_find_enclosing_mount_finish  (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3797
4017
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
3798
4018
                                                         <a
3799
4019
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
3836
4056
</div>
3837
4057
<hr>
3838
4058
<div class="refsect2" lang="en">
3839
 
<a name="id3188568"></a><h3>
 
4059
<a name="id3102818"></a><h3>
3840
4060
<a name="g-file-enumerate-children"></a>g_file_enumerate_children ()</h3>
3841
 
<a class="indexterm" name="id3188582"></a><pre class="programlisting"><a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a>*    g_file_enumerate_children           (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
4061
<a class="indexterm" name="id3102832"></a><pre class="programlisting"><a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a>*    g_file_enumerate_children           (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3842
4062
                                                         const char *attributes,
3843
4063
                                                         <a class="link" href="GFile.html#GFileQueryInfoFlags">GFileQueryInfoFlags</a> flags,
3844
4064
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
3917
4137
</div>
3918
4138
<hr>
3919
4139
<div class="refsect2" lang="en">
3920
 
<a name="id3188870"></a><h3>
 
4140
<a name="id3103121"></a><h3>
3921
4141
<a name="g-file-enumerate-children-async"></a>g_file_enumerate_children_async ()</h3>
3922
 
<a class="indexterm" name="id3188884"></a><pre class="programlisting">void                g_file_enumerate_children_async     (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
4142
<a class="indexterm" name="id3103135"></a><pre class="programlisting">void                g_file_enumerate_children_async     (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3923
4143
                                                         const char *attributes,
3924
4144
                                                         <a class="link" href="GFile.html#GFileQueryInfoFlags">GFileQueryInfoFlags</a> flags,
3925
4145
                                                         int io_priority,
3989
4209
</div>
3990
4210
<hr>
3991
4211
<div class="refsect2" lang="en">
3992
 
<a name="id3189162"></a><h3>
 
4212
<a name="id3103413"></a><h3>
3993
4213
<a name="g-file-enumerate-children-finish"></a>g_file_enumerate_children_finish ()</h3>
3994
 
<a class="indexterm" name="id3189176"></a><pre class="programlisting"><a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a>*    g_file_enumerate_children_finish    (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
4214
<a class="indexterm" name="id3103426"></a><pre class="programlisting"><a class="link" href="GFileEnumerator.html" title="GFileEnumerator">GFileEnumerator</a>*    g_file_enumerate_children_finish    (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
3995
4215
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
3996
4216
                                                         <a
3997
4217
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
4034
4254
</div>
4035
4255
<hr>
4036
4256
<div class="refsect2" lang="en">
4037
 
<a name="id3189329"></a><h3>
 
4257
<a name="id3103579"></a><h3>
4038
4258
<a name="g-file-set-display-name"></a>g_file_set_display_name ()</h3>
4039
 
<a class="indexterm" name="id3189342"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_set_display_name             (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
4259
<a class="indexterm" name="id3103593"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_set_display_name             (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
4040
4260
                                                         const char *display_name,
4041
4261
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
4042
4262
                                                         <a
4107
4327
</div>
4108
4328
<hr>
4109
4329
<div class="refsect2" lang="en">
4110
 
<a name="id3189609"></a><h3>
 
4330
<a name="id3103859"></a><h3>
4111
4331
<a name="g-file-set-display-name-async"></a>g_file_set_display_name_async ()</h3>
4112
 
<a class="indexterm" name="id3189623"></a><pre class="programlisting">void                g_file_set_display_name_async       (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
4332
<a class="indexterm" name="id3103873"></a><pre class="programlisting">void                g_file_set_display_name_async       (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
4113
4333
                                                         const char *display_name,
4114
4334
                                                         int io_priority,
4115
4335
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
4171
4391
</div>
4172
4392
<hr>
4173
4393
<div class="refsect2" lang="en">
4174
 
<a name="id3189862"></a><h3>
 
4394
<a name="id3104113"></a><h3>
4175
4395
<a name="g-file-set-display-name-finish"></a>g_file_set_display_name_finish ()</h3>
4176
 
<a class="indexterm" name="id3189876"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_set_display_name_finish      (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
4396
<a class="indexterm" name="id3104126"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_set_display_name_finish      (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
4177
4397
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
4178
4398
                                                         <a
4179
4399
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
4218
4438
</div>
4219
4439
<hr>
4220
4440
<div class="refsect2" lang="en">
4221
 
<a name="id3190037"></a><h3>
 
4441
<a name="id3104288"></a><h3>
4222
4442
<a name="g-file-delete"></a>g_file_delete ()</h3>
4223
 
<a class="indexterm" name="id3190050"></a><pre class="programlisting"><a
 
4443
<a class="indexterm" name="id3104301"></a><pre class="programlisting"><a
4224
4444
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
4225
4445
>gboolean</a>            g_file_delete                       (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
4226
4446
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
4277
4497
</div>
4278
4498
<hr>
4279
4499
<div class="refsect2" lang="en">
4280
 
<a name="id3190244"></a><h3>
 
4500
<a name="id3104495"></a><h3>
4281
4501
<a name="g-file-trash"></a>g_file_trash ()</h3>
4282
 
<a class="indexterm" name="id3190257"></a><pre class="programlisting"><a
 
4502
<a class="indexterm" name="id3104508"></a><pre class="programlisting"><a
4283
4503
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
4284
4504
>gboolean</a>            g_file_trash                        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
4285
4505
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
4339
4559
</div>
4340
4560
<hr>
4341
4561
<div class="refsect2" lang="en">
4342
 
<a name="id3190470"></a><h3>
 
4562
<a name="id3104721"></a><h3>
4343
4563
<a name="g-file-copy"></a>g_file_copy ()</h3>
4344
 
<a class="indexterm" name="id3190483"></a><pre class="programlisting"><a
 
4564
<a class="indexterm" name="id3104733"></a><pre class="programlisting"><a
4345
4565
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
4346
4566
>gboolean</a>            g_file_copy                         (<a class="link" href="GFile.html" title="GFile">GFile</a> *source,
4347
4567
                                                         <a class="link" href="GFile.html" title="GFile">GFile</a> *destination,
4465
4685
</div>
4466
4686
<hr>
4467
4687
<div class="refsect2" lang="en">
4468
 
<a name="id3190944"></a><h3>
 
4688
<a name="id3105195"></a><h3>
4469
4689
<a name="g-file-copy-async"></a>g_file_copy_async ()</h3>
4470
 
<a class="indexterm" name="id3190958"></a><pre class="programlisting">void                g_file_copy_async                   (<a class="link" href="GFile.html" title="GFile">GFile</a> *source,
 
4690
<a class="indexterm" name="id3105208"></a><pre class="programlisting">void                g_file_copy_async                   (<a class="link" href="GFile.html" title="GFile">GFile</a> *source,
4471
4691
                                                         <a class="link" href="GFile.html" title="GFile">GFile</a> *destination,
4472
4692
                                                         <a class="link" href="GFile.html#GFileCopyFlags">GFileCopyFlags</a> flags,
4473
4693
                                                         int io_priority,
4553
4773
</div>
4554
4774
<hr>
4555
4775
<div class="refsect2" lang="en">
4556
 
<a name="id3191315"></a><h3>
 
4776
<a name="id3105565"></a><h3>
4557
4777
<a name="g-file-copy-finish"></a>g_file_copy_finish ()</h3>
4558
 
<a class="indexterm" name="id3191328"></a><pre class="programlisting"><a
 
4778
<a class="indexterm" name="id3105579"></a><pre class="programlisting"><a
4559
4779
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
4560
4780
>gboolean</a>            g_file_copy_finish                  (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
4561
4781
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
4604
4824
</div>
4605
4825
<hr>
4606
4826
<div class="refsect2" lang="en">
4607
 
<a name="id3191490"></a><h3>
 
4827
<a name="id3105741"></a><h3>
4608
4828
<a name="g-file-move"></a>g_file_move ()</h3>
4609
 
<a class="indexterm" name="id3191503"></a><pre class="programlisting"><a
 
4829
<a class="indexterm" name="id3105754"></a><pre class="programlisting"><a
4610
4830
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
4611
4831
>gboolean</a>            g_file_move                         (<a class="link" href="GFile.html" title="GFile">GFile</a> *source,
4612
4832
                                                         <a class="link" href="GFile.html" title="GFile">GFile</a> *destination,
4728
4948
</div>
4729
4949
<hr>
4730
4950
<div class="refsect2" lang="en">
4731
 
<a name="id3191950"></a><h3>
 
4951
<a name="id3106202"></a><h3>
4732
4952
<a name="g-file-make-directory"></a>g_file_make_directory ()</h3>
4733
 
<a class="indexterm" name="id3191964"></a><pre class="programlisting"><a
 
4953
<a class="indexterm" name="id3106215"></a><pre class="programlisting"><a
4734
4954
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
4735
4955
>gboolean</a>            g_file_make_directory               (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
4736
4956
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
4787
5007
</div>
4788
5008
<hr>
4789
5009
<div class="refsect2" lang="en">
4790
 
<a name="id3192158"></a><h3>
 
5010
<a name="id3106410"></a><h3>
4791
5011
<a name="g-file-make-symbolic-link"></a>g_file_make_symbolic_link ()</h3>
4792
 
<a class="indexterm" name="id3192173"></a><pre class="programlisting"><a
 
5012
<a class="indexterm" name="id3106424"></a><pre class="programlisting"><a
4793
5013
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
4794
5014
>gboolean</a>            g_file_make_symbolic_link           (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
4795
5015
                                                         const char *symlink_value,
4850
5070
</div>
4851
5071
<hr>
4852
5072
<div class="refsect2" lang="en">
4853
 
<a name="id3192380"></a><h3>
 
5073
<a name="id3106631"></a><h3>
4854
5074
<a name="g-file-query-settable-attributes"></a>g_file_query_settable_attributes ()</h3>
4855
 
<a class="indexterm" name="id3192393"></a><pre class="programlisting"><a class="link" href="gio-GFileAttribute.html#GFileAttributeInfoList">GFileAttributeInfoList</a>* g_file_query_settable_attributes
 
5075
<a class="indexterm" name="id3106644"></a><pre class="programlisting"><a class="link" href="gio-GFileAttribute.html#GFileAttributeInfoList">GFileAttributeInfoList</a>* g_file_query_settable_attributes
4856
5076
                                                        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
4857
5077
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
4858
5078
                                                         <a
4911
5131
</div>
4912
5132
<hr>
4913
5133
<div class="refsect2" lang="en">
4914
 
<a name="id3192597"></a><h3>
 
5134
<a name="id3106848"></a><h3>
4915
5135
<a name="g-file-query-writable-namespaces"></a>g_file_query_writable_namespaces ()</h3>
4916
 
<a class="indexterm" name="id3192611"></a><pre class="programlisting"><a class="link" href="gio-GFileAttribute.html#GFileAttributeInfoList">GFileAttributeInfoList</a>* g_file_query_writable_namespaces
 
5136
<a class="indexterm" name="id3106862"></a><pre class="programlisting"><a class="link" href="gio-GFileAttribute.html#GFileAttributeInfoList">GFileAttributeInfoList</a>* g_file_query_writable_namespaces
4917
5137
                                                        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
4918
5138
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
4919
5139
                                                         <a
4968
5188
</div>
4969
5189
<hr>
4970
5190
<div class="refsect2" lang="en">
4971
 
<a name="id3192809"></a><h3>
 
5191
<a name="id3107060"></a><h3>
4972
5192
<a name="g-file-set-attribute"></a>g_file_set_attribute ()</h3>
4973
 
<a class="indexterm" name="id3192822"></a><pre class="programlisting"><a
 
5193
<a class="indexterm" name="id3107073"></a><pre class="programlisting"><a
4974
5194
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
4975
5195
>gboolean</a>            g_file_set_attribute                (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
4976
5196
                                                         const char *attribute,
5053
5273
</div>
5054
5274
<hr>
5055
5275
<div class="refsect2" lang="en">
5056
 
<a name="id3193123"></a><h3>
 
5276
<a name="id3107374"></a><h3>
5057
5277
<a name="g-file-set-attributes-from-info"></a>g_file_set_attributes_from_info ()</h3>
5058
 
<a class="indexterm" name="id3193138"></a><pre class="programlisting"><a
 
5278
<a class="indexterm" name="id3107389"></a><pre class="programlisting"><a
5059
5279
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
5060
5280
>gboolean</a>            g_file_set_attributes_from_info     (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5061
5281
                                                         <a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a> *info,
5132
5352
</div>
5133
5353
<hr>
5134
5354
<div class="refsect2" lang="en">
5135
 
<a name="id3193421"></a><h3>
 
5355
<a name="id3107672"></a><h3>
5136
5356
<a name="g-file-set-attributes-async"></a>g_file_set_attributes_async ()</h3>
5137
 
<a class="indexterm" name="id3193435"></a><pre class="programlisting">void                g_file_set_attributes_async         (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
5357
<a class="indexterm" name="id3107686"></a><pre class="programlisting">void                g_file_set_attributes_async         (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5138
5358
                                                         <a class="link" href="GFileInfo.html" title="GFileInfo">GFileInfo</a> *info,
5139
5359
                                                         <a class="link" href="GFile.html#GFileQueryInfoFlags">GFileQueryInfoFlags</a> flags,
5140
5360
                                                         int io_priority,
5204
5424
</div>
5205
5425
<hr>
5206
5426
<div class="refsect2" lang="en">
5207
 
<a name="id3193720"></a><h3>
 
5427
<a name="id3107971"></a><h3>
5208
5428
<a name="g-file-set-attributes-finish"></a>g_file_set_attributes_finish ()</h3>
5209
 
<a class="indexterm" name="id3193734"></a><pre class="programlisting"><a
 
5429
<a class="indexterm" name="id3107986"></a><pre class="programlisting"><a
5210
5430
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
5211
5431
>gboolean</a>            g_file_set_attributes_finish        (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5212
5432
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
5260
5480
</div>
5261
5481
<hr>
5262
5482
<div class="refsect2" lang="en">
5263
 
<a name="id3193927"></a><h3>
 
5483
<a name="id3108178"></a><h3>
5264
5484
<a name="g-file-set-attribute-string"></a>g_file_set_attribute_string ()</h3>
5265
 
<a class="indexterm" name="id3193941"></a><pre class="programlisting"><a
 
5485
<a class="indexterm" name="id3108192"></a><pre class="programlisting"><a
5266
5486
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
5267
5487
>gboolean</a>            g_file_set_attribute_string         (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5268
5488
                                                         const char *attribute,
5338
5558
</div>
5339
5559
<hr>
5340
5560
<div class="refsect2" lang="en">
5341
 
<a name="id3194242"></a><h3>
 
5561
<a name="id3108493"></a><h3>
5342
5562
<a name="g-file-set-attribute-byte-string"></a>g_file_set_attribute_byte_string ()</h3>
5343
 
<a class="indexterm" name="id3194256"></a><pre class="programlisting"><a
 
5563
<a class="indexterm" name="id3108507"></a><pre class="programlisting"><a
5344
5564
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
5345
5565
>gboolean</a>            g_file_set_attribute_byte_string    (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5346
5566
                                                         const char *attribute,
5420
5640
</div>
5421
5641
<hr>
5422
5642
<div class="refsect2" lang="en">
5423
 
<a name="id3194579"></a><h3>
 
5643
<a name="id3108830"></a><h3>
5424
5644
<a name="g-file-set-attribute-uint32"></a>g_file_set_attribute_uint32 ()</h3>
5425
 
<a class="indexterm" name="id3194594"></a><pre class="programlisting"><a
 
5645
<a class="indexterm" name="id3108845"></a><pre class="programlisting"><a
5426
5646
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
5427
5647
>gboolean</a>            g_file_set_attribute_uint32         (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5428
5648
                                                         const char *attribute,
5503
5723
</div>
5504
5724
<hr>
5505
5725
<div class="refsect2" lang="en">
5506
 
<a name="id3194914"></a><h3>
 
5726
<a name="id3109165"></a><h3>
5507
5727
<a name="g-file-set-attribute-int32"></a>g_file_set_attribute_int32 ()</h3>
5508
 
<a class="indexterm" name="id3194928"></a><pre class="programlisting"><a
 
5728
<a class="indexterm" name="id3109179"></a><pre class="programlisting"><a
5509
5729
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
5510
5730
>gboolean</a>            g_file_set_attribute_int32          (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5511
5731
                                                         const char *attribute,
5586
5806
</div>
5587
5807
<hr>
5588
5808
<div class="refsect2" lang="en">
5589
 
<a name="id3195247"></a><h3>
 
5809
<a name="id3109498"></a><h3>
5590
5810
<a name="g-file-set-attribute-uint64"></a>g_file_set_attribute_uint64 ()</h3>
5591
 
<a class="indexterm" name="id3195261"></a><pre class="programlisting"><a
 
5811
<a class="indexterm" name="id3109512"></a><pre class="programlisting"><a
5592
5812
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
5593
5813
>gboolean</a>            g_file_set_attribute_uint64         (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5594
5814
                                                         const char *attribute,
5669
5889
</div>
5670
5890
<hr>
5671
5891
<div class="refsect2" lang="en">
5672
 
<a name="id3195581"></a><h3>
 
5892
<a name="id3109832"></a><h3>
5673
5893
<a name="g-file-set-attribute-int64"></a>g_file_set_attribute_int64 ()</h3>
5674
 
<a class="indexterm" name="id3195595"></a><pre class="programlisting"><a
 
5894
<a class="indexterm" name="id3109846"></a><pre class="programlisting"><a
5675
5895
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
5676
5896
>gboolean</a>            g_file_set_attribute_int64          (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5677
5897
                                                         const char *attribute,
5751
5971
</div>
5752
5972
<hr>
5753
5973
<div class="refsect2" lang="en">
5754
 
<a name="id3195903"></a><h3>
 
5974
<a name="id3110154"></a><h3>
5755
5975
<a name="g-file-mount-mountable"></a>g_file_mount_mountable ()</h3>
5756
 
<a class="indexterm" name="id3195916"></a><pre class="programlisting">void                g_file_mount_mountable              (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5757
 
                                                         GMountMountFlags flags,
 
5976
<a class="indexterm" name="id3110167"></a><pre class="programlisting">void                g_file_mount_mountable              (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
5977
                                                         <a class="link" href="GMount.html#GMountMountFlags">GMountMountFlags</a> flags,
5758
5978
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation">GMountOperation</a> *mount_operation,
5759
5979
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
5760
5980
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
5823
6043
</div>
5824
6044
<hr>
5825
6045
<div class="refsect2" lang="en">
5826
 
<a name="id3196194"></a><h3>
 
6046
<a name="id3110445"></a><h3>
5827
6047
<a name="g-file-mount-mountable-finish"></a>g_file_mount_mountable_finish ()</h3>
5828
 
<a class="indexterm" name="id3196208"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_mount_mountable_finish       (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
6048
<a class="indexterm" name="id3110459"></a><pre class="programlisting"><a class="link" href="GFile.html" title="GFile">GFile</a>*              g_file_mount_mountable_finish       (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5829
6049
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
5830
6050
                                                         <a
5831
6051
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
5873
6093
</div>
5874
6094
<hr>
5875
6095
<div class="refsect2" lang="en">
5876
 
<a name="id3196383"></a><h3>
 
6096
<a name="id3110634"></a><h3>
5877
6097
<a name="g-file-unmount-mountable"></a>g_file_unmount_mountable ()</h3>
5878
 
<a class="indexterm" name="id3196397"></a><pre class="programlisting">void                g_file_unmount_mountable            (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
6098
<a class="indexterm" name="id3110648"></a><pre class="programlisting">void                g_file_unmount_mountable            (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5879
6099
                                                         <a class="link" href="GMount.html#GMountUnmountFlags">GMountUnmountFlags</a> flags,
5880
6100
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
5881
6101
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
5935
6155
</div>
5936
6156
<hr>
5937
6157
<div class="refsect2" lang="en">
5938
 
<a name="id3196628"></a><h3>
 
6158
<a name="id3110879"></a><h3>
5939
6159
<a name="g-file-unmount-mountable-finish"></a>g_file_unmount_mountable_finish ()</h3>
5940
 
<a class="indexterm" name="id3196642"></a><pre class="programlisting"><a
 
6160
<a class="indexterm" name="id3110893"></a><pre class="programlisting"><a
5941
6161
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
5942
6162
>gboolean</a>            g_file_unmount_mountable_finish     (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5943
6163
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
5990
6210
</div>
5991
6211
<hr>
5992
6212
<div class="refsect2" lang="en">
5993
 
<a name="id3196820"></a><h3>
 
6213
<a name="id3111071"></a><h3>
5994
6214
<a name="g-file-eject-mountable"></a>g_file_eject_mountable ()</h3>
5995
 
<a class="indexterm" name="id3196833"></a><pre class="programlisting">void                g_file_eject_mountable              (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
6215
<a class="indexterm" name="id3111084"></a><pre class="programlisting">void                g_file_eject_mountable              (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
5996
6216
                                                         <a class="link" href="GMount.html#GMountUnmountFlags">GMountUnmountFlags</a> flags,
5997
6217
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
5998
6218
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
6051
6271
</div>
6052
6272
<hr>
6053
6273
<div class="refsect2" lang="en">
6054
 
<a name="id3197067"></a><h3>
 
6274
<a name="id3111318"></a><h3>
6055
6275
<a name="g-file-eject-mountable-finish"></a>g_file_eject_mountable_finish ()</h3>
6056
 
<a class="indexterm" name="id3197081"></a><pre class="programlisting"><a
 
6276
<a class="indexterm" name="id3111332"></a><pre class="programlisting"><a
6057
6277
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
6058
6278
>gboolean</a>            g_file_eject_mountable_finish       (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
6059
6279
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
6103
6323
</div>
6104
6324
<hr>
6105
6325
<div class="refsect2" lang="en">
6106
 
<a name="id3197250"></a><h3>
 
6326
<a name="id3111502"></a><h3>
6107
6327
<a name="g-file-mount-enclosing-volume"></a>g_file_mount_enclosing_volume ()</h3>
6108
 
<a class="indexterm" name="id3197264"></a><pre class="programlisting">void                g_file_mount_enclosing_volume       (<a class="link" href="GFile.html" title="GFile">GFile</a> *location,
6109
 
                                                         GMountMountFlags flags,
 
6328
<a class="indexterm" name="id3111515"></a><pre class="programlisting">void                g_file_mount_enclosing_volume       (<a class="link" href="GFile.html" title="GFile">GFile</a> *location,
 
6329
                                                         <a class="link" href="GMount.html#GMountMountFlags">GMountMountFlags</a> flags,
6110
6330
                                                         <a class="link" href="GMountOperation.html" title="GMountOperation">GMountOperation</a> *mount_operation,
6111
6331
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
6112
6332
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
6174
6394
</div>
6175
6395
<hr>
6176
6396
<div class="refsect2" lang="en">
6177
 
<a name="id3197553"></a><h3>
 
6397
<a name="id3111804"></a><h3>
6178
6398
<a name="g-file-mount-enclosing-volume-finish"></a>g_file_mount_enclosing_volume_finish ()</h3>
6179
 
<a class="indexterm" name="id3197567"></a><pre class="programlisting"><a
 
6399
<a class="indexterm" name="id3111818"></a><pre class="programlisting"><a
6180
6400
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
6181
6401
>gboolean</a>            g_file_mount_enclosing_volume_finish
6182
6402
                                                        (<a class="link" href="GFile.html" title="GFile">GFile</a> *location,
6227
6447
</div>
6228
6448
<hr>
6229
6449
<div class="refsect2" lang="en">
6230
 
<a name="id3197739"></a><h3>
 
6450
<a name="id3111990"></a><h3>
6231
6451
<a name="g-file-monitor-directory"></a>g_file_monitor_directory ()</h3>
6232
 
<a class="indexterm" name="id3197753"></a><pre class="programlisting"><a class="link" href="GFileMonitor.html" title="GFileMonitor">GFileMonitor</a>*       g_file_monitor_directory            (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
6452
<a class="indexterm" name="id3112004"></a><pre class="programlisting"><a class="link" href="GFileMonitor.html" title="GFileMonitor">GFileMonitor</a>*       g_file_monitor_directory            (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
6233
6453
                                                         <a class="link" href="GFile.html#GFileMonitorFlags">GFileMonitorFlags</a> flags,
6234
6454
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
6235
6455
                                                         <a
6290
6510
</div>
6291
6511
<hr>
6292
6512
<div class="refsect2" lang="en">
6293
 
<a name="id3197981"></a><h3>
 
6513
<a name="id3112232"></a><h3>
6294
6514
<a name="g-file-monitor-file"></a>g_file_monitor_file ()</h3>
6295
 
<a class="indexterm" name="id3197995"></a><pre class="programlisting"><a class="link" href="GFileMonitor.html" title="GFileMonitor">GFileMonitor</a>*       g_file_monitor_file                 (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
6515
<a class="indexterm" name="id3112246"></a><pre class="programlisting"><a class="link" href="GFileMonitor.html" title="GFileMonitor">GFileMonitor</a>*       g_file_monitor_file                 (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
6296
6516
                                                         <a class="link" href="GFile.html#GFileMonitorFlags">GFileMonitorFlags</a> flags,
6297
6517
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
6298
6518
                                                         <a
6350
6570
</div>
6351
6571
<hr>
6352
6572
<div class="refsect2" lang="en">
6353
 
<a name="id3198214"></a><h3>
 
6573
<a name="id3112465"></a><h3>
6354
6574
<a name="g-file-load-contents"></a>g_file_load_contents ()</h3>
6355
 
<a class="indexterm" name="id3198228"></a><pre class="programlisting"><a
 
6575
<a class="indexterm" name="id3112479"></a><pre class="programlisting"><a
6356
6576
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
6357
6577
>gboolean</a>            g_file_load_contents                (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
6358
6578
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
6432
6652
</div>
6433
6653
<hr>
6434
6654
<div class="refsect2" lang="en">
6435
 
<a name="id3198503"></a><h3>
 
6655
<a name="id3112754"></a><h3>
6436
6656
<a name="g-file-load-contents-async"></a>g_file_load_contents_async ()</h3>
6437
 
<a class="indexterm" name="id3198517"></a><pre class="programlisting">void                g_file_load_contents_async          (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
6657
<a class="indexterm" name="id3112768"></a><pre class="programlisting">void                g_file_load_contents_async          (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
6438
6658
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
6439
6659
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
6440
6660
                                                         <a
6492
6712
</div>
6493
6713
<hr>
6494
6714
<div class="refsect2" lang="en">
6495
 
<a name="id3198757"></a><h3>
 
6715
<a name="id3113008"></a><h3>
6496
6716
<a name="g-file-load-contents-finish"></a>g_file_load_contents_finish ()</h3>
6497
 
<a class="indexterm" name="id3198771"></a><pre class="programlisting"><a
 
6717
<a class="indexterm" name="id3113022"></a><pre class="programlisting"><a
6498
6718
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
6499
6719
>gboolean</a>            g_file_load_contents_finish         (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
6500
6720
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
6566
6786
</div>
6567
6787
<hr>
6568
6788
<div class="refsect2" lang="en">
6569
 
<a name="id3199034"></a><h3>
 
6789
<a name="id3113286"></a><h3>
6570
6790
<a name="g-file-load-partial-contents-async"></a>g_file_load_partial_contents_async ()</h3>
6571
 
<a class="indexterm" name="id3199049"></a><pre class="programlisting">void                g_file_load_partial_contents_async  (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
6791
<a class="indexterm" name="id3113300"></a><pre class="programlisting">void                g_file_load_partial_contents_async  (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
6572
6792
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
6573
6793
                                                         <a class="link" href="GFile.html#GFileReadMoreCallback">GFileReadMoreCallback</a> read_more_callback,
6574
6794
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
6629
6849
</div>
6630
6850
<hr>
6631
6851
<div class="refsect2" lang="en">
6632
 
<a name="id3199311"></a><h3>
 
6852
<a name="id3113562"></a><h3>
6633
6853
<a name="g-file-load-partial-contents-finish"></a>g_file_load_partial_contents_finish ()</h3>
6634
 
<a class="indexterm" name="id3199326"></a><pre class="programlisting"><a
 
6854
<a class="indexterm" name="id3113577"></a><pre class="programlisting"><a
6635
6855
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
6636
6856
>gboolean</a>            g_file_load_partial_contents_finish (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
6637
6857
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
6701
6921
</div>
6702
6922
<hr>
6703
6923
<div class="refsect2" lang="en">
6704
 
<a name="id3199563"></a><h3>
 
6924
<a name="id3113814"></a><h3>
6705
6925
<a name="g-file-replace-contents"></a>g_file_replace_contents ()</h3>
6706
 
<a class="indexterm" name="id3199576"></a><pre class="programlisting"><a
 
6926
<a class="indexterm" name="id3113827"></a><pre class="programlisting"><a
6707
6927
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
6708
6928
>gboolean</a>            g_file_replace_contents             (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
6709
6929
                                                         const char *contents,
6823
7043
</div>
6824
7044
<hr>
6825
7045
<div class="refsect2" lang="en">
6826
 
<a name="id3200039"></a><h3>
 
7046
<a name="id3114290"></a><h3>
6827
7047
<a name="g-file-replace-contents-async"></a>g_file_replace_contents_async ()</h3>
6828
 
<a class="indexterm" name="id3200054"></a><pre class="programlisting">void                g_file_replace_contents_async       (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
 
7048
<a class="indexterm" name="id3114305"></a><pre class="programlisting">void                g_file_replace_contents_async       (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
6829
7049
                                                         const char *contents,
6830
7050
                                                         <a
6831
7051
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"
6922
7142
</div>
6923
7143
<hr>
6924
7144
<div class="refsect2" lang="en">
6925
 
<a name="id3200453"></a><h3>
 
7145
<a name="id3114704"></a><h3>
6926
7146
<a name="g-file-replace-contents-finish"></a>g_file_replace_contents_finish ()</h3>
6927
 
<a class="indexterm" name="id3200467"></a><pre class="programlisting"><a
 
7147
<a class="indexterm" name="id3114718"></a><pre class="programlisting"><a
6928
7148
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
6929
7149
>gboolean</a>            g_file_replace_contents_finish      (<a class="link" href="GFile.html" title="GFile">GFile</a> *file,
6930
7150
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *res,
6984
7204
</div>
6985
7205
<hr>
6986
7206
<div class="refsect2" lang="en">
6987
 
<a name="id3200681"></a><h3>
 
7207
<a name="id3114932"></a><h3>
6988
7208
<a name="g-file-copy-attributes"></a>g_file_copy_attributes ()</h3>
6989
 
<a class="indexterm" name="id3200695"></a><pre class="programlisting"><a
 
7209
<a class="indexterm" name="id3114946"></a><pre class="programlisting"><a
6990
7210
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
6991
7211
>gboolean</a>            g_file_copy_attributes              (<a class="link" href="GFile.html" title="GFile">GFile</a> *source,
6992
7212
                                                         <a class="link" href="GFile.html" title="GFile">GFile</a> *destination,
7055
7275
</div>
7056
7276
</div>
7057
7277
<div class="refsect1" lang="en">
7058
 
<a name="id3200951"></a><h2>See Also</h2>
 
7278
<a name="id3115202"></a><h2>See Also</h2>
7059
7279
<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>, <a class="link" href="GFileEnumerator.html" title="GFileEnumerator"><span class="type">GFileEnumerator</span></a>
7060
7280
</div>
7061
7281
<div class="refsect1" lang="en">
7062
 
<a name="id3200973"></a><div class="refsect2" lang="en"><a name="id3200974"></a></div>
 
7282
<a name="id3115224"></a><div class="refsect2" lang="en"><a name="id3115225"></a></div>
7063
7283
<hr>
7064
 
<div class="refsect2" lang="en"><a name="id3200975"></a></div>
 
7284
<div class="refsect2" lang="en"><a name="id3115226"></a></div>
7065
7285
</div>
7066
7286
</div>
7067
7287
</body>