PreferencesDialog
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.
CSS nodes
AdwPreferencesDialog
has a main CSS node with the name dialog
and the style class .preferences
.
Skipped during bindings generation
method
visible-page
: Property TypeInfo of getter and setter do not matchmethod
visible-page-name
: Property TypeInfo of getter and setter do not match
Since
1.5
Constructors
Properties
The height of the dialog's contents.
The width of the dialog's contents.
The current breakpoint.
The default widget.
The focus widget.
Whether to size content automatically.
The dialog's presentation mode.
Whether search is enabled.
Functions
Adds a preferences page to @self.
Adds @breakpoint to @self.
Emitted when the close button or shortcut is used, or method@Dialog.close is called while property@Dialog:can-close is set to FALSE
.
Emitted when the dialog is successfully closed.
Closes @self.
Gets whether @self can be closed.
Gets the height of the dialog's contents.
Gets the width of the dialog's contents.
Gets the current breakpoint.
Gets the default widget for @self.
Gets whether to size content of @self automatically.
Gets presentation mode for @self.
Gets whether search is enabled for @self.
Gets the currently visible page of @self.
Gets the name of currently visible page of @self.
Pop the visible page from the subpage stack of @self.
Pushes @page onto the subpage stack of @self.
Removes a page from @self.
Sets whether @self can be closed.
Sets the height of the dialog's contents.
Sets the width of the dialog's contents.
Sets the default widget for @self.
Sets whether to size content of @self automatically.
Sets presentation mode for @self.
Sets whether search is enabled for @self.
Makes @page the visible page of @self.
Makes the page with the given name visible.