I'm still trying to figure out how to render very simple HTML + CSS in a WebView in a Gnome application with GTK4 and libadvaita. About a month ago I asked ChatGTP to help me and it failed, but it was at least kind of on the right way. Today I asked Bard and it really didn't understand the context in which we were.
I first asked how to do it and it replied with some suggestions, then I asked for a more lightweight solution and it replied with Servo: https://servo.org/ which was something new for me, so I asked how to use this Servo crate in a Gnome application and it gave me example code which showed getters and setters for position and speed. Clearly it misunderstood servo for a servo motor.
I don't get how anyone can get anything done when it comes to programming with the current AI tools. It takes so much longer to make it understand what you want compared to just using a search engine and the documentation.
But by using DuckDuckGo as a search engine I was finally able to find something where I can render a website in a GTK4 window: https://gitlab.gnome.org/World/Rust/webkit6-rs/ Now that I know that it works in practice I can finally start thinking about the rest of the application like a login page, settings, API calls to my TT-RSS instance, etc.