Question: How did you learn to build GTK-interface with XML or Blueprint?

Hello Developers!

Question: How did you learn to build GTK-interface with XML or Blueprint?

When I look at the documentation (XML & Blueprint) it is quite sparse and I don’t immediately have an idea about how to develop an interface. Especially not which rules I have to follow and which structures are allowed.

Can you recommend me a way to learn to work with the XML or Blueprint?

When I look at the source code of Blueprint I don’t see a lot of development. Is it still in development? Can we expect a 1.0 version anytime soon?

I want to build an interface with the Multi-Layout View but I don’t now what the parent element of this code should be and which elements are necessary or can be left out. Does anybody have a working example? And does somebody know it there exist a Blueprint example of this layout?

Thanks in advance!

IDK if it has something for that specifically but are you familiar with Workbench https://flathub.org/en/apps/re.sonny.Workbench? It has runnable examples with code and UI files, and you can modify the code / UI files to try things out. You can switch between blueprint and XML.

Thanks!

I do know Workbench, but I didn’t know that it could also show the XML-code! I think it’s largely about looking at how other people have done things.

I made some progress: with the help of AI, I have implemented the Multi-Layout View!

It’s still XML, but I’m going to convert it to Blueprint.