1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>BraseroDriveSelection</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
7
<link rel="home" href="index.html" title="Brasero Libraries Reference Manual">
8
<link rel="up" href="ch01.html" title="API Reference for Libbrasero-media">
9
<link rel="prev" href="BraseroMediumSelection.html" title="BraseroMediumSelection">
10
<link rel="next" href="ch02.html" title="API Reference for Libbrasero-burn">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="chapter" href="ch01.html" title="API Reference for Libbrasero-media">
14
<link rel="chapter" href="ch02.html" title="API Reference for Libbrasero-burn">
15
<link rel="chapter" href="object-tree.html" title="Object Hierarchy">
16
<link rel="index" href="api-index-full.html" title="API Index">
18
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
19
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
21
<td><a accesskey="p" href="BraseroMediumSelection.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
22
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
23
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
24
<th width="100%" align="center">Brasero Libraries Reference Manual</th>
25
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
27
<tr><td colspan="5" class="shortcuts">
28
<a href="#BraseroDriveSelection.synopsis" class="shortcut">Top</a>
30
<a href="#BraseroDriveSelection.description" class="shortcut">Description</a>
32
<a href="#BraseroDriveSelection.object-hierarchy" class="shortcut">Object Hierarchy</a>
34
<a href="#BraseroDriveSelection.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
36
<a href="#BraseroDriveSelection.properties" class="shortcut">Properties</a>
38
<a href="#BraseroDriveSelection.signals" class="shortcut">Signals</a>
41
<div class="refentry" lang="en">
42
<a name="BraseroDriveSelection"></a><div class="titlepage"></div>
43
<div class="refnamediv"><table width="100%"><tr>
45
<h2><span class="refentrytitle"><a name="BraseroDriveSelection.top_of_page"></a>BraseroDriveSelection</span></h2>
46
<p>BraseroDriveSelection</p>
48
<td valign="top" align="right"></td>
50
<div class="refsynopsisdiv">
51
<a name="BraseroDriveSelection.synopsis"></a><h2>Synopsis</h2>
52
<pre class="synopsis">
53
<a class="link" href="BraseroDriveSelection.html#BraseroDriveSelection-struct" title="BraseroDriveSelection">BraseroDriveSelection</a>;
55
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
56
>GtkWidget</a>* <a class="link" href="BraseroDriveSelection.html#brasero-drive-selection-new" title="brasero_drive_selection_new ()">brasero_drive_selection_new</a> (void);
57
<a class="link" href="BraseroDrive.html" title="BraseroDrive">BraseroDrive</a> * <a class="link" href="BraseroDriveSelection.html#brasero-drive-selection-get-active" title="brasero_drive_selection_get_active ()">brasero_drive_selection_get_active</a> (<a class="link" href="BraseroDriveSelection.html" title="BraseroDriveSelection">BraseroDriveSelection</a> *selector);
59
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
60
>gboolean</a> <a class="link" href="BraseroDriveSelection.html#brasero-drive-selection-set-active" title="brasero_drive_selection_set_active ()">brasero_drive_selection_set_active</a> (<a class="link" href="BraseroDriveSelection.html" title="BraseroDriveSelection">BraseroDriveSelection</a> *selector,
61
<a class="link" href="BraseroDrive.html" title="BraseroDrive">BraseroDrive</a> *drive);
62
void <a class="link" href="BraseroDriveSelection.html#brasero-drive-selection-show-type" title="brasero_drive_selection_show_type ()">brasero_drive_selection_show_type</a> (<a class="link" href="BraseroDriveSelection.html" title="BraseroDriveSelection">BraseroDriveSelection</a> *selector,
63
<a class="link" href="BraseroMediumMonitor.html#BraseroDriveType" title="enum BraseroDriveType">BraseroDriveType</a> type);
66
<div class="refsect1" lang="en">
67
<a name="BraseroDriveSelection.object-hierarchy"></a><h2>Object Hierarchy</h2>
68
<pre class="synopsis">
70
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
73
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
74
>GInitiallyUnowned</a>
76
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
79
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
82
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
85
href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html"
88
href="http://library.gnome.org/devel/gtk/unstable/GtkComboBox.html"
90
+----BraseroDriveSelection
93
<div class="refsect1" lang="en">
94
<a name="BraseroDriveSelection.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
96
BraseroDriveSelection implements
97
AtkImplementorIface, <a
98
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
100
href="http://library.gnome.org/devel/gtk/unstable/GtkCellLayout.html"
101
>GtkCellLayout</a> and <a
102
href="http://library.gnome.org/devel/gtk/unstable/GtkCellEditable.html"
103
>GtkCellEditable</a>.</p>
105
<div class="refsect1" lang="en">
106
<a name="BraseroDriveSelection.properties"></a><h2>Properties</h2>
107
<pre class="synopsis">
108
"<a class="link" href="BraseroDriveSelection.html#BraseroDriveSelection--Drive" title='The "Drive" property'>Drive</a>" <a class="link" href="BraseroDrive.html" title="BraseroDrive">BraseroDrive</a>* : Read / Write
109
"<a class="link" href="BraseroDriveSelection.html#BraseroDriveSelection--drive-type" title='The "drive-type" property'>drive-type</a>" <a
110
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
111
>guint</a> : Read / Write
114
<div class="refsect1" lang="en">
115
<a name="BraseroDriveSelection.signals"></a><h2>Signals</h2>
116
<pre class="synopsis">
117
"<a class="link" href="BraseroDriveSelection.html#BraseroDriveSelection-drive-changed" title='The "drive-changed" signal'>drive-changed</a>" : Run First / No Recursion / Action
120
<div class="refsect1" lang="en">
121
<a name="BraseroDriveSelection.description"></a><h2>Description</h2>
125
<div class="refsect1" lang="en">
126
<a name="BraseroDriveSelection.details"></a><h2>Details</h2>
127
<div class="refsect2" lang="en">
128
<a name="BraseroDriveSelection-struct"></a><h3>BraseroDriveSelection</h3>
129
<pre class="programlisting">typedef struct _BraseroDriveSelection BraseroDriveSelection;</pre>
134
<div class="refsect2" lang="en">
135
<a name="brasero-drive-selection-new"></a><h3>brasero_drive_selection_new ()</h3>
136
<pre class="programlisting"><a
137
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
138
>GtkWidget</a>* brasero_drive_selection_new (void);</pre>
140
Creates a new <a class="link" href="BraseroDriveSelection.html" title="BraseroDriveSelection"><span class="type">BraseroDriveSelection</span></a> object</p>
143
<div class="variablelist"><table border="0">
144
<col align="left" valign="top">
146
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
148
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
149
><span class="type">GtkWidget</span></a>. Unref when it is not needed anymore.
155
<div class="refsect2" lang="en">
156
<a name="brasero-drive-selection-get-active"></a><h3>brasero_drive_selection_get_active ()</h3>
157
<pre class="programlisting"><a class="link" href="BraseroDrive.html" title="BraseroDrive">BraseroDrive</a> * brasero_drive_selection_get_active (<a class="link" href="BraseroDriveSelection.html" title="BraseroDriveSelection">BraseroDriveSelection</a> *selector);</pre>
159
Gets the active drive.</p>
162
<div class="variablelist"><table border="0">
163
<col align="left" valign="top">
166
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
167
<td> a <a class="link" href="BraseroDriveSelection.html" title="BraseroDriveSelection"><span class="type">BraseroDriveSelection</span></a>
171
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
172
<td> a <a class="link" href="BraseroDrive.html" title="BraseroDrive"><span class="type">BraseroDrive</span></a> or NULL. Unref when it is not needed anymore.
179
<div class="refsect2" lang="en">
180
<a name="brasero-drive-selection-set-active"></a><h3>brasero_drive_selection_set_active ()</h3>
181
<pre class="programlisting"><a
182
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
183
>gboolean</a> brasero_drive_selection_set_active (<a class="link" href="BraseroDriveSelection.html" title="BraseroDriveSelection">BraseroDriveSelection</a> *selector,
184
<a class="link" href="BraseroDrive.html" title="BraseroDrive">BraseroDrive</a> *drive);</pre>
186
Sets the active drive. Emits the ::drive-changed signal.</p>
189
<div class="variablelist"><table border="0">
190
<col align="left" valign="top">
193
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
194
<td> a <a class="link" href="BraseroDriveSelection.html" title="BraseroDriveSelection"><span class="type">BraseroDriveSelection</span></a>
198
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
199
<td> a <a class="link" href="BraseroDrive.html" title="BraseroDrive"><span class="type">BraseroDrive</span></a> to set as the active one in the selector
203
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
205
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
206
><span class="type">gboolean</span></a>. TRUE if it succeeded, FALSE otherwise.
213
<div class="refsect2" lang="en">
214
<a name="brasero-drive-selection-show-type"></a><h3>brasero_drive_selection_show_type ()</h3>
215
<pre class="programlisting">void brasero_drive_selection_show_type (<a class="link" href="BraseroDriveSelection.html" title="BraseroDriveSelection">BraseroDriveSelection</a> *selector,
216
<a class="link" href="BraseroMediumMonitor.html#BraseroDriveType" title="enum BraseroDriveType">BraseroDriveType</a> type);</pre>
218
Filters and displays drive corresponding to <em class="parameter"><code>type</code></em>.</p>
221
<div class="variablelist"><table border="0">
222
<col align="left" valign="top">
225
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
226
<td> a <a class="link" href="BraseroDriveSelection.html" title="BraseroDriveSelection"><span class="type">BraseroDriveSelection</span></a>
230
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
231
<td> a <a class="link" href="BraseroMediumMonitor.html#BraseroDriveType" title="enum BraseroDriveType"><span class="type">BraseroDriveType</span></a>
238
<div class="refsect1" lang="en">
239
<a name="BraseroDriveSelection.property-details"></a><h2>Property Details</h2>
240
<div class="refsect2" lang="en">
241
<a name="BraseroDriveSelection--Drive"></a><h3>The <code class="literal">"Drive"</code> property</h3>
242
<pre class="programlisting"> "Drive" <a class="link" href="BraseroDrive.html" title="BraseroDrive">BraseroDrive</a>* : Read / Write</pre>
243
<p>The currently selected drive.</p>
246
<div class="refsect2" lang="en">
247
<a name="BraseroDriveSelection--drive-type"></a><h3>The <code class="literal">"drive-type"</code> property</h3>
248
<pre class="programlisting"> "drive-type" <a
249
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
250
>guint</a> : Read / Write</pre>
251
<p>The type of drives displayed.</p>
252
<p>Allowed values: <= 255</p>
253
<p>Default value: 254</p>
256
<div class="refsect1" lang="en">
257
<a name="BraseroDriveSelection.signal-details"></a><h2>Signal Details</h2>
258
<div class="refsect2" lang="en">
259
<a name="BraseroDriveSelection-drive-changed"></a><h3>The <code class="literal">"drive-changed"</code> signal</h3>
260
<pre class="programlisting">void user_function (<a class="link" href="BraseroDriveSelection.html" title="BraseroDriveSelection">BraseroDriveSelection</a> *selector,
261
<a class="link" href="BraseroDrive.html" title="BraseroDrive">BraseroDrive</a> *drive,
263
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
264
>gpointer</a> user_data) : Run First / No Recursion / Action</pre>
266
This signal gets emitted when the selected medium has changed</p>
269
<div class="variablelist"><table border="0">
270
<col align="left" valign="top">
273
<td><p><span class="term"><em class="parameter"><code>selector</code></em> :</span></p></td>
274
<td> the object which received the signal
278
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
279
<td> the drive which is now selected
283
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
284
<td>user data set when the signal handler was connected.</td>
293
Generated by GTK-Doc V1.11</div>