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


17.2.1 Adding Scrollbar Objects

To add a scrollbar to a form use

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

The meaning of the parameters is as usual. The label is by default placed below the scrollbar.

xforms_images/scrollbars