## NautilusBurnDriveSelection

NautilusBurnDriveSelection

## Synopsis

    typedef             NautilusBurnDriveSelectionPrivate;
                        NautilusBurnDriveSelection;
    GtkWidget*          nautilus_burn_drive_selection_new   (void);
    void                nautilus_burn_drive_selection_set_active
                                                            (NautilusBurnDriveSelection *selection,
                                                             NautilusBurnDrive *drive);
    NautilusBurnDrive*  nautilus_burn_drive_selection_get_active
                                                            (NautilusBurnDriveSelection *selection);
    const NautilusBurnDrive* nautilus_burn_drive_selection_get_drive
                                                            (NautilusBurnDriveSelection *selection);
    void                nautilus_burn_drive_selection_set_device
                                                            (NautilusBurnDriveSelection *selection,
                                                             const char *device);
    const char*         nautilus_burn_drive_selection_get_device
                                                            (NautilusBurnDriveSelection *selection);
    const char*         nautilus_burn_drive_selection_get_default_device
                                                            (NautilusBurnDriveSelection *selection);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GtkComboBox
                                           +----NautilusBurnDriveSelection

## Implemented Interfaces

NautilusBurnDriveSelection implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.

## Properties

      "device"                   gchar*                : Read / Write
      "drive"                    NautilusBurnDrive*    : Read / Write
      "file-image"               gboolean              : Read / Write
      "show-recorders-only"      gboolean              : Read / Write

## Signals

      "device-changed"                                 : Run Last
      "drive-changed"                                  : Run Last

## Description

## Details

### NautilusBurnDriveSelectionPrivate

    typedef struct NautilusBurnDriveSelectionPrivate NautilusBurnDriveSelectionPrivate;

### NautilusBurnDriveSelection

    typedef struct _NautilusBurnDriveSelection NautilusBurnDriveSelection;

### nautilus_burn_drive_selection_new ()

    GtkWidget*          nautilus_burn_drive_selection_new   (void);

Create a new drive selector.

Returns : | Newly allocated NautilusBurnDriveSelection widget

### nautilus_burn_drive_selection_set_active ()

    void                nautilus_burn_drive_selection_set_active
                                                            (NautilusBurnDriveSelection *selection,
                                                             NautilusBurnDrive *drive);

Set the current selected drive to that which corresponds to the specified drive.

`selection` : | NautilusBurnDriveSelection
`drive` : | NautilusBurnDrive

Since 2.14

### nautilus_burn_drive_selection_get_active ()

    NautilusBurnDrive*  nautilus_burn_drive_selection_get_active
                                                            (NautilusBurnDriveSelection *selection);

Get the currently selected drive

`selection` : | NautilusBurnDriveSelection
Returns : | currently selected NautilusBurnDrive. The drive must be unreffed using nautilus_burn_drive_unref after use.

Since 2.14

### nautilus_burn_drive_selection_get_drive ()

    const NautilusBurnDrive* nautilus_burn_drive_selection_get_drive
                                                            (NautilusBurnDriveSelection *selection);

### Warning

`nautilus_burn_drive_selection_get_drive` is deprecated and should not be used in newly-written code. Use `nautilus_burn_drive_selection_get_active()` instead

Get the currently selected drive

`selection` : | NautilusBurnDriveSelection
Returns : | currently selected NautilusBurnDrive

### nautilus_burn_drive_selection_set_device ()

    void                nautilus_burn_drive_selection_set_device
                                                            (NautilusBurnDriveSelection *selection,
                                                             const char *device);

### Warning

`nautilus_burn_drive_selection_set_device` is deprecated and should not be used in newly-written code. Use `nautilus_burn_drive_selection_set_active()` instead

Set the current selected drive to that which corresponds to the specified block device name.

`selection` : | NautilusBurnDriveSelection
`device` : | block device name

### nautilus_burn_drive_selection_get_device ()

    const char*         nautilus_burn_drive_selection_get_device
                                                            (NautilusBurnDriveSelection *selection);

### Warning

`nautilus_burn_drive_selection_get_device` is deprecated and should not be used in newly-written code. Use `nautilus_burn_drive_selection_get_active()` instead

Get the block device name that corresponds to the currently selected drive

`selection` : | NautilusBurnDriveSelection
Returns : | String block device name that corresponds to the currently selected drive

### nautilus_burn_drive_selection_get_default_device ()

    const char*         nautilus_burn_drive_selection_get_default_device
                                                            (NautilusBurnDriveSelection *selection);

### Warning

`nautilus_burn_drive_selection_get_default_device` is deprecated and should not be used in newly-written code.

Get the block device name that corresponds to the default drive.

`selection` : | NautilusBurnDriveSelection
Returns : |

## Property Details

### The `"device"` property

      "device"                   gchar*                : Read / Write

Default value: NULL

### The `"drive"` property

      "drive"                    NautilusBurnDrive*    : Read / Write

### The `"file-image"` property

      "file-image"               gboolean              : Read / Write

Default value: FALSE

### The `"show-recorders-only"` property

      "show-recorders-only"      gboolean              : Read / Write

Default value: FALSE

## Signal Details

### The `"device-changed"` signal

    void                user_function                      (NautilusBurnDriveSelection *nautilusburndriveselection,
                                                            gchar                      *arg1,
                                                            gpointer                    user_data)                       : Run Last

`nautilusburndriveselection` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The `"drive-changed"` signal

    void                user_function                      (NautilusBurnDriveSelection *nautilusburndriveselection,
                                                            NautilusBurnDrive          *arg1,
                                                            gpointer                    user_data)                       : Run Last

`nautilusburndriveselection` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.