adw.preferences_dialog
Module for [PreferencesDialog] class
Types 3
A dialog showing application's preferences.
The adw.preferences_dialog.PreferencesDialog widget presents an application's preferences gathered into pages and groups. The preferences are searchable by the user.
CSS nodes
adw.preferences_dialog.PreferencesDialog has a main CSS node with the name dialog and the style class .preferences.
Methods
PreferencesDialogGidBuilder builder() static nothrowGet builder for [adw.preferences_dialog.PreferencesDialog] Returns: New builder objectbool searchEnabled() @property nothrowGet `searchEnabled` property. Returns: Whether search is enabled.void searchEnabled(bool propval) @property nothrowSet `searchEnabled` property. Params: propval = Whether search is enabled.gtk.widget.Widget visiblePage() @property nothrowGet `visiblePage` property. Returns: The currently visible page.void visiblePage(gtk.widget.Widget propval) @property nothrowSet `visiblePage` property. Params: propval = The currently visible page.string visiblePageName() @property nothrowGet `visiblePageName` property. Returns: The name of the currently visible page.void visiblePageName(string propval) @property nothrowSet `visiblePageName` property. Params: propval = The name of the currently visible page.bool getSearchEnabled() nothrowGets whether search is enabled for self. Returns: whether search is enabled for self.adw.preferences_page.PreferencesPage getVisiblePage() nothrowGets the currently visible page of self. Returns: the visible pagestring getVisiblePageName() nothrowGets the name of currently visible page of self. Returns: the name of the visible pagebool popSubpage() nothrowPop the visible page from the subpage stack of self. Returns: `TRUE` if a page has been poppedvoid pushSubpage(adw.navigation_page.NavigationPage page) nothrowPushes page onto the subpage stack of self.void setVisiblePage(adw.preferences_page.PreferencesPage page) nothrowMakes page the visible page of self.Fluent builder implementation template for adw.preferences_dialog.PreferencesDialog
Methods
T searchEnabled(bool propval) nothrowSet `searchEnabled` property. Params: propval = Whether search is enabled. Returns: Builder instance for fluent chainingT visiblePage(gtk.widget.Widget propval) nothrowSet `visiblePage` property. Params: propval = The currently visible page. Returns: Builder instance for fluent chainingT visiblePageName(string propval) nothrowSet `visiblePageName` property. Params: propval = The name of the currently visible page.Fluent builder for adw.preferences_dialog.PreferencesDialog
Methods