mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
implement loading widget
This commit is contained in:
parent
ced0113d0c
commit
385586ca3d
3 changed files with 61 additions and 0 deletions
|
|
@ -48,6 +48,14 @@ impl Content {
|
|||
self.gobject.append(status_default.gobject());
|
||||
}
|
||||
|
||||
pub fn set_status_loading(&self, title: Option<&str>, description: Option<&str>) {
|
||||
self.clean();
|
||||
|
||||
let status_default = Status::new_loading(title, description);
|
||||
|
||||
self.gobject.append(status_default.gobject());
|
||||
}
|
||||
|
||||
pub fn set_text_gemini(&self, base: &Uri, data: &str) -> Option<GString> {
|
||||
self.clean();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue