Lines Matching defs:table
26 # include <gtkmm/table.h>
88 * Helper function that attachs widgets in a 3xn table. The widgets come in an
89 * array that has two entries per table row. The two entries code for four
98 attach_all(Gtk::Grid &table, Gtk::Widget const *const arr[], unsigned size, int start = 0)
100 attach_all(Gtk::Table &table, Gtk::Widget const *const arr[], unsigned size, int start = 0)
108 table.attach(const_cast<Gtk::Widget&>(*arr[i]), 1, r, 1, 1);
112 table.attach(const_cast<Gtk::Widget&>(*arr[i+1]), 2, r, 1, 1);
114 table.attach (const_cast<Gtk::Widget&>(*arr[i]), 1, 2, r, r+1,
116 table.attach (const_cast<Gtk::Widget&>(*arr[i+1]), 2, 3, r, r+1,
124 table.attach(const_cast<Gtk::Widget&>(*arr[i+1]), 1, r, 2, 1);
126 table.attach (const_cast<Gtk::Widget&>(*arr[i+1]), 1, 3, r, r+1,
135 table.attach(label, 0, r, 3, 1);
137 table.attach (label, 0, 3, r, r+1,
146 table.attach(*space, 0, r, 1, 1);
148 table.attach (*space, 0, 1, r, r+1,
346 Gtk::Grid *table = Gtk::manage(new Gtk::Grid());
347 table->set_row_spacing(2);
348 table->set_column_spacing(2);
350 Gtk::Table * table = Gtk::manage( new Gtk::Table(1,1) );
351 table->set_spacings(2);
410 attach_all (*table, widget_array, sizeof(widget_array));
436 return table;