Package: gtk

Function gtk:builder-add-objects-from-resource

Lambda List

gtk:builder-add-objects-from-resource (builder path &rest args)

Arguments

builder -- a gtk:builder object
path -- a string with the path of the resource file to parse
args -- strings with the object IDs to build

Return Value

The positive value on success, 0 if an error occurred.

Details

Parses a resource file containing a gtk:builder UI definition building only the requested objects and merges them with the current contents of builder.

Notes

If you are adding an object that depends on an object that is not its child, for instance a gtk:tree-view widget that depends on its gtk:tree-model implementation, you have to explicitely list all of them in args.
 

See also

2024-11-21