Package: gtk

Function gtk:builder-add-from-string

Lambda List

gtk:builder-add-from-string (builder string)

Arguments

builder -- a gtk:builder object
string -- a string to parse

Return Value

True on sucess, false if an error occured.

Details

Parses a string containing a gtk:builder UI definition and merges it with the current contents of the builder. This function is useful if you need to call the gtk:builder-current-object function to add user data to callbacks before loading the gtk:builder UI definition. Otherwise, you probably want the gtk:builder-new-from-string function instead.

If there is an error parsing the string then the program will be aborted.
 

See also

2024-10-5