rename main mod to wrapper

This commit is contained in:
yggverse 2024-10-05 16:19:51 +03:00
parent b9b51f5fe3
commit 992ecfc0f6
26 changed files with 6 additions and 6 deletions

View file

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