adw.status_page
Module for [StatusPage] class
Types 3
classStatusPage : gtk.widget.Widget
A page used for empty/error states and similar use-cases.
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
StatusPage self()Returns `this`, for use in `with` statements.StatusPageGidBuilder builder()Get builder for [adw.status_page.StatusPage] Returns: New builder objectvoid 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.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.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 selfstring getDescription()Gets the description markup for self. Returns: the descriptionstring getIconName()Gets the icon name for self. Returns: the icon namegdk.paintable.Paintable getPaintable()Gets the paintable for self. Returns: the paintablestring getTitle()Gets the title for self. Returns: the titlevoid 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.Methods
T child(gtk.widget.Widget propval)Set `child` property. Params: propval = The child widget. Returns: Builder instance for fluent chainingT description(string propval)Set `description` property. Params: propval = The description markup to be displayed below the title. Returns: Builder instance for fluent chainingT 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