[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.10" ) ]
public Builder.from_string (string str, ssize_t length)
Builds the user interface described by string
(in the GtkBuilder UI definition
format).
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.
length |
the length of |
string |
a user interface (XML) description |
a Builder containing the interface described by |