Lines Matching defs:arr

227 inline void attach_all(Gtk::Grid &table, Gtk::Widget *const arr[], unsigned const n, int start = 0, int docum_prop_flag = 0)
229 inline void attach_all(Gtk::Table &table, Gtk::Widget *const arr[], unsigned const n, int start = 0, int docum_prop_flag = 0)
233 if (arr[i] && arr[i+1]) {
235 arr[i]->set_hexpand();
236 arr[i+1]->set_hexpand();
237 arr[i]->set_valign(Gtk::ALIGN_CENTER);
238 arr[i+1]->set_valign(Gtk::ALIGN_CENTER);
239 table.attach(*arr[i], 1, r, 1, 1);
240 table.attach(*arr[i+1], 2, r, 1, 1);
242 table.attach(*arr[i], 1, 2, r, r+1, Gtk::FILL|Gtk::EXPAND, (Gtk::AttachOptions)0,0,0);
243 table.attach(*arr[i+1], 2, 3, r, r+1, Gtk::FILL|Gtk::EXPAND, (Gtk::AttachOptions)0,0,0);
246 if (arr[i+1]) {
248 if (dynamic_cast<Inkscape::UI::Widget::PageSizer*>(arr[i+1])) {
256 arr[i+1]->set_hexpand();
257 arr[i+1]->set_margin_left(20);
258 arr[i+1]->set_margin_right(20);
261 arr[i+1]->set_vexpand();
263 arr[i+1]->set_valign(Gtk::ALIGN_CENTER);
265 table.attach(*arr[i+1], 1, r, 2, 1);
267 table.attach(*arr[i+1], 1, 3, r, r+1, Gtk::FILL|Gtk::EXPAND, yoptions, 20,0);
271 arr[i+1]->set_hexpand();
274 arr[i+1]->set_vexpand();
276 arr[i+1]->set_valign(Gtk::ALIGN_CENTER);
278 table.attach(*arr[i+1], 1, r, 2, 1);
280 table.attach(*arr[i+1], 1, 3, r, r+1, Gtk::FILL|Gtk::EXPAND, yoptions, 0,0);
285 arr[i+1]->set_hexpand();
288 arr[i+1]->set_vexpand();
290 arr[i+1]->set_valign(Gtk::ALIGN_CENTER);
292 table.attach(*arr[i+1], 1, r, 2, 1);
294 table.attach(*arr[i+1], 1, 3, r, r+1, Gtk::FILL|Gtk::EXPAND, yoptions, 0,0);
297 } else if (arr[i]) {
298 Gtk::Label& label = reinterpret_cast<Gtk::Label&>(*arr[i]);