Expander.this

Creates a new expander using @label as the text of the label.

If characters in @label are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use “__” (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic.

Pressing Alt and that key activates the button.

  1. this(GtkExpander* gtkExpander, bool ownedRef)
  2. this(string label)
    class Expander
    this
    (
    string label
    )

Parameters

label string

the text of the label with an underscore in front of the mnemonic character

Return Value

a new GtkExpander widget.

Throws

ConstructionException GTK+ fails to create the object.

Meta