x_choices
interactive Xwindow choices through toggle buttons
Syntax
rep=x_choices(title,items)
Arguments
- title
vector of strings, title for the popup window.
- items
a list of items
items=list(item1,...,itemn), where eachitemis also a list of the following type :item=list('label',default_choice,choices).default_choiceis an integer which gives the default toggle on entry andchoicesis a row vector of strings which gives the possible choices.- rep
an integer vector which gives for each item the number of the selected toggle. If user exits dialog with "cancel" button
repis set to[].
Description
Select items through toggle lists and return in rep the selected
items
Type x_choices() to see an example.
Examples
| Report an issue | ||
| << waitbar | GUI | x_choose >> |