4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>BraseroDriveSelection</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
7
7
<link rel="home" href="index.html" title="Libbrasero-media Reference Manual">
8
8
<link rel="up" href="ch01.html" title="API Reference for Libbrasero-media">
9
9
<link rel="prev" href="libbrasero-media-BraseroMediumSelection.html" title="BraseroMediumSelection">
42
42
<a name="libbrasero-media-BraseroDriveSelection.synopsis"></a><h2>Synopsis</h2>
43
43
<pre class="synopsis">
45
href="../brasero/BraseroDriveSelection.html"
45
href="../libbrasero-media/BraseroDriveSelection.html"
46
46
>BraseroDriveSelection</a>;
48
48
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
50
href="../brasero/BraseroDriveSelection.html#brasero-drive-selection-new"
50
href="../libbrasero-media/BraseroDriveSelection.html#brasero-drive-selection-new"
51
51
>brasero_drive_selection_new</a> (void);
53
href="../brasero/BraseroMedium.html#BraseroDrive"
53
href="../libbrasero-media/BraseroDrive.html"
54
54
>BraseroDrive</a> * <a
55
href="../brasero/BraseroDriveSelection.html#brasero-drive-selection-get-active"
55
href="../libbrasero-media/BraseroDriveSelection.html#brasero-drive-selection-get-active"
56
56
>brasero_drive_selection_get_active</a> (<a
57
href="../brasero/BraseroDriveSelection.html"
57
href="../libbrasero-media/BraseroDriveSelection.html"
58
58
>BraseroDriveSelection</a> *selector);
60
60
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
62
href="../brasero/BraseroDriveSelection.html#brasero-drive-selection-set-active"
62
href="../libbrasero-media/BraseroDriveSelection.html#brasero-drive-selection-set-active"
63
63
>brasero_drive_selection_set_active</a> (<a
64
href="../brasero/BraseroDriveSelection.html"
64
href="../libbrasero-media/BraseroDriveSelection.html"
65
65
>BraseroDriveSelection</a> *selector,
67
href="../brasero/BraseroMedium.html#BraseroDrive"
67
href="../libbrasero-media/BraseroDrive.html"
68
68
>BraseroDrive</a> *drive);
70
href="../brasero/BraseroDriveSelection.html#brasero-drive-selection-show-type"
70
href="../libbrasero-media/BraseroDriveSelection.html#brasero-drive-selection-show-type"
71
71
>brasero_drive_selection_show_type</a> (<a
72
href="../brasero/BraseroDriveSelection.html"
72
href="../libbrasero-media/BraseroDriveSelection.html"
73
73
>BraseroDriveSelection</a> *selector,
75
href="../brasero/BraseroMediumMonitor.html#BraseroDriveType"
75
href="../libbrasero-media/BraseroMediumMonitor.html#BraseroDriveType"
76
76
>BraseroDriveType</a> type);
119
119
<div class="refsect2" lang="en">
120
120
<a name="brasero-drive-selection-get-active"></a><h3>brasero_drive_selection_get_active ()</h3>
121
121
<pre class="programlisting"><a
122
href="../brasero/BraseroMedium.html#BraseroDrive"
122
href="../libbrasero-media/BraseroDrive.html"
123
123
>BraseroDrive</a> * brasero_drive_selection_get_active (<a
124
href="../brasero/BraseroDriveSelection.html"
124
href="../libbrasero-media/BraseroDriveSelection.html"
125
125
>BraseroDriveSelection</a> *selector);</pre>
127
127
Gets the active drive.</p>
134
134
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
136
href="../brasero/BraseroDriveSelection.html"
136
href="../libbrasero-media/BraseroDriveSelection.html"
137
137
><span class="type">BraseroDriveSelection</span></a>
141
141
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
143
href="../brasero/BraseroMedium.html#BraseroDrive"
143
href="../libbrasero-media/BraseroDrive.html"
144
144
><span class="type">BraseroDrive</span></a> or NULL. Unref when it is not needed anymore.
153
153
<pre class="programlisting"><a
154
154
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
155
155
>gboolean</a> brasero_drive_selection_set_active (<a
156
href="../brasero/BraseroDriveSelection.html"
156
href="../libbrasero-media/BraseroDriveSelection.html"
157
157
>BraseroDriveSelection</a> *selector,
159
href="../brasero/BraseroMedium.html#BraseroDrive"
159
href="../libbrasero-media/BraseroDrive.html"
160
160
>BraseroDrive</a> *drive);</pre>
162
162
Sets the active drive. Emits the ::drive-changed signal.</p>
169
169
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
171
href="../brasero/BraseroDriveSelection.html"
171
href="../libbrasero-media/BraseroDriveSelection.html"
172
172
><span class="type">BraseroDriveSelection</span></a>
176
176
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
178
href="../brasero/BraseroMedium.html#BraseroDrive"
178
href="../libbrasero-media/BraseroDrive.html"
179
179
><span class="type">BraseroDrive</span></a> to set as the active one in the selector
193
193
<div class="refsect2" lang="en">
194
194
<a name="brasero-drive-selection-show-type"></a><h3>brasero_drive_selection_show_type ()</h3>
195
195
<pre class="programlisting">void brasero_drive_selection_show_type (<a
196
href="../brasero/BraseroDriveSelection.html"
196
href="../libbrasero-media/BraseroDriveSelection.html"
197
197
>BraseroDriveSelection</a> *selector,
199
href="../brasero/BraseroMediumMonitor.html#BraseroDriveType"
199
href="../libbrasero-media/BraseroMediumMonitor.html#BraseroDriveType"
200
200
>BraseroDriveType</a> type);</pre>
202
202
Filters and displays drive corresponding to <em class="parameter"><code>type</code></em>.</p>
209
209
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
211
href="../brasero/BraseroDriveSelection.html"
211
href="../libbrasero-media/BraseroDriveSelection.html"
212
212
><span class="type">BraseroDriveSelection</span></a>
216
216
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
218
href="../brasero/BraseroMediumMonitor.html#BraseroDriveType"
218
href="../libbrasero-media/BraseroMediumMonitor.html#BraseroDriveType"
219
219
><span class="type">BraseroDriveType</span></a>