R3GetChoice
int R3GetChoice(char *choices, char *fmt, ...)
choices - string defining buttons for the dialog
Ordnum corresponding the selected button
Opens a dialog with given buttons and text. Buttons are defined using '|' as a separator.
rc = R3GetChoice("Yes|No|I don't know", "Are you sure mr %s", person); switch(rc) { case 0: /* yes */ ... case 1: /* no */ ... case 2: /* i don't know */ }