GtkMenuToolButton

A menu item that shows both a button and a drop down menu.

Object Hierarchy

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBin
                            `-- GtkToolItem
                                   `-- GtkToolButton
                                          `-- GtkMenuToolButton

Description

This tool item class represents a normal button with a button on the right displaying an arrow. Pressing it will popup the attached GtkMenu.

If no menu is attached with set_menu() , the arrow is greyed out.

Constructors

GtkMenuToolButton (GtkWidget icon_widget, string label);

-- Creates a new menu tool button.

Methods

get_menu()
  Retrieves the attached menu.
set_arrow_tooltip()
  Set the tooltip for the arrow button.
set_menu()
  Attaches a menu to the button.

Properties

Use get_property and set_property methods to access these.

menu:
  Menu widget.

Signals

"show-menu"
  The dropdown menu is being shown.