@bleakgrey I was looking at the source code for the gtk4 version of Tootle and I noticed you're missing the widget for showing image previews. I've been working on the same thing all morning for Giara, and now it's finally done and should work nicely. It's Python, but it should be fairly easy to translate to Vala, here it is in case you wanna have a look: https://gitlab.gnome.org/World/giara/-/blob/gtk4/giara/picture_view.py
@gabmus Thank you! I figure I should try out the Gtk.Picture widget first because I don't want to do too much custom drawing logic as it turned out to be a massive PITA in 1.0
But that you so much! Real-life GTK4 code is a rare resource
@bleakgrey Hopefully Picture will do what you're looking for. I tried and for me it didn't :/
Hey maybe let me know if you figure it out.
@gabmus Sure, I'll let you know when I came up with something :)
Attachments are pretty close to the bottom of my TODO list since I've still got the core functionality to port (even avatars don't work yet).
Ideally, I'm thinking of a Grid with Pictures packed inside it. Let's see how this turns out.
Linux geeks doing what Linux geeks do...