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.
Constructors
adw_status_page_new
Creates a new AdwStatusPage
.
Instance methods
adw_status_page_get_child
Gets the child widget of self
.
adw_status_page_get_description
Gets the description markup for self
.
adw_status_page_get_icon_name
Gets the icon name for self
.
adw_status_page_get_paintable
Gets the paintable for self
.
adw_status_page_get_title
Gets the title for self
.
adw_status_page_set_child
Sets the child widget of self
.
adw_status_page_set_description
Sets the description markup for self
.
adw_status_page_set_icon_name
Sets the icon name for self
.
adw_status_page_set_paintable
Sets the paintable for self
.
adw_status_page_set_title
Sets the title for self
.
Properties
Adw.StatusPage:child
The child widget.
Adw.StatusPage:description
The description markup to be displayed below the title.
Adw.StatusPage:icon-name
The name of the icon to be used.
Adw.StatusPage:paintable
The paintable to be used.
Adw.StatusPage:title
The title to be displayed below the icon.