RGtk2 (version 2.20.31)

GtkMenuToolButton: GtkMenuToolButton

Description

A GtkToolItem containing a button with an additional dropdown menu

Arguments

Methods and Functions

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)

Hierarchy

GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkToolItem
                                       +----GtkToolButton
                                             +----GtkMenuToolButton

Interfaces

GtkMenuToolButton implements AtkImplementorIface, GtkBuildable and GtkActivatable.

Detailed Description

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.

Structures

Convenient Construction

gtkMenuToolButton is the equivalent of gtkMenuToolButtonNew.

Signals

Properties

References

http://library.gnome.org/devel//gtk/GtkMenuToolButton.html