Builder.newFromString

gtk.builder.Builder newFromString(string string_)

Parses the UI definition in string.

If string is null-terminated, then length should be -1. If length is not -1, then it is the length of string.

If there is an error parsing string then the program will be aborted. You should not attempt to parse user interface description from untrusted sources.

Parameters

string_a user interface (XML) description

Returns

a [gtk.builder.Builder] containing the interface described by string