Yoda/src/app/browser/window/tab/item/page/navigation/bookmark.rs
2024-11-08 05:09:19 +02:00

29 lines
430 B
Rust

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