CheckBox.this

Creates an instance of a checkbox with a default formatted text.

  1. this(Text text, string source, Box position, bool checked)
  2. this(dstring text, string source, Box position, bool checked)
    class CheckBox
    this
    (
    dstring text
    ,
    string source
    ,,
    bool checked = false
    )
  3. this(string iconChecked, string iconUnchecked, string source, Box position, bool checked)

Parameters

text dstring

The text to be displayed besides the button.

source string

The source of the events emitted by this object.

position Box

Defines where the element should be drawn.

checked bool

Initial state of the button.

Meta