diamondburned/gotk4

Consider adding a Blueprint example

daenney opened this issue · 3 comments

Folks in the GNOME sphere have been developing Blueprint, a way to declaratively specify a UI which is then compiled to GtkBuilder XML.

There's nothing needed to explicitly support this, since it's already possible to use GtkBuilder XML with gotk4 for the UI.

But it might be an interesting example/demo app to have, something combining go:generate to call the blueprint compiler, perhaps even embed the result, and then load it much the same way the builder example does. Since it's pretty simple to specify a GTK UI this way, it might also be a nice way to provide a more feature-full demo.

This seems simple enough to be PR'd into gotk4-examples. Someone else has already PR'd in a demo project for Cambalache.

Also, as a side note, since this repository contains no examples, it's best to open issues related to them in the other repository.

Ah damn it, I clicked through on the examples but didn't notice the change in repo.