class ['a]
radiobutton : 'a radiogroup -> string -> 'a ->
object
.. end
Inherits
method state : bool
The state of the button; true
if button is "on" and false
if the button
is "off".
method on : unit
Switches the button state to "on". Affects only how the button is drawn,
does not change the state of the group the button is added to.
Use
LTerm_widget.radiogroup.switch_to
instead.
method off : unit
Switches the button state to "off". Affects only how the button is drawn,
does not change the state of the group the button is added to.
Use
LTerm_widget.radiogroup.switch_to
instead.
method label : string
The text displayed on the radiobutton.
method set_label : string -> unit
method id : 'a
The id of the button.
method on_click : ?switch:LTerm_widget_callbacks.switch -> (unit -> unit) -> unit