Class LTerm_widget.button

class button : string -> object .. end
Inherits
method label : string
The text displayed on the button.
method set_label : string -> unit
method on_click : ?switch:switch -> (unit -> unit) -> unit
on_click ?switch f calls f when the button is clicked.