int xvu_query_wait(
char *top_label,
char *prompts[],
char *button,
char *answers[],
int num_prompts,
int size)
none
Will not return control to application program until the user selects "Ok" or "Cancel".
The prompts[] and answers[] arrays must be of the same size, where that size is specified as 'num_prompts'.
The prompts[] array must be completely filled out with 'num_prompts' strings giving appropriate prompt for each response desired.
The answers[] array must be dynamically allocated, and each element of the string array should be initialized to contain the string representation of the default (if any). Strings should be passed in as NULL if no default is appropriate). The defaults will appear in the text objects when the query object is popped up; when the user clicks on "Ok", the contents of the answers[] array will be freed if non-NULL, and the responses of the user will be substituted in their place.
When the caller is prompting for float, int, or other non-string responses, it is expected that the caller will convert the responses returned in the answers[] array to their appropriately typed counterparts before use.
The 'size' argument is provided to ensure that the text objects are physically large enough to accomodate the user's response.
none
none
$DESIGN/objects/library/xvutils/src/query.c