object
  method on_state_change :
    ?switch:LTerm_widget_callbacks.switch -> ('a option -> unit) -> unit
  method register_object : 'LTerm_widget.radio -> unit
  method state : 'a option
  method switch_to : '-> unit
end