mod widget;
use widget::Widget;
use gtk::Label;
use std::sync::Arc;
pub struct Title {
widget: Arc<Widget>,
}
impl Title {
pub fn new_arc(title: Option<&str>) -> Arc<Self> {
let widget = Widget::new_arc(title);
Arc::new(Self { widget })
}
pub fn gobject(&self) -> &Label {
&self.widget.gobject()
}
}