ToggleButton.this

Creates a new GtkToggleButton containing a label.

The label will be created using [ctor@Gtk.Label.new_with_mnemonic], so underscores in @label indicate the mnemonic for the button.

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

Parameters

label string

the text of the button, with an underscore in front of the mnemonic character

Return Value

a new GtkToggleButton

Throws

ConstructionException GTK+ fails to create the object.

Meta