Ejemplo n.º 1
0
 /**
  * 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);
 }
Ejemplo n.º 2
0
 /**
  * Add a #Widget row.  The object will be deleted automatically.
  */
 void Add(Widget *widget) {
   rows.push_back(widget);
 }
Ejemplo n.º 3
0
 void AddItem(Window &w) {
   items.push_back(&w);
 }