A check button is typically used to toggle between two choices, represented by the "on" and "off" states of the check button. When mouse button 1 is pressed over a check button, it switches to a state different from its current state, and its callbacks are called.
To create a check button, use EZ_CreateWidget
with
type EZ_WIDGET_CHECK_BUTTON
or use the next function.
EZ_Widget *EZ_CreateCheckButton(EZ_Widget *parent, char *label,
int underline, int on_value, int off_value, int on_off)