gtkUIManagerAddUi {RGtk2} | R Documentation |
Adds a UI element to the current contents of self
.
gtkUIManagerAddUi(object, merge.id, path, name, action = NULL, type, top)
|
[GtkUIManager ] a GtkUIManager |
|
[numeric] the merge id for the merged UI, see gtkUIManagerNewMergeId |
|
[character] a path |
|
[character] the name for the added UI element |
|
[character] the name of the action to be proxied, or NULL to add a separator |
|
[GtkUIManagerItemType ] the type of UI element to add. |
|
[logical] if TRUE , the UI element is added before its siblings, otherwise it
is added after its siblings. |
If type
is GTK_UI_MANAGER_AUTO
, 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
.
Since 2.4
Derived by RGtkGen from GTK+ documentation