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

An unsigned integer with the merge ID for the merged UI. The merge ID can be used to unmerge the UI with the function gtk-ui-manager-remove-ui. 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 function gtk-ui-manager-add-ui-from-file has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

2021-7-20