Yoda 0.7.2

Browser for Gemini Protocol
use gtk::{PackType, WindowControls};
use std::sync::Arc;

pub struct Widget {
    gobject: WindowControls,
}

impl Widget {
    // Construct
    pub fn new_arc() -> Arc<Self> {
        Arc::new(Self {
            gobject: WindowControls::builder()
                .side(PackType::End)
                .margin_end(4)
                .build(),
        })
    }

    // Getters
    pub fn gobject(&self) -> &WindowControls {
        &self.gobject
    }
}