Adw.PreferencesPage
Description: Reference for Adw.PreferencesPage

### Class

# AdwPreferencesPage

#### Description [src]

    class Adw.PreferencesPage : Gtk.Widget {
      parent_instance: GtkWidget
    }

A page from `AdwPreferencesWindow`.

The `AdwPreferencesPage` widget gathers preferences groups into a single page of a preferences window.

## CSS nodes

`AdwPreferencesPage` has a single CSS node with name `preferencespage`.

## Accessibility

`AdwPreferencesPage` uses the `GTK_ACCESSIBLE_ROLE_GROUP` role.

Available since: | 1.0

#### Hierarchy

#### Ancestors

- GtkWidget
- GInitiallyUnowned
- GObject

#### Implements

- GtkAccessible
- GtkBuildable
- GtkConstraintTarget

#### Constructors

###### adw_preferences_page_new

Creates a new `AdwPreferencesPage`.

Available since: 1.0

#### Instance methods

###### adw_preferences_page_add

Adds a preferences group to `self`.

Available since: 1.0

###### adw_preferences_page_get_icon_name

Gets the icon name for `self`.

Available since: 1.0

###### adw_preferences_page_get_name

Gets the name of `self`.

Available since: 1.0

###### adw_preferences_page_get_title

Gets the title of `self`.

Available since: 1.0

###### adw_preferences_page_get_use_underline

Gets whether an embedded underline in the title indicates a mnemonic.

Available since: 1.0

###### adw_preferences_page_remove

Removes a group from `self`.

Available since: 1.0

###### adw_preferences_page_set_icon_name

Sets the icon name for `self`.

Available since: 1.0

###### adw_preferences_page_set_name

Sets the name of `self`.

Available since: 1.0

###### adw_preferences_page_set_title

Sets the title of `self`.

Available since: 1.0

###### adw_preferences_page_set_use_underline

Sets whether an embedded underline in the title indicates a mnemonic.

Available since: 1.0

##### Methods inherited from GtkWidget (159)

##### Methods inherited from GObject (43)

#### Properties

###### Adw.PreferencesPage:icon-name

The icon name for this page.

Available since: 1.0

###### Adw.PreferencesPage:name

The name of this page.

Available since: 1.0

###### Adw.PreferencesPage:title

The title for this page.

Available since: 1.0

###### Adw.PreferencesPage:use-underline

Whether an embedded underline in the title indicates a mnemonic.

Available since: 1.0

##### Properties inherited from GtkWidget (34)

#### Signals

##### Signals inherited from GtkWidget (13)

##### Signals inherited from GObject (1)

#### Class structure

    struct AdwPreferencesPageClass {
      GtkWidgetClass parent_class;

    }

###### Class members

`parent_class` |
    GtkWidgetClass
| The parent class.