Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Check list with a single choice
Each item of the list is displayed with a 'radio button' in front of it, and at most one item can be selected, similarly to <input type="radio"...>
in html. Radiobuttons are implemented with Check.t
.
val vertical :
?name:string ->
?click_on_label:bool ->
?selected:int ->
string array ->
t
A radiolist with the usual vertical layout of items. The option click_on_label
is true be default: one can click on the label to select it.
val get_index : t -> int option
val set_index : t -> int -> unit
Set the selected entry to the specified index and directly activate the button's connections with the Trigger.var_changed
event.