3 This file is part of libmspgltk
4 Copyright © 2011 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GLTK_GRID_H_
9 #define MSP_GLTK_GRID_H_
17 Arranges widgets in a grid.
19 This layout class places widgets in a grid, lining up their edges in rows and
20 columns. Widgets are placed on rows left-to-right and rows are placed top-to-
23 The start of each row must be indicated manually. Individual cells can be
24 skipped to leave them empty.
26 class Grid: public Layout
30 std::vector<Slot *> columns;
42 Slot *create_slot(Widget &);