Creates an instance of a checkbox with a text object.
The text to be displayed besides the button.
The source of the events emitted by this object.
Defines where the element should be drawn.
Initial state of the button.
See Implementation
Creates an instance of a checkbox with a text object.