remove deprecated mod

This commit is contained in:
yggverse 2024-09-24 22:44:02 +03:00
parent d36dbcd4ad
commit 4486904336

View File

@ -1,27 +0,0 @@
use gtk::prelude::BoxExt;
pub struct History {
gtk: gtk::Box,
}
impl History {
// Construct
pub fn new(back: &gtk::Button, forward: &gtk::Button) -> History {
let gtk = gtk::Box::builder()
.orientation(gtk::Orientation::Horizontal)
.css_classes([
"linked", // merge childs
])
.build();
gtk.append(back);
gtk.append(forward);
Self { gtk }
}
// Getters
pub fn gtk(&self) -> &gtk::Box {
&self.gtk
}
}