StatusPage


Object Hierarchy:

Adw.StatusPage Adw.StatusPage Adw.StatusPage Gtk.Widget Gtk.Widget Gtk.Widget->Adw.StatusPage GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Adw.StatusPage Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Adw.StatusPage Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Adw.StatusPage Gtk.ConstraintTarget->Gtk.Widget

Description:

[ CCode ( type_id = "adw_status_page_get_type ()" ) ]
[ Version ( since = "1.0" ) ]
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`.

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


Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable



2022 vala-language.org