mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-28 03:54:15 +00:00
15 lines
546 B
Rust
15 lines
546 B
Rust
|
#[path = "browser/header.rs"] mod header;
|
||
|
#[path = "browser/main.rs"] mod main;
|
||
|
|
||
|
use gtk4 as gtk;
|
||
|
use gtk::{Application, ApplicationWindow};
|
||
|
|
||
|
pub fn new(app: &Application) -> ApplicationWindow
|
||
|
{
|
||
|
return ApplicationWindow::builder().application(app)
|
||
|
.default_width(640)
|
||
|
.default_height(480)
|
||
|
//.titlebar(&header::new())
|
||
|
.child(&main::new())
|
||
|
.build();
|
||
|
}
|