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

@ -1,4 +1,4 @@
use gtk::{Box, Orientation};
use gtk::{glib::GString, Box, Orientation};
pub struct Content {
widget: Box,
@ -12,6 +12,11 @@ impl Content {
}
}
// Actions
pub fn reload(&self, request_text: GString) {
// @TODO
}
// Getters
pub fn widget(&self) -> &Box {
&self.widget