GtkImageMenuItem

A menu item with an icon.

Object Hierarchy

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBin
                            `-- GtkItem
                                   `-- GtkMenuItem
                                          `-- GtkImageMenuItem

Description

This is essentially a GtkMenuItem which has an icon displayed next to the text label.

These items are frequently used for menu items like New, Open or Save.

Constructors

GtkImageMenuItem ([string label]);

-- Creates a new menu item with an icon.

Methods

get_image()
  Gets the widget set as the image for the menu item.
set_image()
  Sets the image widget for the menu item.