void add_ui(int merge_id, string path, string name, string action, GtkUIManagerItemType type, bool top);

Adds a UI element of the GtkUiManagerItemType specified by type to the current contents of the ui manager at the location specified by path. Use new_merge_id to get an unused merge id. See also: get_ui() , remove_ui()