/** * Add a "dummy" row. It does not have a #Window and its height is * zero. This may be used to "reserve" a row index when a row is * not present in a certain instance of the form. */ void AddDummy() { rows.push_back(Row::Type::DUMMY); }
/** * Add a #Widget row. The object will be deleted automatically. */ void Add(Widget *widget) { rows.push_back(widget); }
void AddItem(Window &w) { items.push_back(&w); }