1
0
mirror of https://github.com/YGGverse/Yoda.git synced 2025-01-28 03:54:15 +00:00
Yoda/src/app/browser.rs

15 lines
546 B
Rust
Raw Normal View History

2024-09-18 20:33:29 +03:00
#[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();
}