13 lines
253 B
Rust
13 lines
253 B
Rust
|
#[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 }
|
||
|
}
|
||
|
}
|