GtkMenuToolButton {RGtk2}R Documentation

GtkMenuToolButton

Description

A GtkToolItem containing a button with an additional dropdown menu

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 GtkBuildable and AtkImplementorIface.

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

GtkMenuToolButton
The GtkMenuToolButton struct contains only private data and should only be accessed through the functions described below.

Convenient Construction

gtkMenuToolButton is the equivalent of gtkMenuToolButtonNew.

Signals

The (menutoolbutton, user.data)
undocumented

menutoolbutton
[GtkMenuToolButton] the object which received the signal.
user.data
[R object] user data set when the signal handler was connected.

Properties

menu [GtkMenu : Read / Write]

The dropdown menu.

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://developer.gnome.org/doc/API/2.0/gtk/GtkMenuToolButton.html


[Package RGtk2 version 2.12.5-3 Index]