extendWithTemplate

open fun extendWithTemplate(object: <Error class: unknown class>, templateType: <Error class: unknown class>, buffer: String, length: Long): <Error class: unknown class><Boolean>

Main private entry point for building composite components from template XML.

This is exported purely to let gtk-builder-tool validate templates, applications have no need to call this function.

Return

A positive value on success, 0 if an error occurred

Parameters

object

the object that is being extended

templateType

the type that the template is for

buffer

the string to parse

length

the length of @buffer (may be -1 if @buffer is nul-terminated)