CheckBox.this

Creates an instance of a checkbox with a text object.

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

Parameters

text Text

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