ImageMenuItem.this

Creates a new GtkImageMenuItem containing a label. If mnemonic it true the label will be created using gtk_label_new_with_mnemonic(), so underscores in label indicate the mnemonic for the menu item.

  1. this(GtkImageMenuItem* gtkImageMenuItem)
  2. this(string label, bool mnemonic)
    class ImageMenuItem
    this
    (
    string label
    ,
    bool mnemonic = true
    )
  3. this(StockID stockID, AccelGroup accelGroup)
  4. this()

Parameters

label string

the text of the menu item.

Return Value

a new GtkImageMenuItem.

Throws

ConstructionException GTK+ fails to create the object.

Meta