extend_with_template


Description:

public bool extend_with_template (Object object, Type template_type, string buffer, ssize_t length) throws Error

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

Most likely you do not need to call this function in applications as templates are handled by `GtkWidget`.

Parameters:

this

a `GtkBuilder`

object

the object that is being extended

template_type

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)

Returns:

A positive value on success, 0 if an error occurred