Top | ![]() |
![]() |
![]() |
![]() |
EUICustomizeDialog * | e_ui_customize_dialog_new () |
void | e_ui_customize_dialog_add_customizer () |
GPtrArray * | e_ui_customize_dialog_get_customizers () |
void | e_ui_customize_dialog_run () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── GtkDialog ╰── EUICustomizeDialog
The EUICustomizeDialog is used to customize the UI.
Use e_ui_customize_dialog_add_customizer()
to add all the relevant
customizers before showing the dialog with e_ui_customize_dialog_run()
.
EUICustomizeDialog *
e_ui_customize_dialog_new (GtkWindow *parent
);
Creates a new EUICustomizeDialog. Use gtk_widget_destroy()
,
when no longer needed.
Since: 3.56
void e_ui_customize_dialog_add_customizer (EUICustomizeDialog *self
,EUICustomizer *customizer
);
Adds the customizer
as one source of the customizable UI elements.
All the registered elements in the customizer
will be offered
for changes in the dialog.
Since: 3.56
GPtrArray *
e_ui_customize_dialog_get_customizers (EUICustomizeDialog *self
);
Returns an array of all the EUICustomizer -s added to the self
with e_ui_customize_dialog_add_customizer()
. Do not modify the array,
it's owned by the self
.
Since: 3.56
void e_ui_customize_dialog_run (EUICustomizeDialog *self
,const gchar *preselect_id
);
Runs a dialog, which allows UI customizations.
When the preselect_id
is not NULL
, it should be one of the registered
ID-s by the e_ui_customizer_register()
. It will be preselected
for the customization.
Since: 3.56