## BraseroDriveSelection BraseroDriveSelection |

## Synopsis

                        BraseroDriveSelection;
    GtkWidget*          brasero_drive_selection_new         (void);
    BraseroDrive *      brasero_drive_selection_get_active  (BraseroDriveSelection *selector);
    gboolean            brasero_drive_selection_set_active  (BraseroDriveSelection *selector,
                                                             BraseroDrive *drive);
    void                brasero_drive_selection_show_type   (BraseroDriveSelection *selector,
                                                             BraseroDriveType type);

## Description

## Details

### BraseroDriveSelection

    typedef struct {
    	GtkComboBox parent_instance;
    } BraseroDriveSelection;

### brasero_drive_selection_new ()

    GtkWidget*          brasero_drive_selection_new         (void);

Creates a new BraseroDriveSelection object

Returns : | a GtkWidget. Unref when it is not needed anymore.

### brasero_drive_selection_get_active ()

    BraseroDrive *      brasero_drive_selection_get_active  (BraseroDriveSelection *selector);

Gets the active drive.

`selector` : | a BraseroDriveSelection
Returns : | a BraseroDrive or NULL. Unref when it is not needed anymore.

### brasero_drive_selection_set_active ()

    gboolean            brasero_drive_selection_set_active  (BraseroDriveSelection *selector,
                                                             BraseroDrive *drive);

Sets the active drive. Emits the ::drive-changed signal.

`selector` : | a BraseroDriveSelection
`drive` : | a BraseroDrive to set as the active one in the selector
Returns : | a gboolean. TRUE if it succeeded, FALSE otherwise.

### brasero_drive_selection_show_type ()

    void                brasero_drive_selection_show_type   (BraseroDriveSelection *selector,
                                                             BraseroDriveType type);

Filters and displays drive corresponding to `type`.

`selector` : | a BraseroDriveSelection
`type` : | a BraseroDriveType