Package: gtk

Function gtk-ui-manager-add-ui-from-resource

Lambda List

gtk-ui-manager-add-ui-from-resource (manager path)

Arguments

manager -- a gtk-ui-manager object
path -- a string with the resource path 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 resource file containing a UI definition and merges it with the current contents of manager.

Warning

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

See also

2021-7-20