mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
init navbar components
This commit is contained in:
parent
38659b45ca
commit
0759f14843
10 changed files with 240 additions and 2 deletions
|
|
@ -1,9 +1,22 @@
|
|||
#[path = "page/navigation.rs"] mod navigation;
|
||||
#[path = "page/content.rs"] mod content;
|
||||
|
||||
use gtk::Box;
|
||||
// use gtk::prelude::BoxExt; @TODO append
|
||||
use gtk::prelude::BoxExt;
|
||||
|
||||
pub fn new() -> Box
|
||||
{
|
||||
return Box::builder().orientation(
|
||||
let page = Box::builder().orientation(
|
||||
gtk::Orientation::Vertical
|
||||
).build();
|
||||
|
||||
page.append(
|
||||
&navigation::new()
|
||||
);
|
||||
|
||||
page.append(
|
||||
&content::new()
|
||||
);
|
||||
|
||||
return page;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue