I get what the author is trying to do here and it's clever, but for me it kind of underlines that the developer experience would be much nicer if you build a 'native' gtk4 application. Web apps are hard work!
Glade itself is deprecated, but the UI XML file format it works with is not. Cambalache and Drafting are two WIP projects to replace Glade.
Until then, you can either avoid UI files, write them by hand, or my favorite option: use blueprints[1], a file format that compiles to UI files. For instance, this file[2] describes a form with a folding advanced section, complete with functions to call when buttons are pressed, and CSS class names to apply to widgets.
It hasn’t been updated since November 2020, and the mailing lists on the homepage link to nonexistent GNOME mailing lists. It’s still useful, but I’m inclined to say it’s dead.
fancyfredbot|3 years ago
zxspectrum1982|3 years ago
hactually|3 years ago
jms55|3 years ago
Until then, you can either avoid UI files, write them by hand, or my favorite option: use blueprints[1], a file format that compiles to UI files. For instance, this file[2] describes a form with a folding advanced section, complete with functions to call when buttons are pressed, and CSS class names to apply to widgets.
[1]: https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/ [2]: https://github.com/JMS55/whatthefn/blob/master/res/blp/profi...
TingPing|3 years ago
colejohnson66|3 years ago
stefanos82|3 years ago
https://news.ycombinator.com/item?id=27783545
dradtke|3 years ago
unknown|3 years ago
[deleted]