3 ms·
> I know why QT/GTK and various other GUI systems use a HTML-y grid layout, but for me personally, I always struggle to make nice looking, well laid out, functi
by zozbot234 5y ago
> I know why QT/GTK and various other GUI systems use a HTML-y grid layout, but for me personally, I always struggle to make nice looking, well laid out, functional GUIs with them.
There's a very intuitive drag-drop GUI designer for GTK+, namely Glade. Sadly, it was abandoned as GTK+ transitioned to 3.x and 4.x. So the only supported workflow now is laying out your GUI in code.
The intuitive "action-oriented" language should not be underestimated either. Though I assume it could be made idiomatic even in modern languages, by leveraging their support for the async programming model.
- MadcapJake 5y agoThere is some work going into a new RAD tool that will support 3 and 4. https://gitlab.gnome.org/jpu/cambalache https://gitlab.gnome.org/jpu/cambalache
- zozbot234 5y agoThe Linux desktop's CADT syndrome strikes again. Why not just pick up maintenance of Glade itself? Why do we get this constant churn?
- anthk 5y ago>Linux More like Gnome and RedHat. In the BSD-y world and people akin on GNU (Alpine, Hyperbola, Parabola...) people loves the CLI and some stuff like TCL/TK or even Perl/Tk / Perl/GTK2. And the tools work well and fast enough.
- MadcapJake 5y agoIf I had to guess I would say: more fun to develop a new system without any legacy code maintenance (GTK4 is a significant change in API). The idea with the new tool is to decouple the toolkit too so it will be fundamentally more resilient to churn.
- supercheetah 5y agoGlade had a lot of problems, and core Gnomes devs really recommended against it[1]. I think that dev for Cambalache didn't want to try to figure that out. 1. https://blogs.gnome.org/christopherdavis/2020/11/19/glade-not-recommended/ https://blogs.gnome.org/christopherdavis/2020/11/19/glade-no...
- pjmlp 5y agoWriting XML by hand to provide it to GtkBuilder is so much better. /s
- pjmlp 5y agoA tool that uses Electron like technology (Merengue) to display what are supposed to be native widgets, and without guarantee that its development is actually going to be supported, long term.