mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
use canonical module subfolder tree
This commit is contained in:
parent
80783d2ae4
commit
8969899a2f
24 changed files with 0 additions and 23 deletions
20
src/browser/main/tab/page/navigation/history/mod.rs
Normal file
20
src/browser/main/tab/page/navigation/history/mod.rs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
mod back;
|
||||
mod forward;
|
||||
|
||||
use gtk::prelude::BoxExt;
|
||||
use gtk::Box;
|
||||
|
||||
pub fn new() -> Box {
|
||||
let history = Box::builder()
|
||||
.orientation(gtk::Orientation::Horizontal)
|
||||
.css_classes([
|
||||
"linked", // merge childs
|
||||
])
|
||||
.build();
|
||||
|
||||
// Compose childs
|
||||
history.append(&back::new());
|
||||
history.append(&forward::new());
|
||||
|
||||
history
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue