mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
17 lines
326 B
Rust
17 lines
326 B
Rust
use gtk::{PackType, WindowControls};
|
|
|
|
pub struct Widget {
|
|
pub gobject: WindowControls,
|
|
}
|
|
|
|
impl Widget {
|
|
// Construct
|
|
pub fn new() -> Self {
|
|
Self {
|
|
gobject: WindowControls::builder()
|
|
.side(PackType::End)
|
|
.margin_end(4)
|
|
.build(),
|
|
}
|
|
}
|
|
}
|