gotk4 icon indicating copy to clipboard operation
gotk4 copied to clipboard

Consider adding a Blueprint example

Open daenney opened this issue 2 years ago • 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.

daenney avatar May 15 '22 08:05 daenney

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

diamondburned avatar May 15 '22 09:05 diamondburned

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

diamondburned avatar May 15 '22 09:05 diamondburned

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

daenney avatar May 15 '22 12:05 daenney