This should be called at class initialization time to specify the GtkBuilder XML to be used to extend a widget.
For convenience, Widget.classSetTemplateFromResource is also provided.
Note that any class that installs templates must call Widget.initTemplate in the widget’s instance initializer.
A glib.Bytes holding the gtk.Builder XML
3.10
This should be called at class initialization time to specify the GtkBuilder XML to be used to extend a widget.
For convenience, Widget.classSetTemplateFromResource is also provided.
Note that any class that installs templates must call Widget.initTemplate in the widget’s instance initializer.