![]() |
![]() |
![]() |
Libbrasero-media Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
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);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkComboBox +----BraseroDriveSelection
BraseroDriveSelection implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.
GtkWidget* brasero_drive_selection_new (void);
Creates a new BraseroDriveSelection object
Returns : |
a GtkWidget. Unref when it is not needed anymore. |
BraseroDrive * brasero_drive_selection_get_active (BraseroDriveSelection *selector);
Gets the active drive.
|
a BraseroDriveSelection |
Returns : |
a BraseroDrive or NULL. Unref when it is not needed anymore. |
gboolean brasero_drive_selection_set_active (BraseroDriveSelection *selector, BraseroDrive *drive);
Sets the active drive. Emits the ::drive-changed signal.
|
a BraseroDriveSelection |
|
a BraseroDrive to set as the active one in the selector |
Returns : |
a gboolean. TRUE if it succeeded, FALSE otherwise. |
void brasero_drive_selection_show_type (BraseroDriveSelection *selector, BraseroDriveType type);
Filters and displays drive corresponding to type
.
|
a BraseroDriveSelection |
|
a BraseroDriveType |
"drive-type"
property"drive-type" guint : Read / Write
The type of drives displayed.
Allowed values: <= 255
Default value: 254
"drive-changed"
signalvoid user_function (BraseroDriveSelection *selector, BraseroDrive *drive, gpointer user_data) : Run First / No Recursion / Action
This signal gets emitted when the selected medium has changed
|
the object which received the signal |
|
the drive which is now selected |
|
user data set when the signal handler was connected. |