Lines Matching defs:table
26 # include <gtkmm/table.h>
395 * Helper function that attachs widgets in a 3xn table. The widgets come in an
396 * array that has two entries per table row. The two entries code for four
404 static inline void attach_all(Gtk::Grid &table, Gtk::Widget const *const arr[], unsigned size, int start = 0)
406 static inline void attach_all(Gtk::Table &table, Gtk::Widget const *const arr[], unsigned size, int start = 0)
414 table.attach(const_cast<Gtk::Widget&>(*arr[i]), 1, r, 1, 1);
418 table.attach(const_cast<Gtk::Widget&>(*arr[i+1]), 2, r, 1, 1);
420 table.attach (const_cast<Gtk::Widget&>(*arr[i]), 1, 2, r, r+1,
422 table.attach (const_cast<Gtk::Widget&>(*arr[i+1]), 2, 3, r, r+1,
430 table.attach(const_cast<Gtk::Widget&>(*arr[i+1]), 1, r, 2, 1);
432 table.attach (const_cast<Gtk::Widget&>(*arr[i+1]), 1, 3, r, r+1,
441 table.attach(label, 0, r, 3, 1);
443 table.attach (label, 0, 3, r, r+1,
452 table.attach(*space, 0, r, 1, 1);
454 table.attach (*space, 0, 1, r, r+1,
688 Gtk::Grid * table = Gtk::manage( new Gtk::Grid() );
689 table->set_row_spacing(2);
690 table->set_column_spacing(2);
692 Gtk::Table * table = Gtk::manage( new Gtk::Table(1,1) );
693 table->set_spacings(2);
757 attach_all (*table, widget_array, sizeof(widget_array));
789 return table;