StatusPage


Object Hierarchy:

Object hierarchy for StatusPage

Description:

[ CCode ( type_id = "adw_status_page_get_type ()" ) ]
public sealed class StatusPage : Widget, Accessible, Buildable, ConstraintTarget

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

<picture> <source srcset="status-page-dark.png" media="(prefers-color-scheme: dark)"> <img src="status-page.png" alt="status-page"> </picture>

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`.

When setting an [class@SpinnerPaintable] as [property@StatusPage:paintable], the main nodes gains the `.spinner` style class for a more compact appearance.

Style classes

`AdwStatusPage` can use the [`.compact`](style-classes.html#compact-status-page) style class for when it needs to fit into a small space such a sidebar or a popover, similar to when using a spinner as the paintable.

<picture> <source srcset="status-page-compact-dark.png" media="(prefers-color-scheme: dark)"> <img src="status-page-compact.png" alt="status-page-compact"> </picture>


Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gtk.Widget