use gtk::{PackType, WindowControls};
use std::sync::Arc;
pub struct Widget {
gobject: WindowControls,
}
impl Widget {
pub fn new_arc() -> Arc<Self> {
Arc::new(Self {
gobject: WindowControls::builder()
.side(PackType::End)
.margin_end(4)
.build(),
})
}
pub fn gobject(&self) -> &WindowControls {
&self.gobject
}
}