1
<refentry id="libbrasero-media-BraseroDriveSelection">
3
<refentrytitle role="top_of_page" id="libbrasero-media-BraseroDriveSelection.top_of_page">BraseroDriveSelection</refentrytitle>
4
<manvolnum>3</manvolnum>
5
<refmiscinfo>LIBBRASERO-MEDIA Library</refmiscinfo>
9
<refname>BraseroDriveSelection</refname>
10
<refpurpose></refpurpose>
13
<refsynopsisdiv id="libbrasero-media-BraseroDriveSelection.synopsis" role="synopsis">
14
<title role="synopsis.title">Synopsis</title>
17
<link linkend="BraseroDriveSelection">BraseroDriveSelection</link>;
18
<link linkend="GtkWidget">GtkWidget</link>* <link linkend="brasero-drive-selection-new">brasero_drive_selection_new</link> (void);
19
<link linkend="BraseroDrive">BraseroDrive</link> * <link linkend="brasero-drive-selection-get-active">brasero_drive_selection_get_active</link> (<link linkend="BraseroDriveSelection">BraseroDriveSelection</link> *selector);
20
<link linkend="gboolean">gboolean</link> <link linkend="brasero-drive-selection-set-active">brasero_drive_selection_set_active</link> (<link linkend="BraseroDriveSelection">BraseroDriveSelection</link> *selector,
21
<link linkend="BraseroDrive">BraseroDrive</link> *drive);
22
<link linkend="void">void</link> <link linkend="brasero-drive-selection-show-type">brasero_drive_selection_show_type</link> (<link linkend="BraseroDriveSelection">BraseroDriveSelection</link> *selector,
23
<link linkend="BraseroDriveType">BraseroDriveType</link> type);
35
<refsect1 id="libbrasero-media-BraseroDriveSelection.description" role="desc">
36
<title role="desc.title">Description</title>
41
<refsect1 id="libbrasero-media-BraseroDriveSelection.details" role="details">
42
<title role="details.title">Details</title>
43
<refsect2 id="BraseroDriveSelection" role="struct">
44
<title>BraseroDriveSelection</title>
45
<indexterm zone="BraseroDriveSelection"><primary sortas="BraseroDriveSelection">BraseroDriveSelection</primary></indexterm><programlisting>typedef struct {
46
GtkComboBox parent_instance;
47
} BraseroDriveSelection;
51
<refsect2 id="brasero-drive-selection-new" role="function">
52
<title>brasero_drive_selection_new ()</title>
53
<indexterm zone="brasero-drive-selection-new"><primary sortas="brasero_drive_selection_new">brasero_drive_selection_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* brasero_drive_selection_new (void);</programlisting>
55
Creates a new <link linkend="BraseroDriveSelection"><type>BraseroDriveSelection</type></link> object</para>
57
</para><variablelist role="params">
58
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> a <link linkend="GtkWidget"><type>GtkWidget</type></link>. Unref when it is not needed anymore.
59
</simpara></listitem></varlistentry>
60
</variablelist></refsect2>
61
<refsect2 id="brasero-drive-selection-get-active" role="function">
62
<title>brasero_drive_selection_get_active ()</title>
63
<indexterm zone="brasero-drive-selection-get-active"><primary sortas="brasero_drive_selection_get_active">brasero_drive_selection_get_active</primary></indexterm><programlisting><link linkend="BraseroDrive">BraseroDrive</link> * brasero_drive_selection_get_active (<link linkend="BraseroDriveSelection">BraseroDriveSelection</link> *selector);</programlisting>
65
Gets the active drive.</para>
67
</para><variablelist role="params">
68
<varlistentry><term><parameter>selector</parameter> :</term>
69
<listitem><simpara> a <link linkend="BraseroDriveSelection"><type>BraseroDriveSelection</type></link>
70
</simpara></listitem></varlistentry>
71
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> a <link linkend="BraseroDrive"><type>BraseroDrive</type></link> or NULL. Unref when it is not needed anymore.
72
</simpara></listitem></varlistentry>
73
</variablelist></refsect2>
74
<refsect2 id="brasero-drive-selection-set-active" role="function">
75
<title>brasero_drive_selection_set_active ()</title>
76
<indexterm zone="brasero-drive-selection-set-active"><primary sortas="brasero_drive_selection_set_active">brasero_drive_selection_set_active</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> brasero_drive_selection_set_active (<link linkend="BraseroDriveSelection">BraseroDriveSelection</link> *selector,
77
<link linkend="BraseroDrive">BraseroDrive</link> *drive);</programlisting>
79
Sets the active drive. Emits the ::drive-changed signal.</para>
81
</para><variablelist role="params">
82
<varlistentry><term><parameter>selector</parameter> :</term>
83
<listitem><simpara> a <link linkend="BraseroDriveSelection"><type>BraseroDriveSelection</type></link>
84
</simpara></listitem></varlistentry>
85
<varlistentry><term><parameter>drive</parameter> :</term>
86
<listitem><simpara> a <link linkend="BraseroDrive"><type>BraseroDrive</type></link> to set as the active one in the selector
87
</simpara></listitem></varlistentry>
88
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> a <link linkend="gboolean"><type>gboolean</type></link>. TRUE if it succeeded, FALSE otherwise.
89
</simpara></listitem></varlistentry>
90
</variablelist></refsect2>
91
<refsect2 id="brasero-drive-selection-show-type" role="function">
92
<title>brasero_drive_selection_show_type ()</title>
93
<indexterm zone="brasero-drive-selection-show-type"><primary sortas="brasero_drive_selection_show_type">brasero_drive_selection_show_type</primary></indexterm><programlisting><link linkend="void">void</link> brasero_drive_selection_show_type (<link linkend="BraseroDriveSelection">BraseroDriveSelection</link> *selector,
94
<link linkend="BraseroDriveType">BraseroDriveType</link> type);</programlisting>
96
Filters and displays drive corresponding to <parameter>type</parameter>.</para>
98
</para><variablelist role="params">
99
<varlistentry><term><parameter>selector</parameter> :</term>
100
<listitem><simpara> a <link linkend="BraseroDriveSelection"><type>BraseroDriveSelection</type></link>
101
</simpara></listitem></varlistentry>
102
<varlistentry><term><parameter>type</parameter> :</term>
103
<listitem><simpara> a <link linkend="BraseroDriveType"><type>BraseroDriveType</type></link>
104
</simpara></listitem></varlistentry>
105
</variablelist></refsect2>