draft image controller

This commit is contained in:
yggverse 2024-10-18 05:14:38 +03:00
parent 52e7e0359f
commit deafe0845d
4 changed files with 63 additions and 1 deletions

View file

@ -0,0 +1,19 @@
use gtk::Picture;
pub struct Image {
gobject: Picture,
}
impl Image {
// Construct
pub fn new() -> Self {
Self {
gobject: Picture::new(),
}
}
// Getters
pub fn gobject(&self) -> &Picture {
&self.gobject
}
}