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

« back to all changes in this revision

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

Tags: upstream-2.16.1
Import upstream version 2.16.1

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-Unix-Mounts.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="#id3048090" class="shortcut">Top</a>
44
 
                  &#160;|&#160;
45
 
                  <a href="#id3160700" class="shortcut">Description</a>
46
 
                  &#160;|&#160;
47
 
                  <a href="#id3160615" class="shortcut">Object Hierarchy</a>
48
 
                  &#160;|&#160;
49
 
                  <a href="#id3160639" class="shortcut">Prerequisites</a>
50
 
                  &#160;|&#160;
51
 
                  <a href="#id3160661" class="shortcut">Signals</a></nobr></td></tr>
 
43
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3107000" class="shortcut">Top</a>
 
44
                  &#160;|&#160;
 
45
                  <a href="#id3213175" class="shortcut">Description</a>
 
46
                  &#160;|&#160;
 
47
                  <a href="#id3213089" class="shortcut">Object Hierarchy</a>
 
48
                  &#160;|&#160;
 
49
                  <a href="#id3213113" class="shortcut">Prerequisites</a>
 
50
                  &#160;|&#160;
 
51
                  <a href="#id3213136" class="shortcut">Signals</a></nobr></td></tr>
52
52
</table>
53
53
<div class="refentry" lang="en">
54
54
<a name="GDrive"></a><div class="titlepage"></div>
55
55
<div class="refnamediv"><table width="100%"><tr>
56
56
<td valign="top">
57
57
<h2>
58
 
<a name="id3048090"></a><span class="refentrytitle">GDrive</span>
 
58
<a name="id3107000"></a><span class="refentrytitle">GDrive</span>
59
59
</h2>
60
60
<p>GDrive &#8212; Virtual File System drive management</p>
61
61
</td>
128
128
</pre>
129
129
</div>
130
130
<div class="refsect1" lang="en">
131
 
<a name="id3160615"></a><h2>Object Hierarchy</h2>
 
131
<a name="id3213089"></a><h2>Object Hierarchy</h2>
132
132
<pre class="synopsis">
133
133
 
134
134
  GInterface
136
136
</pre>
137
137
</div>
138
138
<div class="refsect1" lang="en">
139
 
<a name="id3160639"></a><h2>Prerequisites</h2>
 
139
<a name="id3213113"></a><h2>Prerequisites</h2>
140
140
<p>
141
141
GDrive requires
142
142
 <a
144
144
>GObject</a>.</p>
145
145
</div>
146
146
<div class="refsect1" lang="en">
147
 
<a name="id3160661"></a><h2>Signals</h2>
 
147
<a name="id3213136"></a><h2>Signals</h2>
148
148
<pre class="synopsis">
149
149
 
150
150
  "<a class="link" href="GDrive.html#GDrive-changed">changed</a>"                                        : Run Last
153
153
</pre>
154
154
</div>
155
155
<div class="refsect1" lang="en">
156
 
<a name="id3160700"></a><h2>Description</h2>
 
156
<a name="id3213175"></a><h2>Description</h2>
157
157
<p>
158
158
<a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> - this represent a piece of hardware connected to the machine.
159
159
Its generally only created for removable hardware or hardware with
180
180
</p>
181
181
</div>
182
182
<div class="refsect1" lang="en">
183
 
<a name="id3160784"></a><h2>Details</h2>
 
183
<a name="id3213259"></a><h2>Details</h2>
184
184
<div class="refsect2" lang="en">
185
 
<a name="id3160795"></a><h3>
 
185
<a name="id3213270"></a><h3>
186
186
<a name="GDrive-struct"></a>GDrive</h3>
187
 
<a class="indexterm" name="id3160808"></a><pre class="programlisting">typedef struct _GDrive GDrive;</pre>
 
187
<a class="indexterm" name="id3213282"></a><pre class="programlisting">typedef struct _GDrive GDrive;</pre>
188
188
<p>
189
189
Opaque drive object.</p>
190
190
<p>
193
193
</div>
194
194
<hr>
195
195
<div class="refsect2" lang="en">
196
 
<a name="id3160826"></a><h3>
 
196
<a name="id3213301"></a><h3>
197
197
<a name="GDriveIface"></a>GDriveIface</h3>
198
 
<a class="indexterm" name="id3160838"></a><pre class="programlisting">typedef struct {
 
198
<a class="indexterm" name="id3213313"></a><pre class="programlisting">typedef struct {
199
199
  GTypeInterface g_iface;
200
200
 
201
201
  /* signals */
362
362
</div>
363
363
<hr>
364
364
<div class="refsect2" lang="en">
365
 
<a name="id3165715"></a><h3>
 
365
<a name="id3228607"></a><h3>
366
366
<a name="g-drive-get-name"></a>g_drive_get_name ()</h3>
367
 
<a class="indexterm" name="id3165727"></a><pre class="programlisting">char*               g_drive_get_name                    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
 
367
<a class="indexterm" name="id3228619"></a><pre class="programlisting">char*               g_drive_get_name                    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
368
368
<p>
369
369
Gets the name of <em class="parameter"><code>drive</code></em>.</p>
370
370
<p>
389
389
</div>
390
390
<hr>
391
391
<div class="refsect2" lang="en">
392
 
<a name="id3165808"></a><h3>
 
392
<a name="id3228700"></a><h3>
393
393
<a name="g-drive-get-icon"></a>g_drive_get_icon ()</h3>
394
 
<a class="indexterm" name="id3165820"></a><pre class="programlisting"><a class="link" href="GIcon.html" title="GIcon">GIcon</a>*              g_drive_get_icon                    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
 
394
<a class="indexterm" name="id3228712"></a><pre class="programlisting"><a class="link" href="GIcon.html" title="GIcon">GIcon</a>*              g_drive_get_icon                    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
395
395
<p>
396
396
Gets the icon for <em class="parameter"><code>drive</code></em>.</p>
397
397
<p>
415
415
</div>
416
416
<hr>
417
417
<div class="refsect2" lang="en">
418
 
<a name="id3165907"></a><h3>
 
418
<a name="id3228799"></a><h3>
419
419
<a name="g-drive-has-volumes"></a>g_drive_has_volumes ()</h3>
420
 
<a class="indexterm" name="id3165919"></a><pre class="programlisting"><a
 
420
<a class="indexterm" name="id3228811"></a><pre class="programlisting"><a
421
421
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
422
422
>gboolean</a>            g_drive_has_volumes                 (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
423
423
<p>
447
447
</div>
448
448
<hr>
449
449
<div class="refsect2" lang="en">
450
 
<a name="id3166017"></a><h3>
 
450
<a name="id3228909"></a><h3>
451
451
<a name="g-drive-get-volumes"></a>g_drive_get_volumes ()</h3>
452
 
<a class="indexterm" name="id3166030"></a><pre class="programlisting"><a
 
452
<a class="indexterm" name="id3228921"></a><pre class="programlisting"><a
453
453
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
454
454
>GList</a>*              g_drive_get_volumes                 (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
455
455
<p>
485
485
</div>
486
486
<hr>
487
487
<div class="refsect2" lang="en">
488
 
<a name="id3166147"></a><h3>
 
488
<a name="id3229039"></a><h3>
489
489
<a name="g-drive-can-eject"></a>g_drive_can_eject ()</h3>
490
 
<a class="indexterm" name="id3166160"></a><pre class="programlisting"><a
 
490
<a class="indexterm" name="id3229052"></a><pre class="programlisting"><a
491
491
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
492
492
>gboolean</a>            g_drive_can_eject                   (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
493
493
<p>
517
517
</div>
518
518
<hr>
519
519
<div class="refsect2" lang="en">
520
 
<a name="id3166252"></a><h3>
 
520
<a name="id3229143"></a><h3>
521
521
<a name="g-drive-can-poll-for-media"></a>g_drive_can_poll_for_media ()</h3>
522
 
<a class="indexterm" name="id3166263"></a><pre class="programlisting"><a
 
522
<a class="indexterm" name="id3229155"></a><pre class="programlisting"><a
523
523
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
524
524
>gboolean</a>            g_drive_can_poll_for_media          (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
525
525
<p>
549
549
</div>
550
550
<hr>
551
551
<div class="refsect2" lang="en">
552
 
<a name="id3166355"></a><h3>
 
552
<a name="id3229247"></a><h3>
553
553
<a name="g-drive-poll-for-media"></a>g_drive_poll_for_media ()</h3>
554
 
<a class="indexterm" name="id3166366"></a><pre class="programlisting">void                g_drive_poll_for_media              (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
554
<a class="indexterm" name="id3229258"></a><pre class="programlisting">void                g_drive_poll_for_media              (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
555
555
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
556
556
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
557
557
                                                         <a
596
596
</div>
597
597
<hr>
598
598
<div class="refsect2" lang="en">
599
 
<a name="id3166535"></a><h3>
 
599
<a name="id3229426"></a><h3>
600
600
<a name="g-drive-poll-for-media-finish"></a>g_drive_poll_for_media_finish ()</h3>
601
 
<a class="indexterm" name="id3166546"></a><pre class="programlisting"><a
 
601
<a class="indexterm" name="id3229438"></a><pre class="programlisting"><a
602
602
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
603
603
>gboolean</a>            g_drive_poll_for_media_finish       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
604
604
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
645
645
</div>
646
646
<hr>
647
647
<div class="refsect2" lang="en">
648
 
<a name="id3166689"></a><h3>
 
648
<a name="id3229581"></a><h3>
649
649
<a name="g-drive-has-media"></a>g_drive_has_media ()</h3>
650
 
<a class="indexterm" name="id3166702"></a><pre class="programlisting"><a
 
650
<a class="indexterm" name="id3229593"></a><pre class="programlisting"><a
651
651
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
652
652
>gboolean</a>            g_drive_has_media                   (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
653
653
<p>
679
679
</div>
680
680
<hr>
681
681
<div class="refsect2" lang="en">
682
 
<a name="id3166810"></a><h3>
 
682
<a name="id3229702"></a><h3>
683
683
<a name="g-drive-is-media-check-automatic"></a>g_drive_is_media_check_automatic ()</h3>
684
 
<a class="indexterm" name="id3166821"></a><pre class="programlisting"><a
 
684
<a class="indexterm" name="id3229713"></a><pre class="programlisting"><a
685
685
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
686
686
>gboolean</a>            g_drive_is_media_check_automatic    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
687
687
<p>
711
711
</div>
712
712
<hr>
713
713
<div class="refsect2" lang="en">
714
 
<a name="id3166921"></a><h3>
 
714
<a name="id3229812"></a><h3>
715
715
<a name="g-drive-is-media-removable"></a>g_drive_is_media_removable ()</h3>
716
 
<a class="indexterm" name="id3166932"></a><pre class="programlisting"><a
 
716
<a class="indexterm" name="id3229824"></a><pre class="programlisting"><a
717
717
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
718
718
>gboolean</a>            g_drive_is_media_removable          (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
719
719
<p>
743
743
</div>
744
744
<hr>
745
745
<div class="refsect2" lang="en">
746
 
<a name="id3167029"></a><h3>
 
746
<a name="id3229921"></a><h3>
747
747
<a name="g-drive-eject"></a>g_drive_eject ()</h3>
748
 
<a class="indexterm" name="id3167042"></a><pre class="programlisting">void                g_drive_eject                       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
748
<a class="indexterm" name="id3229933"></a><pre class="programlisting">void                g_drive_eject                       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
749
749
                                                         <a class="link" href="GMount.html#GMountUnmountFlags">GMountUnmountFlags</a> flags,
750
750
                                                         <a class="link" href="GCancellable.html" title="GCancellable">GCancellable</a> *cancellable,
751
751
                                                         <a class="link" href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a> callback,
796
796
</div>
797
797
<hr>
798
798
<div class="refsect2" lang="en">
799
 
<a name="id3167226"></a><h3>
 
799
<a name="id3230118"></a><h3>
800
800
<a name="g-drive-eject-finish"></a>g_drive_eject_finish ()</h3>
801
 
<a class="indexterm" name="id3167237"></a><pre class="programlisting"><a
 
801
<a class="indexterm" name="id3230129"></a><pre class="programlisting"><a
802
802
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
803
803
>gboolean</a>            g_drive_eject_finish                (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
804
804
                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,
845
845
</div>
846
846
<hr>
847
847
<div class="refsect2" lang="en">
848
 
<a name="id3168200"></a><h3>
 
848
<a name="id3231090"></a><h3>
849
849
<a name="g-drive-enumerate-identifiers"></a>g_drive_enumerate_identifiers ()</h3>
850
 
<a class="indexterm" name="id3168210"></a><pre class="programlisting">char**              g_drive_enumerate_identifiers       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
 
850
<a class="indexterm" name="id3231101"></a><pre class="programlisting">char**              g_drive_enumerate_identifiers       (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre>
851
851
<p>
852
852
Gets the kinds of identifiers that <em class="parameter"><code>drive</code></em> has. 
853
853
Use <code class="function">g_drive_get_identifer()</code> to obtain the identifiers
878
878
</div>
879
879
<hr>
880
880
<div class="refsect2" lang="en">
881
 
<a name="id3168301"></a><h3>
 
881
<a name="id3231192"></a><h3>
882
882
<a name="g-drive-get-identifier"></a>g_drive_get_identifier ()</h3>
883
 
<a class="indexterm" name="id3168312"></a><pre class="programlisting">char*               g_drive_get_identifier              (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
 
883
<a class="indexterm" name="id3231202"></a><pre class="programlisting">char*               g_drive_get_identifier              (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive,
884
884
                                                         const char *kind);</pre>
885
885
<p>
886
886
Gets the identifier of the given kind for <em class="parameter"><code>drive</code></em>.</p>
914
914
</div>
915
915
</div>
916
916
<div class="refsect1" lang="en">
917
 
<a name="id3168413"></a><h2>Signal Details</h2>
 
917
<a name="id3231303"></a><h2>Signal Details</h2>
918
918
<div class="refsect2" lang="en">
919
 
<a name="id3168423"></a><h3>
 
919
<a name="id3231313"></a><h3>
920
920
<a name="GDrive-changed"></a>The <code class="literal">"changed"</code> signal</h3>
921
 
<a class="indexterm" name="id3168435"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GDrive.html" title="GDrive">GDrive</a>  *drive,
 
921
<a class="indexterm" name="id3231325"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GDrive.html" title="GDrive">GDrive</a>  *drive,
922
922
                                                        <a
923
923
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
924
924
>gpointer</a> user_data)      : Run Last</pre>
944
944
</div>
945
945
<hr>
946
946
<div class="refsect2" lang="en">
947
 
<a name="id3168506"></a><h3>
 
947
<a name="id3231396"></a><h3>
948
948
<a name="GDrive-disconnected"></a>The <code class="literal">"disconnected"</code> signal</h3>
949
 
<a class="indexterm" name="id3168518"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GDrive.html" title="GDrive">GDrive</a>  *drive,
 
949
<a class="indexterm" name="id3231408"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GDrive.html" title="GDrive">GDrive</a>  *drive,
950
950
                                                        <a
951
951
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
952
952
>gpointer</a> user_data)      : Run Last</pre>
975
975
</div>
976
976
<hr>
977
977
<div class="refsect2" lang="en">
978
 
<a name="id3168596"></a><h3>
 
978
<a name="id3231486"></a><h3>
979
979
<a name="GDrive-eject-button"></a>The <code class="literal">"eject-button"</code> signal</h3>
980
 
<a class="indexterm" name="id3168609"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GDrive.html" title="GDrive">GDrive</a>  *drive,
 
980
<a class="indexterm" name="id3231499"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GDrive.html" title="GDrive">GDrive</a>  *drive,
981
981
                                                        <a
982
982
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
983
983
>gpointer</a> user_data)      : Run Last</pre>
1003
1003
</div>
1004
1004
</div>
1005
1005
<div class="refsect1" lang="en">
1006
 
<a name="id3168682"></a><div class="refsect2" lang="en"><a name="id3168683"></a></div>
 
1006
<a name="id3231572"></a><div class="refsect2" lang="en"><a name="id3231573"></a></div>
1007
1007
<hr>
1008
 
<div class="refsect2" lang="en"><a name="id3168684"></a></div>
 
1008
<div class="refsect2" lang="en"><a name="id3231574"></a></div>
1009
1009
</div>
1010
1010
</div>
1011
1011
</body>