Checkbox

A check box for Setting Dialog

Constructor
Checkbox(checked: bool = false, text: string = null)

Construct a Checkbox

Parameters
checked The checkbox initial checked state
text The checkbox label text
Methods
id
CheckBox id(id: string)

Set an id to identify a view

Parameters
id id to identify a view
Return
CheckBox This CheckBox instance
checked
Checkbox checked(checked: bool)

Set the checkbox checked state

Parameters
checked The checkbox checked state
Return
Checkbox This Checkbox instance
text
Checkbox text(text: string)

Set the checkbox label text

Parameters
text The checkbox label text
Return
Checkbox This Checkbox instance

© 2024 - Macrorify by KoK-CODE