Next: Choice Types, Up: Choice Object [Contents][Index]

#### 23.1.1 Adding Choice Objects

To add a choice object to a form use the routine

    FL_OBJECT *fl_add_choice(int type, FL_Coord x, FL_Coord y,
                             FL_Coord w, FL_Coord h, const char *label);

It shows a box on the screen with the label to the left of it and the current choice (empty in the beginning), centered in the box.