ToggleButton.this

Creates a new toggle button with a text label.

  1. this(GtkToggleButton* gtkToggleButton, bool ownedRef)
  2. this(string label, bool mnemonic)
    class ToggleButton
    this
    (
    string label
    ,
    bool mnemonic = true
    )
  3. this()

Parameters

label string

a string containing the message to be placed in the toggle button.

mnemonic bool

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

Throws

ConstructionException GTK+ fails to create the object.