EZ
Up Prev Next Contents


3.5 Radio Buttons

Radio buttons are usually arranged in groups and are used to select one from a group of mutualy exclusive choices, such as one of the several fonts or one of several colors. Associate to each group of radio buttons there is one internal group variable. When button 1 is pressed over a radio button, the group variable is set to the value associated with the radio button and the appearance of the button changes (border changes or indicator lights up). And its callbacks are then invoked.

A radio button is created by invoking EZ_CreateWidget with type EZ_WIDGET_RADIO_BUTTON or by calling the next function.

EZ_Widget *EZ_CreateRadioButton(EZ_Widget *parent,

char *label, int underline, int group_id, int value)


HTML Documentation Maintainance:Arturo Espinosa <arturo@nuclecu.unam.mx>