Live data from Hacker News

Building GTK4 Applications Like Websites

damienradtke.com

1–10 of 10 posts

Re: Building GTK4 Applications Like Websites

#5

I actually thought Glade was deprecated? I'm surprised to see it mentioned... Or maybe I'm wrong or maybe the author didn't know!

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.

Re: Building GTK4 Applications Like Websites

#6

I actually thought Glade was deprecated? I'm surprised to see it mentioned... Or maybe I'm wrong or maybe the author didn't know!

Seems like it's not deprecated, but facing some technical reasons with GTK4.

https://news.ycombinator.com/item?id=27783545

Re: Building GTK4 Applications Like Websites

#7

I actually thought Glade was deprecated? I'm surprised to see it mentioned... Or maybe I'm wrong or maybe the author didn't know!

Ah, yeah I didn't realize that Glade didn't work with GTK4. I'll update the post soon to clarify that, thanks for catching it!

Re: Building GTK4 Applications Like Websites

#9

I actually thought Glade was deprecated? I'm surprised to see it mentioned... Or maybe I'm wrong or maybe the author didn't know!

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.

[1]: https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/ [2]: https://github.com/JMS55/whatthefn/blob/master/res/blp/profi...