image: Implement Copy to clipboard

This commit is contained in:
Maximiliano Sandoval R 2022-01-08 14:02:16 +01:00
parent 7b760f85f4
commit be09d49756
No known key found for this signature in database
GPG key ID: D64A8D747F6FE706
5 changed files with 36 additions and 0 deletions

View file

@ -205,4 +205,9 @@ impl LpImage {
let imp = self.imp();
imp.image_height.get()
}
pub fn texture(&self) -> Option<gdk::Texture> {
let imp = self.imp();
imp.texture.borrow().clone()
}
}