adw.preferences_page
Module for [PreferencesPage] class
Types 3
classPreferencesPage : gtk.widget.Widget
A page from class@PreferencesDialog.
The [adw.preferences_page.PreferencesPage] widget gathers preferences groups into a single page of a preferences window.
CSS nodes
[adw.preferences_page.PreferencesPage] has a single CSS node with name preferencespage.
Accessibility
[adw.preferences_page.PreferencesPage] uses the [gtk.types.AccessibleRole.Group] role.
Methods
PreferencesPage self()Returns `this`, for use in `with` statements.PreferencesPageGidBuilder builder()Get builder for [adw.preferences_page.PreferencesPage] Returns: New builder objectstring description() @propertyGet `description` property. Returns: The description to be displayed at the top of the page.void description(string propval) @propertySet `description` property. Params: propval = The description to be displayed at the top of the page.void iconName(string propval) @propertySet `iconName` property. Params: propval = The icon name for this page.void title(string propval) @propertySet `title` property. Params: propval = The title for this page.bool useUnderline() @propertyGet `useUnderline` property. Returns: Whether an embedded underline in the title indicates a mnemonic.void useUnderline(bool propval) @propertySet `useUnderline` property. Params: propval = Whether an embedded underline in the title indicates a mnemonic.void add(adw.preferences_group.PreferencesGroup group)Adds a preferences group to self.string getDescription()Gets the description of self. Returns: the description of self.string getIconName()Gets the icon name for self. Returns: the icon name for selfstring getName()Gets the name of self. Returns: the name of selfstring getTitle()Gets the title of self. Returns: the title of self.bool getUseUnderline()Gets whether an embedded underline in the title indicates a mnemonic. Returns: whether an embedded underline in the title indicates a mnemonicvoid remove(adw.preferences_group.PreferencesGroup group)Removes a group from self.void scrollToTop()Scrolls the scrolled window of self to the top.void setDescription(string description)Sets the description of self.void setIconName(string iconName = null)Sets the icon name for self.void setName(string name = null)Sets the name of self.void setTitle(string title)Sets the title of self.void setUseUnderline(bool useUnderline)Sets whether an embedded underline in the title indicates a mnemonic.Methods
T description(string propval)Set `description` property. Params: propval = The description to be displayed at the top of the page. Returns: Builder instance for fluent chainingT iconName(string propval)Set `iconName` property. Params: propval = The icon name for this page. Returns: Builder instance for fluent chainingT name(string propval)Set `name` property. Params: propval = The name of this page. Returns: Builder instance for fluent chainingT title(string propval)Set `title` property. Params: propval = The title for this page. Returns: Builder instance for fluent chainingT useUnderline(bool propval)Set `useUnderline` property. Params: propval = Whether an embedded underline in the title indicates a mnemonic. Returns: Builder instance for fluent chainingFluent builder for [adw.preferences_page.PreferencesPage]
Methods