int xvu_choose_wait(
char *prompt,
char **item_labels,
int item_num,
int default_val,
int user_defined,
char **return_string)
This routine will NOT return to the calling program until one of the items is chosen from the list.
-------------------------------
| |
| Choose One: |
| |
- - - - - - - - - - - - - - - -
| item 1 |
| item 2 |
| item 3 |
| item 4 |
| : |
| item 5 |
- - - - - - - - - - - - - - - -
| ---------- |
| | Cancel | |
| ---------- |
-------------------------------
You may specify a prompt to replace "Choose 1".
You may specify a label to replace "Cancel" on the button.
If desired, you may specify the "user defined" option to be TRUE, which will cause a text object to be created underneath the list. The user may then enter their own selection into the text object and hit <Enter>, which will cause the new selection to appear in the list, where it may be chosen.
IMPORTANT NOTE: to be consistent with the standards of the Khoros Software development system, you should really be calling kchoose(), not xvu_choose_wait().
none
none
$DESIGN/objects/library/xvutils/src/choose.c