Adds a UI element to the current contents of
self.
If
type is
UiManagerAuto, Gtk+ 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.
If
path points to a menuitem or toolitem, the new element
will be inserted before or after this item, depending on
top.