rename wrapper mod to window

This commit is contained in:
yggverse 2024-10-05 17:10:31 +03:00
parent 992ecfc0f6
commit d5101a6465
26 changed files with 8 additions and 8 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
}
}