pnmixer
Volume mixer for the system tray
|
Header for ui-prefs-dialog.c. More...
Go to the source code of this file.
Typedefs | |
typedef struct prefs_dialog | PrefsDialog |
typedef void(* | PrefsDialogResponseCallback) (PrefsDialog *dialog, gint response_id) |
Functions | |
PrefsDialog * | prefs_dialog_create (GtkWindow *parent, Audio *audio, Hotkeys *hotkeys, PrefsDialogResponseCallback cb) |
void | prefs_dialog_destroy (PrefsDialog *dialog) |
void | prefs_dialog_present (PrefsDialog *dialog) |
void | prefs_dialog_populate (PrefsDialog *dialog) |
void | prefs_dialog_retrieve (PrefsDialog *dialog) |
typedef struct prefs_dialog PrefsDialog |
Definition at line 23 of file ui-prefs-dialog.h.
typedef void(* PrefsDialogResponseCallback) (PrefsDialog *dialog, gint response_id) |
Definition at line 24 of file ui-prefs-dialog.h.
PrefsDialog* prefs_dialog_create | ( | GtkWindow * | parent, |
Audio * | audio, | ||
Hotkeys * | hotkeys, | ||
PrefsDialogResponseCallback | cb | ||
) |
Creates the preferences dialog.
parent | a GtkWindow to be used as the parent. |
audio | pointer to this audio subsystem. |
hotkeys | pointer to this hotkey subsystem. |
cb | user callback to handle responses from the dialog |
Definition at line 840 of file ui-prefs-dialog.c.
void prefs_dialog_destroy | ( | PrefsDialog * | dialog | ) |
Destroys the preferences dialog, freeing any resources.
dialog | a PrefsDialog instance. |
Definition at line 814 of file ui-prefs-dialog.c.
void prefs_dialog_populate | ( | PrefsDialog * | dialog | ) |
Set the preferences dialog values according to current preferences.
dialog | struct holding the GtkWidgets of the preferences dialog. |
Definition at line 617 of file ui-prefs-dialog.c.
void prefs_dialog_present | ( | PrefsDialog * | dialog | ) |
Presents the preferences dialog.
dialog | a PrefsDialog instance. |
Definition at line 800 of file ui-prefs-dialog.c.
void prefs_dialog_retrieve | ( | PrefsDialog * | dialog | ) |
Retrieve the preferences dialog values and assign then to preferences.
dialog | struct holding the GtkWidgets of the preferences dialog. |
Definition at line 456 of file ui-prefs-dialog.c.