createMenuBar {RGtkViewers} | R Documentation |
This is a convenience function for creating a menu bar and populating it with menus. The menus can be recursive.
createMenuBar(..., mbar = gtkMenuBar())
... |
a collection of named element
each of which gives the label for the menu
and a list of the elements in that menu.
For example,
createMenubar(File=list(Open=function(x,...) { })) |
mbar |
an optional existing GtkMenuBar object
to which to append the objects. If this is not specified,
a new one is created. |
The GtkMenuBar
object.
This will probably be moved to a new package named RGtkUtils in the future.
Duncan Temple Lang <duncan@research.bell-labs.com>
http://www.omegahat.org/RGtk, http://www.gtk.org