adw.preferences_page

Module for [PreferencesPage] class

Types 3

A page from adw.preferences_dialog.PreferencesDialog.

preferences-page

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
GType _getGType() static nothrow
GType _gType() @property nothrow
PreferencesPage self() nothrowReturns `this`, for use in `with` statements.
PreferencesPageGidBuilder builder() static nothrowGet builder for [adw.preferences_page.PreferencesPage] Returns: New builder object
string description() @property nothrowGet `description` property. Returns: The description to be displayed at the top of the page.
void description(string propval) @property nothrowSet `description` property. Params: propval = The description to be displayed at the top of the page.
string iconName() @property nothrowGet `iconName` property. Returns: The icon name for this page.
void iconName(string propval) @property nothrowSet `iconName` property. Params: propval = The icon name for this page.
string name() @property nothrowGet `name` property. Returns: The name of this page.
void name(string propval) @property nothrowSet `name` property. Params: propval = The name of this page.
string title() @property nothrowGet `title` property. Returns: The title for this page.
void title(string propval) @property nothrowSet `title` property. Params: propval = The title for this page.
bool useUnderline() @property nothrowGet `useUnderline` property. Returns: Whether an embedded underline in the title indicates a mnemonic.
void useUnderline(bool propval) @property nothrowSet `useUnderline` property. Params: propval = Whether an embedded underline in the title indicates a mnemonic.
void add(adw.preferences_group.PreferencesGroup group) nothrowAdds a preferences group to self.
string getDescription() nothrowGets the description of self. Returns: the description of self.
string getIconName() nothrowGets the icon name for self. Returns: the icon name for self
string getName() nothrowGets the name of self. Returns: the name of self
string getTitle() nothrowGets the title of self. Returns: the title of self.
bool getUseUnderline() nothrowGets whether an embedded underline in the title indicates a mnemonic. Returns: whether an embedded underline in the title indicates a mnemonic
void remove(adw.preferences_group.PreferencesGroup group) nothrowRemoves a group from self.
void scrollToTop() nothrowScrolls the scrolled window of self to the top.
void setDescription(string description) nothrowSets the description of self.
void setIconName(string iconName = null) nothrowSets the icon name for self.
void setName(string name = null) nothrowSets the name of self.
void setTitle(string title) nothrowSets the title of self.
void setUseUnderline(bool useUnderline) nothrowSets whether an embedded underline in the title indicates a mnemonic.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [adw.preferences_page.PreferencesPage]. Returns: the newly created [adw.preferences_page.PreferencesPage]

Fluent builder implementation template for adw.preferences_page.PreferencesPage

Methods
T description(string propval) nothrowSet `description` property. Params: propval = The description to be displayed at the top of the page. Returns: Builder instance for fluent chaining
T iconName(string propval) nothrowSet `iconName` property. Params: propval = The icon name for this page. Returns: Builder instance for fluent chaining
T name(string propval) nothrowSet `name` property. Params: propval = The name of this page. Returns: Builder instance for fluent chaining
T title(string propval) nothrowSet `title` property. Params: propval = The title for this page. Returns: Builder instance for fluent chaining
T useUnderline(bool propval) nothrowSet `useUnderline` property. Params: propval = Whether an embedded underline in the title indicates a mnemonic. Returns: Builder instance for fluent chaining
Methods
PreferencesPage build() nothrowCreate object from builder. Returns: New object