class checkbutton :string -> bool ->
object
..end
method label : string
method state : bool
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.