Label.this

Creates a new label with the given text inside it.

You can pass null to get an empty label widget.

  1. this(void* ptr, Flag!"Take" take)
  2. this(string str)
    class Label
    this
    (
    string str = null
    )

Parameters

str string

The text of the label

Return Value