mod widget; use widget::Widget; use gtk::{gio::SimpleAction, Button}; use std::sync::Arc; pub struct Append { pub widget: Arc, } impl Append { // Construct pub fn new_arc(action_tab_append: SimpleAction) -> Arc { Arc::new(Self { widget: Widget::new_arc(action_tab_append), }) } // Getters pub fn gobject(&self) -> &Button { &self.widget.gobject() } }