adw.status_page

Module for [StatusPage] class

Types 3

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

status-page

The [adw.status_page.StatusPage] widget can have an icon, a title, a description and a custom widget which is displayed below them.

CSS nodes

[adw.status_page.StatusPage] has a main CSS node with name statuspage.

[adw.status_page.StatusPage] can use the

.compact style class for when it

needs to fit into a small space such a sidebar or a popover.

Methods
GType _gType() @property
StatusPage self()Returns `this`, for use in `with` statements.
StatusPageGidBuilder builder()Get builder for [adw.status_page.StatusPage] Returns: New builder object
gtk.widget.Widget child() @propertyGet `child` property. Returns: The child widget.
void child(gtk.widget.Widget propval) @propertySet `child` property. Params: propval = The child widget.
string description() @propertyGet `description` property. Returns: The description markup to be displayed below the title.
void description(string propval) @propertySet `description` property. Params: propval = The description markup to be displayed below the title.
string iconName() @propertyGet `iconName` property. Returns: The name of the icon to be used.
void iconName(string propval) @propertySet `iconName` property. Params: propval = The name of the icon to be used.
gdk.paintable.Paintable paintable() @propertyGet `paintable` property. Returns: The paintable to be used.
void paintable(gdk.paintable.Paintable propval) @propertySet `paintable` property. Params: propval = The paintable to be used.
string title() @propertyGet `title` property. Returns: The title to be displayed below the icon.
void title(string propval) @propertySet `title` property. Params: propval = The title to be displayed below the icon.
gtk.widget.Widget getChild()Gets the child widget of self. Returns: the child widget of self
string getDescription()Gets the description markup for self. Returns: the description
string getIconName()Gets the icon name for self. Returns: the icon name
gdk.paintable.Paintable getPaintable()Gets the paintable for self. Returns: the paintable
string getTitle()Gets the title for self. Returns: the title
void setChild(gtk.widget.Widget child = null)Sets the child widget of self.
void setDescription(string description = null)Sets the description markup for self.
void setIconName(string iconName = null)Sets the icon name for self.
void setPaintable(gdk.paintable.Paintable paintable = null)Sets the paintable for self.
void setTitle(string title)Sets the title for self.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [adw.statuspage.StatusPage]. Returns: the newly created [adw.statuspage.StatusPage]
Methods
T child(gtk.widget.Widget propval)Set `child` property. Params: propval = The child widget. Returns: Builder instance for fluent chaining
T description(string propval)Set `description` property. Params: propval = The description markup to be displayed below the title. Returns: Builder instance for fluent chaining
T iconName(string propval)Set `iconName` property. Params: propval = The name of the icon to be used.
T paintable(gdk.paintable.Paintable propval)Set `paintable` property. Params: propval = The paintable to be used.
T title(string propval)Set `title` property. Params: propval = The title to be displayed below the icon.

Fluent builder for [adw.status_page.StatusPage]

Methods