Fl_Group | +----Fl_Fixed_Group
#include <FL/Fl_Fixed_Group.H>
This group is an alternative to fltk's long standing resizable() techniques of using carefully positioned invisible widgets to dictate resizing behavior. In some cases this group may be an easier way to achieve a group of widgets that do not change in size, while still maintaining their intended positions.
NOTE: This widget will only work correctly with fltk 1.1.10 and up, or can work with older releases only if Albrecht's fltk STR#2032 patch has been applied.
FL_FIXED_GROUP_NONE |
Attach to no edge. The group will slide in all directions during resize, maintaining an equal relationship to the parent's edges in all directions. |
FL_FIXED_GROUP_TOP |
Attach to top edge of parent. The group slides vertically to maintain its relationship to the parent's top edge during parent resizing. |
FL_FIXED_GROUP_RIGHT |
Attach to right edge of parent. The group slides horizontally to maintain its relationship to the parent's right edge during parent resizing. |
FL_FIXED_GROUP_BOTTOM |
Attach to bottom edge of parent. The group slides vertically to maintain its relationship to the parent's bottom edge during parent resizing. |
FL_FIXED_GROUP_LEFT |
Attach to left edge of parent. The group slides horizontally to maintain its relationship to the parent's left edge during parent resizing. |
Allowed Combinations | |
FL_FIXED_GROUP_TOPLEFT |
Attach to top left edge of parent. The group may slide vertically or horizontally to maintain its relationship to the parent's top and left edges during the parent's resizing. |
FL_FIXED_GROUP_TOPRIGHT |
Attach to top right edge of parent. The group may slide vertically or horizontally to maintain its relationship to the parent's top and right edges during the parent's resizing. |
FL_FIXED_GROUP_BOTTOMLEFT |
Attach to bottom left edge of parent. The group may slide vertically or horizontally to maintain its relationship to the parent's bottom and left edges during the parent's resizing. |
FL_FIXED_GROUP_BOTTOMRIGHT |
Attach to bottom right edge of parent. The group may slide vertically or horizontally to maintain its relationship to the parent's bottom and right edges during the parent's resizing. |