Builder.extendWithTemplate
uint extendWithTemplate(gtk.widget.Widget widget, gobject.types.GType templateType, string buffer)Main private entry point for building composite container components from template XML.
This is exported purely to let gtk-builder-tool validate templates, applications have no need to call this function.
Parameters
widget | the widget that is being extended |
templateType | the type that the template is for |
buffer | the string to parse |
Returns
A positive value on success, 0 if an error occurred
Throws
[ErrorWrap]