CheckMenuItem.this

Creates a new GtkCheckMenuItem with a label.

  1. this(GtkCheckMenuItem* gtkCheckMenuItem, bool ownedRef)
  2. this(string label, bool mnemonic)
    class CheckMenuItem
    this
    (
    string label
    ,
    bool mnemonic = true
    )
  3. this()

Parameters

label string

the string to use for the label.

mnemonic bool

if true the label will be created using Label.newWithMnemonic, so underscores in label indicate the mnemonic for the menu item.

Throws

ConstructionException GTK+ fails to create the object.