Honest, open question: when developing a Gtk app, what do people like to use to layout the UI? I'm currently porting a Gtk3 app to Gtk4, and really want to use Blueprint, as I find Xml UI lacking...but I am still not happy with this approach.

@benpocalypse one of the things I find so strange about the GTK stack is that there doesn't seem to be a separation for the UI layer. It's all just one thing! There's a reason why websites have abandoned XML for their view layers.

@mcneely I've grown to really appreciate the MVVM paradigm, so yeah. I wish it was a little more common in the Gnome/Gtk world.

This is a pretty good starting point though: github.com/nahuelwexd/gtk-mvvm

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml