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
.
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.
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
Properties
- class StatusPage