diff --git a/src/app/browser/window/tab/item/page/content/status/loading/widget.rs b/src/app/browser/window/tab/item/page/content/status/loading/widget.rs index da9fde5d..9b147789 100644 --- a/src/app/browser/window/tab/item/page/content/status/loading/widget.rs +++ b/src/app/browser/window/tab/item/page/content/status/loading/widget.rs @@ -8,6 +8,9 @@ pub struct Widget { } impl Widget { + // Constructors + + /// Create new default widget configuration pub fn new(title: Option<&str>, description: Option<&str>) -> Self { let gobject = StatusPage::builder() .child( @@ -27,6 +30,8 @@ impl Widget { Self { gobject } } + // Getters + pub fn gobject(&self) -> &StatusPage { &self.gobject }