next up previous contents
Next: Value Items Up: Tina Windows Previous: Check Lists   Contents

Choice Lists

Choices are like checks but only one item can be selected.

  func, value,
        name_1, name_2, ... ,
char *name, *name_1, ..., *name_k;
void (*func)();
int value;

On changing the choice item the integer value is set to the number of the chosen item (starting at 0), and func is called with this as argument. The initial state of value sets the display appropriately (remember to make this correspond to the initial state of the application).

root 2017-09-25