draft page reload action

This commit is contained in:
yggverse 2024-09-25 01:14:45 +03:00
parent 4e0ec422ca
commit fd73dc3d7c
7 changed files with 45 additions and 2 deletions

View file

@ -10,7 +10,7 @@ use history::History;
use reload::Reload;
use request::Request;
use gtk::{prelude::BoxExt, Box, Orientation};
use gtk::{glib::GString, prelude::BoxExt, Box, Orientation};
pub struct Navigation {
// GTK
@ -72,4 +72,8 @@ impl Navigation {
pub fn widget(&self) -> &Box {
&self.widget
}
pub fn request_text(&self) -> GString {
self.request.text()
}
}