1 #ifndef MSP_GLTK_MIXEDROWS_H_
2 #define MSP_GLTK_MIXEDROWS_H_
10 Places widgets on multiple heterogeneous rows.
12 This layout class creates rows of widgets, with no horizontal constraints
13 between rows. Widgets are placed on rows left-to-right and rows are placed
16 The start of each new row must be indicated manually. The widgets on a row
17 can be specified to have a uniform width, and similarly all rows can be set to
18 have a uniform height.
20 By default widgets have a top-left gravity. It's possible to specify a "split"
21 to align remaining widgets on a row to the right, or remaining rows to the
22 bottom. This does not change the placement order of widgets.
24 class MixedRows: public Layout
36 MixedRows(bool = false);
38 void start_row(bool = false);
43 virtual Slot *create_slot(Widget &);