package lambda-term

  1. Overview
  2. Docs

Checkbutton. A button that can be in active or inactive state.

inherit t
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.

OCaml

Innovation. Community. Security.