Class LTerm_widget.checkbutton

class checkbutton : string -> bool -> object .. end
Checkbutton. A button that can be in active or inactive state.
Inherits
method label : string
The text displayed on the checkbutton.
method state : bool
The state of checkbutton; true means checked and false means unchecked.
method set_label : string -> unit
method on_click : ?switch:LTerm_widget_callbacks.switch -> (unit -> unit) -> unit
on_click ?switch f calls f when the button state is changed.