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 _getGType() static nothrow
GType _gType() @property nothrow
StatusPage self() nothrowReturns `this`, for use in `with` statements.
StatusPageGidBuilder builder() static nothrowGet builder for [adw.status_page.StatusPage] Returns: New builder object
gtk.widget.Widget child() @property nothrowGet `child` property. Returns: The child widget.
void child(gtk.widget.Widget propval) @property nothrowSet `child` property. Params: propval = The child widget.
string description() @property nothrowGet `description` property. Returns: The description markup to be displayed below the title.
void description(string propval) @property nothrowSet `description` property. Params: propval = The description markup to be displayed below the title.
string iconName() @property nothrowGet `iconName` property. Returns: The name of the icon to be used.
void iconName(string propval) @property nothrowSet `iconName` property. Params: propval = The name of the icon to be used.
gdk.paintable.Paintable paintable() @property nothrowGet `paintable` property. Returns: The paintable to be used.
void paintable(gdk.paintable.Paintable propval) @property nothrowSet `paintable` property. Params: propval = The paintable to be used.
string title() @property nothrowGet `title` property. Returns: The title to be displayed below the icon.
void title(string propval) @property nothrowSet `title` property. Params: propval = The title to be displayed below the icon.
gtk.widget.Widget getChild() nothrowGets the child widget of self. Returns: the child widget of self
string getDescription() nothrowGets the description markup for self. Returns: the description
string getIconName() nothrowGets the icon name for self. Returns: the icon name
gdk.paintable.Paintable getPaintable() nothrowGets the paintable for self. Returns: the paintable
string getTitle() nothrowGets the title for self. Returns: the title
void setChild(gtk.widget.Widget child = null) nothrowSets the child widget of self.
void setDescription(string description = null) nothrowSets the description markup for self.
void setIconName(string iconName = null) nothrowSets the icon name for self.
void setPaintable(gdk.paintable.Paintable paintable = null) nothrowSets the paintable for self.
void setTitle(string title) nothrowSets the title for self.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [adw.status_page.StatusPage]. Returns: the newly created [adw.status_page.StatusPage]

Fluent builder implementation template for adw.status_page.StatusPage

Methods
T child(gtk.widget.Widget propval) nothrowSet `child` property. Params: propval = The child widget. Returns: Builder instance for fluent chaining
T description(string propval) nothrowSet `description` property. Params: propval = The description markup to be displayed below the title. Returns: Builder instance for fluent chaining
T iconName(string propval) nothrowSet `iconName` property. Params: propval = The name of the icon to be used.
T paintable(gdk.paintable.Paintable propval) nothrowSet `paintable` property. Params: propval = The paintable to be used.
T title(string propval) nothrowSet `title` property. Params: propval = The title to be displayed below the icon.

Fluent builder for adw.status_page.StatusPage

Methods
StatusPage build() nothrowCreate object from builder. Returns: New object