Forum und email

GtkImageMenuItem

A menu item with an icon.

オブジェクトの階層

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

説明

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.

コンストラクタ

GtkImageMenuItem ([string label]);

-- Creates a new menu item with an icon.

メソッド

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