Package: gtk

Function gtk:builder-add-from-resource

Lambda List

gtk:builder-add-from-resource (builder path)

Arguments

builder -- a gtk:builder object
path -- a string with the path of the resouce file to parse

Details

Parses a resource file 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-resource function instead.

If there is an error locating the resource or parsing the description then the program will be aborted.
 

See also

2024-11-21