Add documentation for GtkBuilder templates
From https://bugzilla.gnome.org/show_bug.cgi?id=744053:
GtkBuilder
templates are completely undocumented except for a single sentence:
“Additionally, since 3.10 a special tag has been added to the format allowing one to define a widget class’s components.”
Tristan has written a couple of good blog/ML posts on the topic, so (given suitable licencing) they could be used as the basis for some proper documentation for the feature.
https://mail.gnome.org/archives/gtk-devel-list/2013-April/msg00001.html http://blogs.gnome.org/tvb/2013/04/09/announcing-composite-widget-templates/
@ebassi added some documentation from the GtkWidget
side in commit 5b571ff4, but there still needs to be a reference on the <template>
tag in the GtkBuilder
documentation.