mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-10 10:24:13 +00:00
remove deprecated mod
This commit is contained in:
parent
d36dbcd4ad
commit
4486904336
@ -1,27 +0,0 @@
|
||||
use gtk::prelude::BoxExt;
|
||||
|
||||
pub struct History {
|
||||
gtk: gtk::Box,
|
||||
}
|
||||
|
||||
impl History {
|
||||
// Construct
|
||||
pub fn new(back: >k::Button, forward: >k::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) -> >k::Box {
|
||||
&self.gtk
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user