Top |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── GtkDialog ╰── TeplPrefsDialog
TeplPrefsDialog is a subclass of GtkDialog for configuring the preferences of an application.
TeplPrefsDialog *
tepl_prefs_dialog_get_singleton (void
);
The singleton instance is created with
tepl_abstract_factory_create_prefs_dialog()
.
Since: 6.2
void tepl_prefs_dialog_show_for_parent (TeplPrefsDialog *dialog
,GtkWindow *parent_window
);
This function sets the “transient-for” property and presents
dialog
.
Since: 6.2
void
tepl_prefs_dialog_add_reset_all_button
(TeplPrefsDialog *dialog
);
Adds a “Reset All” button. When the button is clicked and the user confirms, the “reset-all” signal is emitted.
Since: 6.13
“reset-all”
signalvoid user_function (TeplPrefsDialog *prefs_dialog, gpointer user_data)
The ::reset-all signal is emitted when the user has requested to reset all preferences.
Applications should connect to this signal to perform the operation.
tepl_settings_reset_all()
may be useful for that.
See tepl_prefs_dialog_add_reset_all_button()
.
prefs_dialog |
the TeplPrefsDialog emitting the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First
Since: 6.13