Adw.StatusPage
Description: Reference for Adw.StatusPage

### Class

# AdwStatusPage

#### Description [src]

    final class Adw.StatusPage : Gtk.Widget {
      /* No available fields */
    }

A page used for empty/error states and similar use-cases.

The `AdwStatusPage` widget can have an icon, a title, a description and a custom widget which is displayed below them.

## CSS nodes

`AdwStatusPage` has a main CSS node with name `statuspage`.

`AdwStatusPage` can use the `.compact` style class for when it needs to fit into a small space such a sidebar or a popover.

Available since: | 1.0

#### Hierarchy

#### Ancestors

- GtkWidget
- GInitiallyUnowned
- GObject

#### Implements

- GtkAccessible
- GtkBuildable
- GtkConstraintTarget

#### Constructors

###### adw_status_page_new

Creates a new `AdwStatusPage`.

Available since: 1.0

#### Instance methods

###### adw_status_page_get_child

Gets the child widget of `self`.

Available since: 1.0

###### adw_status_page_get_description

Gets the description for `self`.

Available since: 1.0

###### adw_status_page_get_icon_name

Gets the icon name for `self`.

Available since: 1.0

###### adw_status_page_get_paintable

Gets the paintable for `self`.

Available since: 1.0

###### adw_status_page_get_title

Gets the title for `self`.

Available since: 1.0

###### adw_status_page_set_child

Sets the child widget of `self`.

Available since: 1.0

###### adw_status_page_set_description

Sets the description for `self`.

Available since: 1.0

###### adw_status_page_set_icon_name

Sets the icon name for `self`.

Available since: 1.0

###### adw_status_page_set_paintable

Sets the paintable for `self`.

Available since: 1.0

###### adw_status_page_set_title

Sets the title for `self`.

Available since: 1.0

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

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

#### Properties

###### Adw.StatusPage:child

The child widget.

Available since: 1.0

###### Adw.StatusPage:description

The description to be displayed below the title.

Available since: 1.0

###### Adw.StatusPage:icon-name

The name of the icon to be used.

Available since: 1.0

###### Adw.StatusPage:paintable

The `GdkPaintable` to be used.

Available since: 1.0

###### Adw.StatusPage:title

The title to be displayed below the icon.

Available since: 1.0

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

#### Signals

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

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

#### Class structure

    struct AdwStatusPageClass {
      GtkWidgetClass parent_class;

    }

###### Class members

`parent_class` |
    GtkWidgetClass
| No description available.