FXFoldingList

The new FXFoldingList widget is a hybrid of several previously existing widgets, including the FXIconList and FXTreeList widgets. Like an FXTreeList, it provides a way to display hierarchically structured data and selectively hide or show different subtrees. Unlike the items in an FXTreeList, however, the items in an FXFoldingList can have multiple fields, similar to the items in an FXIconList when it's displayed in "details" mode.

A folding list item may have any number of fields separated by tab characters (as is done for icon list items). A header control is used to adjust the widths of the columns.

The captions along the top border of an FXFoldingList are actually provided by an embedded FXHeader widget. You can get your hands on this FXHeader widget directly by calling the folding list's getHeader() member function, but most properties of the header can be set directly using other FXFoldingList member functions.