StatusPage

class StatusPage(pointer: <Error class: unknown class><<Error class: unknown class>>)

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

status-page

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.

When setting an class@SpinnerPaintable as property@StatusPage:paintable, the main nodes gains the .spinner style class for a more compact appearance.

Style classes

AdwStatusPage can use the style-classes.html#compact-status-page style class for when it needs to fit into a small space such a sidebar or a popover, similar to when using a spinner as the paintable.

status-page-compact

Constructors

Link copied to clipboard
constructor()

Creates a new AdwStatusPage.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val adwStatusPagePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var child: <Error class: unknown class>?

The child widget.

Link copied to clipboard

The description markup to be displayed below the title.

Link copied to clipboard
open val gtkAccessiblePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkBuildablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkConstraintTargetPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard

The name of the icon to be used.

Link copied to clipboard
var paintable: <Error class: unknown class>?

The paintable to be used.

Link copied to clipboard

The title to be displayed below the icon.

Functions

Link copied to clipboard
fun getChild(): <Error class: unknown class>?

Gets the child widget of @self.

Link copied to clipboard

Gets the description markup for @self.

Link copied to clipboard

Gets the icon name for @self.

Link copied to clipboard
fun getPaintable(): <Error class: unknown class>?

Gets the paintable for @self.

Link copied to clipboard

Gets the title for @self.

Link copied to clipboard
fun setChild(child: <Error class: unknown class>? = null)

Sets the child widget of @self.

Link copied to clipboard
fun setDescription(description: String? = null)

Sets the description markup for @self.

Link copied to clipboard
fun setIconName(iconName: String? = null)

Sets the icon name for @self.

Link copied to clipboard
fun setPaintable(paintable: <Error class: unknown class>? = null)

Sets the paintable for @self.

Link copied to clipboard
fun setTitle(title: String)

Sets the title for @self.