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