Package: gtk

Function gtk:ui-manager-add-ui-from-file

Lambda List

gtk:ui-manager-add-ui-from-file (manager filename)

Arguments

manager -- a gtk:ui-manager object
filename -- a string with the name of the file to parse

Return Value

The unsigned integer with the merge ID for the merged UI. The merge ID can be used to unmerge the UI with the gtk:ui-manager-remove-ui function. If an error occurred, the return value is 0.

Details

Parses a file containing a UI definition and merges it with the current contents of manager.

Warning

The gtk:ui-manager-add-ui-from-file function has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

#2024-11-20