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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-06-27 09:56:08 UTC
  • mfrom: (1.4.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090627095608-pi9244lmozmr2cm6
Tags: 2.20.4-1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GVolumeMonitor</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7
7
<link rel="home" href="index.html" title="GIO Reference Manual">
8
8
<link rel="up" href="volume_mon.html" title="Volumes and Drives">
9
9
<link rel="prev" href="volume_mon.html" title="Volumes and Drives">
52
52
                <a href="#GVolumeMonitor.signals" class="shortcut">Signals</a>
53
53
</td></tr>
54
54
</table>
55
 
<div class="refentry" lang="en">
 
55
<div class="refentry" title="GVolumeMonitor">
56
56
<a name="GVolumeMonitor"></a><div class="titlepage"></div>
57
57
<div class="refnamediv"><table width="100%"><tr>
58
58
<td valign="top">
61
61
</td>
62
62
<td valign="top" align="right"></td>
63
63
</tr></table></div>
64
 
<div class="refsynopsisdiv">
 
64
<div class="refsynopsisdiv" title="Synopsis">
65
65
<a name="GVolumeMonitor.synopsis"></a><h2>Synopsis</h2>
66
66
<pre class="synopsis">
67
67
 
88
88
                                                         const char *uuid);
89
89
</pre>
90
90
</div>
91
 
<div class="refsect1" lang="en">
 
91
<div class="refsect1" title="Object Hierarchy">
92
92
<a name="GVolumeMonitor.object-hierarchy"></a><h2>Object Hierarchy</h2>
93
93
<pre class="synopsis">
94
94
  <a
97
97
   +----GVolumeMonitor
98
98
</pre>
99
99
</div>
100
 
<div class="refsect1" lang="en">
 
100
<div class="refsect1" title="Signals">
101
101
<a name="GVolumeMonitor.signals"></a><h2>Signals</h2>
102
102
<pre class="synopsis">
103
103
  "<a class="link" href="GVolumeMonitor.html#GVolumeMonitor-drive-changed" title='The "drive-changed" signal'>drive-changed</a>"                                  : Run Last
113
113
  "<a class="link" href="GVolumeMonitor.html#GVolumeMonitor-volume-removed" title='The "volume-removed" signal'>volume-removed</a>"                                 : Run Last
114
114
</pre>
115
115
</div>
116
 
<div class="refsect1" lang="en">
 
116
<div class="refsect1" title="Description">
117
117
<a name="GVolumeMonitor.description"></a><h2>Description</h2>
118
118
<p>
119
119
<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor"><span class="type">GVolumeMonitor</span></a> is for listing the user interesting devices and volumes
122
122
<p>
123
123
</p>
124
124
</div>
125
 
<div class="refsect1" lang="en">
 
125
<div class="refsect1" title="Details">
126
126
<a name="GVolumeMonitor.details"></a><h2>Details</h2>
127
 
<div class="refsect2" lang="en">
 
127
<div class="refsect2" title="GVolumeMonitor">
128
128
<a name="GVolumeMonitor-struct"></a><h3>GVolumeMonitor</h3>
129
129
<pre class="programlisting">typedef struct _GVolumeMonitor GVolumeMonitor;</pre>
130
130
<p>
137
137
</table></div>
138
138
</div>
139
139
<hr>
140
 
<div class="refsect2" lang="en">
 
140
<div class="refsect2" title="G_VOLUME_MONITOR_EXTENSION_POINT_NAME">
141
141
<a name="G-VOLUME-MONITOR-EXTENSION-POINT-NAME--CAPS"></a><h3>G_VOLUME_MONITOR_EXTENSION_POINT_NAME</h3>
142
142
<pre class="programlisting">#define G_VOLUME_MONITOR_EXTENSION_POINT_NAME "gio-volume-monitor"
143
143
</pre>
148
148
</p>
149
149
</div>
150
150
<hr>
151
 
<div class="refsect2" lang="en">
 
151
<div class="refsect2" title="g_volume_monitor_get ()">
152
152
<a name="g-volume-monitor-get"></a><h3>g_volume_monitor_get ()</h3>
153
153
<pre class="programlisting"><a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *    g_volume_monitor_get                (void);</pre>
154
154
<p>
168
168
</table></div>
169
169
</div>
170
170
<hr>
171
 
<div class="refsect2" lang="en">
 
171
<div class="refsect2" title="g_volume_monitor_get_connected_drives ()">
172
172
<a name="g-volume-monitor-get-connected-drives"></a><h3>g_volume_monitor_get_connected_drives ()</h3>
173
173
<pre class="programlisting"><a
174
174
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
205
205
</table></div>
206
206
</div>
207
207
<hr>
208
 
<div class="refsect2" lang="en">
 
208
<div class="refsect2" title="g_volume_monitor_get_volumes ()">
209
209
<a name="g-volume-monitor-get-volumes"></a><h3>g_volume_monitor_get_volumes ()</h3>
210
210
<pre class="programlisting"><a
211
211
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
241
241
</table></div>
242
242
</div>
243
243
<hr>
244
 
<div class="refsect2" lang="en">
 
244
<div class="refsect2" title="g_volume_monitor_get_mounts ()">
245
245
<a name="g-volume-monitor-get-mounts"></a><h3>g_volume_monitor_get_mounts ()</h3>
246
246
<pre class="programlisting"><a
247
247
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
277
277
</table></div>
278
278
</div>
279
279
<hr>
280
 
<div class="refsect2" lang="en">
 
280
<div class="refsect2" title="g_volume_monitor_adopt_orphan_mount ()">
281
281
<a name="g-volume-monitor-adopt-orphan-mount"></a><h3>g_volume_monitor_adopt_orphan_mount ()</h3>
282
282
<pre class="programlisting"><a class="link" href="GVolume.html" title="GVolume">GVolume</a> *           g_volume_monitor_adopt_orphan_mount (<a class="link" href="GMount.html" title="GMount">GMount</a> *mount);</pre>
283
 
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
283
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
284
284
<h3 class="title">Warning</h3>
285
285
<p><code class="literal">g_volume_monitor_adopt_orphan_mount</code> has been deprecated since version 2.20 and should not be used in newly-written code. Instead of using this function, <a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor"><span class="type">GVolumeMonitor</span></a>
286
286
implementations should instead create shadow mounts with the URI of
347
347
</table></div>
348
348
</div>
349
349
<hr>
350
 
<div class="refsect2" lang="en">
 
350
<div class="refsect2" title="g_volume_monitor_get_mount_for_uuid ()">
351
351
<a name="g-volume-monitor-get-mount-for-uuid"></a><h3>g_volume_monitor_get_mount_for_uuid ()</h3>
352
352
<pre class="programlisting"><a class="link" href="GMount.html" title="GMount">GMount</a> *            g_volume_monitor_get_mount_for_uuid (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
353
353
                                                         const char *uuid);</pre>
382
382
</table></div>
383
383
</div>
384
384
<hr>
385
 
<div class="refsect2" lang="en">
 
385
<div class="refsect2" title="g_volume_monitor_get_volume_for_uuid ()">
386
386
<a name="g-volume-monitor-get-volume-for-uuid"></a><h3>g_volume_monitor_get_volume_for_uuid ()</h3>
387
387
<pre class="programlisting"><a class="link" href="GVolume.html" title="GVolume">GVolume</a> *           g_volume_monitor_get_volume_for_uuid
388
388
                                                        (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
418
418
</table></div>
419
419
</div>
420
420
</div>
421
 
<div class="refsect1" lang="en">
 
421
<div class="refsect1" title="Signal Details">
422
422
<a name="GVolumeMonitor.signal-details"></a><h2>Signal Details</h2>
423
 
<div class="refsect2" lang="en">
 
423
<div class="refsect2" title='The "drive-changed" signal'>
424
424
<a name="GVolumeMonitor-drive-changed"></a><h3>The <code class="literal">"drive-changed"</code> signal</h3>
425
425
<pre class="programlisting">void                user_function                      (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
426
426
                                                        <a class="link" href="GDrive.html" title="GDrive">GDrive</a>         *drive,
452
452
</table></div>
453
453
</div>
454
454
<hr>
455
 
<div class="refsect2" lang="en">
 
455
<div class="refsect2" title='The "drive-connected" signal'>
456
456
<a name="GVolumeMonitor-drive-connected"></a><h3>The <code class="literal">"drive-connected"</code> signal</h3>
457
457
<pre class="programlisting">void                user_function                      (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
458
458
                                                        <a class="link" href="GDrive.html" title="GDrive">GDrive</a>         *drive,
484
484
</table></div>
485
485
</div>
486
486
<hr>
487
 
<div class="refsect2" lang="en">
 
487
<div class="refsect2" title='The "drive-disconnected" signal'>
488
488
<a name="GVolumeMonitor-drive-disconnected"></a><h3>The <code class="literal">"drive-disconnected"</code> signal</h3>
489
489
<pre class="programlisting">void                user_function                      (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
490
490
                                                        <a class="link" href="GDrive.html" title="GDrive">GDrive</a>         *drive,
516
516
</table></div>
517
517
</div>
518
518
<hr>
519
 
<div class="refsect2" lang="en">
 
519
<div class="refsect2" title='The "drive-eject-button" signal'>
520
520
<a name="GVolumeMonitor-drive-eject-button"></a><h3>The <code class="literal">"drive-eject-button"</code> signal</h3>
521
521
<pre class="programlisting">void                user_function                      (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
522
522
                                                        <a class="link" href="GDrive.html" title="GDrive">GDrive</a>         *drive,
549
549
<p>Since 2.18</p>
550
550
</div>
551
551
<hr>
552
 
<div class="refsect2" lang="en">
 
552
<div class="refsect2" title='The "mount-added" signal'>
553
553
<a name="GVolumeMonitor-mount-added"></a><h3>The <code class="literal">"mount-added"</code> signal</h3>
554
554
<pre class="programlisting">void                user_function                      (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
555
555
                                                        <a class="link" href="GMount.html" title="GMount">GMount</a>         *mount,
581
581
</table></div>
582
582
</div>
583
583
<hr>
584
 
<div class="refsect2" lang="en">
 
584
<div class="refsect2" title='The "mount-changed" signal'>
585
585
<a name="GVolumeMonitor-mount-changed"></a><h3>The <code class="literal">"mount-changed"</code> signal</h3>
586
586
<pre class="programlisting">void                user_function                      (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
587
587
                                                        <a class="link" href="GMount.html" title="GMount">GMount</a>         *mount,
613
613
</table></div>
614
614
</div>
615
615
<hr>
616
 
<div class="refsect2" lang="en">
 
616
<div class="refsect2" title='The "mount-pre-unmount" signal'>
617
617
<a name="GVolumeMonitor-mount-pre-unmount"></a><h3>The <code class="literal">"mount-pre-unmount"</code> signal</h3>
618
618
<pre class="programlisting">void                user_function                      (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
619
619
                                                        <a class="link" href="GMount.html" title="GMount">GMount</a>         *mount,
645
645
</table></div>
646
646
</div>
647
647
<hr>
648
 
<div class="refsect2" lang="en">
 
648
<div class="refsect2" title='The "mount-removed" signal'>
649
649
<a name="GVolumeMonitor-mount-removed"></a><h3>The <code class="literal">"mount-removed"</code> signal</h3>
650
650
<pre class="programlisting">void                user_function                      (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
651
651
                                                        <a class="link" href="GMount.html" title="GMount">GMount</a>         *mount,
677
677
</table></div>
678
678
</div>
679
679
<hr>
680
 
<div class="refsect2" lang="en">
 
680
<div class="refsect2" title='The "volume-added" signal'>
681
681
<a name="GVolumeMonitor-volume-added"></a><h3>The <code class="literal">"volume-added"</code> signal</h3>
682
682
<pre class="programlisting">void                user_function                      (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
683
683
                                                        <a class="link" href="GVolume.html" title="GVolume">GVolume</a>        *volume,
709
709
</table></div>
710
710
</div>
711
711
<hr>
712
 
<div class="refsect2" lang="en">
 
712
<div class="refsect2" title='The "volume-changed" signal'>
713
713
<a name="GVolumeMonitor-volume-changed"></a><h3>The <code class="literal">"volume-changed"</code> signal</h3>
714
714
<pre class="programlisting">void                user_function                      (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
715
715
                                                        <a class="link" href="GVolume.html" title="GVolume">GVolume</a>        *volume,
741
741
</table></div>
742
742
</div>
743
743
<hr>
744
 
<div class="refsect2" lang="en">
 
744
<div class="refsect2" title='The "volume-removed" signal'>
745
745
<a name="GVolumeMonitor-volume-removed"></a><h3>The <code class="literal">"volume-removed"</code> signal</h3>
746
746
<pre class="programlisting">void                user_function                      (<a class="link" href="GVolumeMonitor.html" title="GVolumeMonitor">GVolumeMonitor</a> *volume_monitor,
747
747
                                                        <a class="link" href="GVolume.html" title="GVolume">GVolume</a>        *volume,
773
773
</table></div>
774
774
</div>
775
775
</div>
776
 
<div class="refsect1" lang="en">
 
776
<div class="refsect1" title="See Also">
777
777
<a name="GVolumeMonitor.see-also"></a><h2>See Also</h2>
778
778
#GFileMonitor
779
779
</div>