It derives from <AdwDialog>.
A dialog showing application’s preferences.
The <AdwPreferencesDialog> widget
presents an application’s preferences gathered into pages and groups.
The preferences are searchable by the user.
AdwPrefencesDialog defines the navigation.pop action, it
doesn’t take any parameters and pops the current subpage from the
navigation stack, equivalent to calling
PreferencesDialog.pop_subpage.
<AdwPreferencesDialog> has a main CSS
node with the name dialog and the style class
.preferences.
parent-instanceWhether search is enabled.
Its value is a boolean.
Set it with (set! (preferences-dialog:search-enabled self)
value).
The currently visible page.
Its value is a <GtkWidget>, or #f.
Set it with (set! (preferences-dialog:visible-page self) value).
The name of the currently visible page.
See AdwPreferencesDialog:visible-page.
Its value is a string, or #f.
Set it with (set! (preferences-dialog:visible-page-name self)
value).
Adds a preferences page to self.
Passed: a <AdwPreferencesDialog>.
a preferences dialog
Passed: a <AdwPreferencesPage>.
the page to add
Displays toast.
See ToastOverlay.add_toast.
Passed: a <AdwPreferencesDialog>.
a preferences dialog
Passed: a <AdwToast>.
a toast
Gets whether search is enabled for self.
Passed: a <AdwPreferencesDialog>.
a preferences dialog
Returned: a boolean.
whether search is enabled for self.
Gets the currently visible page of self.
Passed: a <AdwPreferencesDialog>.
a preferences dialog
Returned: a <AdwPreferencesPage>, or
#f.
the visible page
Gets the name of currently visible page of self.
Passed: a <AdwPreferencesDialog>.
a preferences dialog
Returned: a string, or #f.
the name of the visible page
Creates a new <AdwPreferencesDialog>.
Returned: a <AdwDialog>.
the newly created <AdwPreferencesDialog>
Pop the visible page from the subpage stack of self.
Passed: a <AdwPreferencesDialog>.
a preferences dialog
Returned: a boolean.
TRUE if a page has been popped
Pushes page onto the subpage stack of self.
The page will be automatically removed when popped.
Passed: a <AdwPreferencesDialog>.
a preferences dialog
Passed: a <AdwNavigationPage>.
the subpage
Removes a page from self.
Passed: a <AdwPreferencesDialog>.
a preferences dialog
Passed: a <AdwPreferencesPage>.
the page to remove
Sets whether search is enabled for self.
Passed: a <AdwPreferencesDialog>.
a preferences dialog
Passed: a boolean.
whether search is enabled
Makes page the visible page of self.
Passed: a <AdwPreferencesDialog>.
a preferences dialog
Passed: a <AdwPreferencesPage>.
a page of self
Makes the page with the given name visible.
See PreferencesDialog:visible-page.
Passed: a <AdwPreferencesDialog>.
a preferences dialog
Passed: a string.
the name of the page to make visible