mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +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
18
src/browser/header/tray/mod.rs
Normal file
18
src/browser/header/tray/mod.rs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
mod menu;
|
||||
mod tab;
|
||||
|
||||
use gtk::prelude::BoxExt;
|
||||
use gtk::Box;
|
||||
|
||||
pub fn new() -> Box {
|
||||
let tray = Box::builder()
|
||||
.orientation(gtk::Orientation::Horizontal)
|
||||
.spacing(8)
|
||||
.build();
|
||||
|
||||
// Compose childs
|
||||
tray.append(&menu::new());
|
||||
tray.append(&tab::new());
|
||||
|
||||
tray
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue