mod widget; use widget::Widget; use gtk::Button; use std::sync::Arc; pub struct Bookmark { widget: Arc, } impl Bookmark { // Construct pub fn new_arc() -> Arc { Arc::new(Self { widget: Widget::new_arc(), }) } // Actions pub fn update(&self) { // @TODO } // Getters pub fn gobject(&self) -> &Button { self.widget.gobject() } }