GtkMenuToolButton {RGtk2} | R Documentation |
A GtkToolItem containing a button with an additional dropdown menu
gtkMenuToolButtonNew(icon.widget, label, show = TRUE)
gtkMenuToolButtonNewFromStock(stock.id)
gtkMenuToolButtonSetMenu(object, menu)
gtkMenuToolButtonGetMenu(object)
gtkMenuToolButtonSetArrowTooltip(object, tooltips, tip.text = NULL, tip.private = NULL)
gtkMenuToolButtonSetArrowTooltip(object, tooltips, tip.text = NULL, tip.private = NULL)
gtkMenuToolButtonSetArrowTooltipText(object, text)
gtkMenuToolButtonSetArrowTooltipMarkup(object, markup)
gtkMenuToolButton(icon.widget, label, show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----GtkToolButton +----GtkMenuToolButton
GtkMenuToolButton implements
GtkBuildable
and AtkImplementorIface.
A GtkMenuToolButton
is a GtkToolItem
that contains a button and
a small additional button with an arrow. When clicked, the arrow
button pops up a dropdown menu.
Use gtkMenuToolButtonNew
to create a new
GtkMenuToolButton
. Use gtkMenuToolButtonNewFromStock
to
create a new GtkMenuToolButton
containing a stock item.
GtkMenuToolButton
GtkMenuToolButton
struct contains only private data and
should only be accessed through the functions described below.
gtkMenuToolButton
is the equivalent of gtkMenuToolButtonNew
.
The (menutoolbutton, user.data)
menutoolbutton
GtkMenuToolButton
] the object which received the signal.user.data
menu
[GtkMenu
: Read / Write]The dropdown menu.
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkMenuToolButton.html