Pike v8.1 release 6

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.