GtkMenuBar {RGtk2} | R Documentation |
A subclass widget for GtkMenuShell which holds GtkMenuItem widgets
gtkMenuBarNew(show = TRUE)
gtkMenuBarSetPackDirection(object, pack.dir)
gtkMenuBarGetPackDirection(object)
gtkMenuBarSetChildPackDirection(object, child.pack.dir)
gtkMenuBarGetChildPackDirection(object)
gtkMenuBar(show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkMenuShell +----GtkMenuBar
GtkMenuBar implements
AtkImplementorIface and GtkBuildable
.
The GtkMenuBar
is a subclass of GtkMenuShell
which contains one to many GtkMenuItem
. The result is a standard menu bar which can hold many menu items. GtkMenuBar
allows for a shadow type to be set for aesthetic purposes. The shadow types are defined in the
gtk_menu_bar_set_shadow_typefunction.
GtkMenuBar
The GtkMenuBar
struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.)
gtkMenuBar
is the equivalent of gtkMenuBarNew
.
GtkPackDirection
Determines how widgets should be packed insided menubars and menuitems contained in menubars.
ltr
Widgets are packed left-to-right.
rtl
Widgets are packed right-to-left.
ttb
Widgets are packed top-to-bottom.
btt
Widgets are packed bottom-to-top.
Derived by RGtkGen from GTK+ documentation
http://library.gnome.org/devel//gtk/GtkMenuBar.html
GtkMenuShell
GtkMenu
GtkMenuItem