use gtk::Button; pub struct Bookmark { widget: Button, } impl Bookmark { // Construct pub fn new() -> Bookmark { Self { widget: Button::builder() .icon_name("starred-symbolic") .tooltip_text("Bookmark") .sensitive(false) .build(), } } // Getters pub fn widget(&self) -> &Button { &self.widget } }