StatusPage
Object Hierarchy:
Adw.StatusPage
Adw.StatusPage
Adw.StatusPage
Gtk.Widget
Gtk.Widget
Gtk.Widget->Adw.StatusPage
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->Gtk.Widget
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
Gtk.Accessible
Gtk.Accessible
Gtk.Accessible->Adw.StatusPage
Gtk.Accessible->Gtk.Widget
Gtk.Buildable
Gtk.Buildable
Gtk.Buildable->Adw.StatusPage
Gtk.Buildable->Gtk.Widget
Gtk.ConstraintTarget
Gtk.ConstraintTarget
Gtk.ConstraintTarget->Adw.StatusPage
Gtk.ConstraintTarget->Gtk.Widget
Description:
[ CCode ( type_id = "adw_status_page_get_type ()" ) ] [ Version ( since = "1.0" ) ]public sealed class StatusPage : Widget , Accessible , Buildable , ConstraintTarget
A page used for empty/error states and similar use-cases.
<picture> <source srcset="status-page-dark.png" media="(prefers-color-scheme: dark)"> <img src="status-page.png"
alt="status-page"> </picture>
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-classes.html#compact-status-page) style class for when it needs to fit into a small space
such a sidebar or a popover.
Content:
Properties:
public Widget child { get ; set ; }
The child widget.
public string description { get ; set ; }
The description to be displayed below the title.
public string icon_name { get ; set ; }
The name of the icon to be used.
public Paintable paintable { get ; set ; }
The GdkPaintable
to be used.
public string title { get ; set ; }
The title to be displayed below the icon.
Creation methods:
Methods:
public unowned Widget ? get_child ()
Gets the child widget of this .
public unowned string ? get_description ()
Gets the description for this .
public unowned string ? get_icon_name ()
Gets the icon name for this .
public unowned Paintable ? get_paintable ()
Gets the paintable for this .
public unowned string get_title ()
Gets the title for this .
public void set_child (Widget ? child)
Sets the child widget of this .
public void set_description (string ? description)
Sets the description for this .
public void set_icon_name (string ? icon_name)
Sets the icon name for this .
public void set_paintable (Paintable ? paintable)
Sets the paintable for this .
public void set_title (string title)
Sets the title for this .
Inherited Members:
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface Gtk.Accessible
accessible_role
get_accessible_role
reset_property
reset_relation
reset_state
update_property
update_property_value
update_relation
update_relation_value
update_state
update_state_value
All known members inherited from interface Gtk.Buildable
add_child
custom_finished
custom_tag_end
custom_tag_start
get_buildable_id
get_id
get_internal_child
parser_finished
set_buildable_property
set_id