Next: , Up: Menu Object   [Contents][Index]


23.2.1 Adding Menu Objects

To add a menu to a form use the routine

FL_OBJECT *fl_add_menu(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 centered in it.