~timo-jyrinki/ubuntu/utopic/rhythmbox/enable_grilo_rhythmbox

« back to all changes in this revision

Viewing changes to doc/reference/html/RBRemovableMediaManager.html

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-03-12 12:07:21 UTC
  • mfrom: (1.2.28)
  • Revision ID: package-import@ubuntu.com-20120312120721-ubdep6yl0sgfbr7i
Tags: 2.96-1
* New upstream release.
* Update Build-Depends:
  - Bump libgtk-3-dev to (>= 3.2.0).
  - Drop gir1.2-gtk-3.0, pulled via libgtk-3-dev.
  - Bump libglib2.0-dev (>= 2.28.0).
* Re-add magnatune plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
<div class="refsect1">
54
54
<a name="RBRemovableMediaManager.object-hierarchy"></a><h2>Object Hierarchy</h2>
55
55
<pre class="synopsis">
56
 
  GObject
 
56
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
57
57
   +----RBRemovableMediaManager
58
58
</pre>
59
59
</div>
60
60
<div class="refsect1">
61
61
<a name="RBRemovableMediaManager.properties"></a><h2>Properties</h2>
62
62
<pre class="synopsis">
63
 
  "<a class="link" href="RBRemovableMediaManager.html#RBRemovableMediaManager--scanned" title='The "scanned" property'>scanned</a>"                  <span class="type">gboolean</span>              : Read
 
63
  "<a class="link" href="RBRemovableMediaManager.html#RBRemovableMediaManager--scanned" title='The "scanned" property'>scanned</a>"                  <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read
64
64
  "<a class="link" href="RBRemovableMediaManager.html#RBRemovableMediaManager--shell" title='The "shell" property'>shell</a>"                    <a class="link" href="RBShell.html" title="RBShell"><span class="type">RBShell</span></a>*              : Read / Write
65
65
  "<a class="link" href="RBRemovableMediaManager.html#RBRemovableMediaManager--source" title='The "source" property'>source</a>"                   <a class="link" href="RBSource.html" title="RBSource"><span class="type">RBSource</span></a>*             : Read / Write
66
66
</pre>
68
68
<div class="refsect1">
69
69
<a name="RBRemovableMediaManager.signals"></a><h2>Signals</h2>
70
70
<pre class="synopsis">
71
 
  "<a class="link" href="RBRemovableMediaManager.html#RBRemovableMediaManager-create-source-device" title='The "create-source-device" signal'>create-source-device</a>"                           : <code class="literal">Run Last</code>
72
 
  "<a class="link" href="RBRemovableMediaManager.html#RBRemovableMediaManager-create-source-mount" title='The "create-source-mount" signal'>create-source-mount</a>"                            : <code class="literal">Run Last</code>
73
 
  "<a class="link" href="RBRemovableMediaManager.html#RBRemovableMediaManager-create-source-volume" title='The "create-source-volume" signal'>create-source-volume</a>"                           : <code class="literal">Run Last</code>
74
 
  "<a class="link" href="RBRemovableMediaManager.html#RBRemovableMediaManager-medium-added" title='The "medium-added" signal'>medium-added</a>"                                   : <code class="literal">Run Last</code>
 
71
  "<a class="link" href="RBRemovableMediaManager.html#RBRemovableMediaManager-create-source-device" title='The "create-source-device" signal'>create-source-device</a>"                           : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
 
72
  "<a class="link" href="RBRemovableMediaManager.html#RBRemovableMediaManager-create-source-mount" title='The "create-source-mount" signal'>create-source-mount</a>"                            : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
 
73
  "<a class="link" href="RBRemovableMediaManager.html#RBRemovableMediaManager-create-source-volume" title='The "create-source-volume" signal'>create-source-volume</a>"                           : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
 
74
  "<a class="link" href="RBRemovableMediaManager.html#RBRemovableMediaManager-medium-added" title='The "medium-added" signal'>medium-added</a>"                                   : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
75
75
</pre>
76
76
</div>
77
77
<div class="refsect1">
141
141
<p>
142
142
Initiates a new scan of all attached media.  Newly activated plugins that use
143
143
the create-source-volume or create-source-mount signals should call this if
144
 
the 'scanned' property is <code class="literal">TRUE</code>.  Otherwise, the first scan will catch any
 
144
the 'scanned' property is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.  Otherwise, the first scan will catch any
145
145
existing volumes or mounts that the plugin is interested in.
146
146
</p>
147
147
<div class="variablelist"><table border="0">
158
158
<a name="RBRemovableMediaManager.property-details"></a><h2>Property Details</h2>
159
159
<div class="refsect2">
160
160
<a name="RBRemovableMediaManager--scanned"></a><h3>The <code class="literal">"scanned"</code> property</h3>
161
 
<pre class="programlisting">  "scanned"                  <span class="type">gboolean</span>              : Read</pre>
 
161
<pre class="programlisting">  "scanned"                  <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read</pre>
162
162
<p>
163
163
This is set to TRUE when the removable media manager has scanned
164
164
all existing volumes and mounts.  When a plugin that handles removable
189
189
<div class="refsect2">
190
190
<a name="RBRemovableMediaManager-create-source-device"></a><h3>The <code class="literal">"create-source-device"</code> signal</h3>
191
191
<pre class="programlisting"><a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a>*           user_function                      (<a class="link" href="RBRemovableMediaManager.html" title="RBRemovableMediaManager"><span class="type">RBRemovableMediaManager</span></a> *mgr,
192
 
                                                        <span class="type">GObject</span>                 *device,
193
 
                                                        <span class="type">gpointer</span>                 user_data)      : <code class="literal">Run Last</code></pre>
 
192
                                                        <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>                 *device,
 
193
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>                 user_data)      : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
194
194
<p>
195
195
Emitted when a new device is detected to allow plugins to create a
196
196
corresponding <a class="link" href="RBSource.html" title="RBSource"><span class="type">RBSource</span></a>.  The first signal handler that returns a
197
197
source wins.  Plugins should only use this signal if there will be
198
 
no <span class="type">GVolume</span> or <span class="type">GMount</span> created for the device.
 
198
no <a href="/usr/share/gtk-doc/html/gio/GVolume.html"><span class="type">GVolume</span></a> or <a href="/usr/share/gtk-doc/html/gio/GMount.html"><span class="type">GMount</span></a> created for the device.
199
199
</p>
200
200
<div class="variablelist"><table border="0">
201
201
<col align="left" valign="top">
207
207
</tr>
208
208
<tr>
209
209
<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
210
 
<td>the device (actually a <span class="type">GUdevDevice</span>)</td>
 
210
<td>the device (actually a <a href="/usr/share/gtk-doc/html/gudev/GUdevDevice.html"><span class="type">GUdevDevice</span></a>)</td>
211
211
</tr>
212
212
<tr>
213
213
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
225
225
<div class="refsect2">
226
226
<a name="RBRemovableMediaManager-create-source-mount"></a><h3>The <code class="literal">"create-source-mount"</code> signal</h3>
227
227
<pre class="programlisting"><a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a>*           user_function                      (<a class="link" href="RBRemovableMediaManager.html" title="RBRemovableMediaManager"><span class="type">RBRemovableMediaManager</span></a> *mgr,
228
 
                                                        <span class="type">GMount</span>                  *device_info,
 
228
                                                        <a href="/usr/share/gtk-doc/html/gio/GMount.html"><span class="type">GMount</span></a>                  *device_info,
229
229
                                                        <a class="link" href="rhythmbox-Media-player-ID.html#MPIDDevice" title="MPIDDevice"><span class="type">MPIDDevice</span></a>              *mount,
230
 
                                                        <span class="type">gpointer</span>                 user_data)        : <code class="literal">Run Last</code></pre>
 
230
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>                 user_data)        : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
231
231
<p>
232
232
Emitted when a new mount is added to allow plugins to create a
233
233
corresponding <a class="link" href="RBSource.html" title="RBSource"><span class="type">RBSource</span></a>.  The first signal handler that returns
234
 
a source wins.  If a source was created for the <span class="type">GVolume</span>
 
234
a source wins.  If a source was created for the <a href="/usr/share/gtk-doc/html/gio/GVolume.html"><span class="type">GVolume</span></a>
235
235
for a mount, then this signal will not be emitted.
236
236
</p>
237
237
<div class="variablelist"><table border="0">
248
248
</tr>
249
249
<tr>
250
250
<td><p><span class="term"><em class="parameter"><code>mount</code></em> :</span></p></td>
251
 
<td>the <span class="type">GMount</span>
 
251
<td>the <a href="/usr/share/gtk-doc/html/gio/GMount.html"><span class="type">GMount</span></a>
252
252
</td>
253
253
</tr>
254
254
<tr>
267
267
<div class="refsect2">
268
268
<a name="RBRemovableMediaManager-create-source-volume"></a><h3>The <code class="literal">"create-source-volume"</code> signal</h3>
269
269
<pre class="programlisting"><a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a>*           user_function                      (<a class="link" href="RBRemovableMediaManager.html" title="RBRemovableMediaManager"><span class="type">RBRemovableMediaManager</span></a> *mgr,
270
 
                                                        <span class="type">GVolume</span>                 *volume,
271
 
                                                        <span class="type">gpointer</span>                 user_data)      : <code class="literal">Run Last</code></pre>
 
270
                                                        <a href="/usr/share/gtk-doc/html/gio/GVolume.html"><span class="type">GVolume</span></a>                 *volume,
 
271
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>                 user_data)      : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
272
272
<p>
273
273
Emitted when a new volume is added to allow plugins to create a
274
274
corresponding <a class="link" href="RBSource.html" title="RBSource"><span class="type">RBSource</span></a>.  The first signal handler that returns
286
286
</tr>
287
287
<tr>
288
288
<td><p><span class="term"><em class="parameter"><code>volume</code></em> :</span></p></td>
289
 
<td>the <span class="type">GVolume</span>
 
289
<td>the <a href="/usr/share/gtk-doc/html/gio/GVolume.html"><span class="type">GVolume</span></a>
290
290
</td>
291
291
</tr>
292
292
<tr>
305
305
<div class="refsect2">
306
306
<a name="RBRemovableMediaManager-medium-added"></a><h3>The <code class="literal">"medium-added"</code> signal</h3>
307
307
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="RBRemovableMediaManager.html" title="RBRemovableMediaManager"><span class="type">RBRemovableMediaManager</span></a> *mgr,
308
 
                                                        <span class="type">GObject</span>                 *source,
309
 
                                                        <span class="type">gpointer</span>                 user_data)      : <code class="literal">Run Last</code></pre>
 
308
                                                        <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>                 *source,
 
309
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>                 user_data)      : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
310
310
<p>
311
311
Emitted when a new source is added for a removable medium.
312
312
</p>