![]() |
![]() |
![]() |
Libbrasero-media Reference Manual | ![]() |
---|---|---|---|---|
BraseroMediumSelection; GtkWidget* brasero_medium_selection_new (void); BraseroMedium* brasero_medium_selection_get_active (BraseroMediumSelection *selector); gboolean brasero_medium_selection_set_active (BraseroMediumSelection *selector, BraseroMedium *medium); void brasero_medium_selection_show_media_type (BraseroMediumSelection *selector, BraseroMediaType type);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkComboBox +----BraseroMediumSelection
BraseroMediumSelection implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.
BraseroMedium* brasero_medium_selection_get_active (BraseroMediumSelection *selector);
Gets the active medium.
|
a BraseroMediumSelection |
Returns : |
a BraseroMedium or NULL. Unref when it is not needed anymore. |
gboolean brasero_medium_selection_set_active (BraseroMediumSelection *selector, BraseroMedium *medium);
Sets the active medium. Emits the ::medium-changed signal.
|
a BraseroMediumSelection |
|
a BraseroMedium to set as the active one in the selector |
Returns : |
a gboolean. TRUE if it succeeded, FALSE otherwise. |
void brasero_medium_selection_show_media_type (BraseroMediumSelection *selector, BraseroMediaType type);
Filters and displays media corresponding to type
.
|
a BraseroMediumSelection |
|
a BraseroMediaType |
"media-type"
property"media-type" guint : Read / Write
The type of media displayed.
Allowed values: <= 255
Default value: 0
"medium-changed"
signalvoid user_function (BraseroMediumSelection *monitor, BraseroMedium *medium, 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 new selected medium |
|
user data set when the signal handler was connected. |