CheckBox.this

Creates a small button version of the checkbox for windows, toolbars, etc.

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

Parameters

iconChecked string

The icon when the button is checked.

iconUnchecked string

The icon when the button is unchecked.

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