Adding Frame Objects (XForms (Forms Library) - Version 1.2 (Rev. 4) A Graphical User Interface Toolkit for X)

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

#### 15.2.1 Adding Frame Objects

To add a frame to a form you use the routine

    FL_OBJECT *fl_add_frame(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 except that the frame is drawn outside of the bounding box (so a flat box of the same size just fills the inside of the frame without any gaps). The label is by default placed centered inside the frame.