monorepo/gm-control-panel/src/app_window.rs

13 lines
253 B
Rust
Raw Normal View History

#[derive(Clone)]
pub struct ApplicationWindow {
pub window: adw::ApplicationWindow,
}
impl ApplicationWindow {
pub fn new(app: &adw::Application) -> Self {
let window = adw::ApplicationWindow::new(app);
Self { window }
}
}