| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
GTK2
GTK2.UiManager

# Method GTK2.UiManager()->add_ui()

Method add_ui

  `GTK2.UiManager add_ui(int merge_id, string path, string name, string action, int type, int top)`

Description

  Adds a ui element to the current contents.

  If type is GTK2.UI_MANAGER_AUTO, GTK2+ inserts a menuitem, toolitem or separator if such an element can be inserted at the place determined by path. Otherwise type must indicate an element that can be inserted at the place determined by path.