Package: gtk

Function gtk-builder-add-objects-from-file

Lambda List

gtk-builder-add-objects-from-file (builder filename ids)

Arguments

builder -- a gtk-builder object
filename -- a string with the name of the file to parse
ids -- a list of strings with the object IDs to build

Return Value

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

Details

Parses a file containing a gtk-builder UI definition building only the requested objects and merges them with the current contents of builder. Upon errors 0 will be returned.

Note

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 ids.
 

See also

2021-9-23