to unmerge the UI with gtk.uimanager.UIManager.removeUi. If an error occurred, the return value is 0.
UIManager.addUiFromFile
uint addUiFromFile(string filename)Parses a file containing a UI definition and merges it with the current contents of manager.
Parameters
filename | the name of the file to parse |
Returns
The merge id for the merged UI. The merge id can be used