Gtk: Attempt to load Template from a string, if it appears valid
Perform a reasonable check on the start of a string passed to the
Template
field of GObject.registerClass()
, and if it begins with
<?xml
or <interface
, encode it as Uint8Array
and pass it to
Gtk.Widget.set_template()
.