StatusPage#
Superclasses: Widget
, InitiallyUnowned
, Object
Implemented Interfaces: Accessible
, Buildable
, ConstraintTarget
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
.
When setting an SpinnerPaintable
as 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.

Constructors#
Methods#
- class StatusPage
-
- set_child(child: Widget | None = None) None #
Sets the child widget of
self
.- Parameters:
child – the child widget
- set_description(description: str | None = None) None #
Sets the description markup for
self
.The description is displayed below the title. It is parsed as Pango markup.
- Parameters:
description – the description
- set_icon_name(icon_name: str | None = None) None #
Sets the icon name for
self
.Changing this will set
paintable
toNULL
.- Parameters:
icon_name – the icon name