Lines Matching defs:thing
138 Gtk::Widget* thing = Gtk::manage(preview->getPreview(PREVIEW_STYLE_PREVIEW, VIEW_TYPE_LIST, _baseSize, _ratio, _border));
141 thing->set_hexpand();
142 thing->set_vexpand();
143 _insides->attach(*thing, 0, i, 1, 1);
149 _insides->attach( *thing, 0, 1, i, i+1, Gtk::FILL|Gtk::EXPAND, Gtk::FILL|Gtk::EXPAND );
157 Gtk::Widget* thing = Gtk::manage(items[i]->getPreview(PREVIEW_STYLE_PREVIEW, VIEW_TYPE_GRID, _baseSize, _ratio, _border));
161 calcGridSize( thing, items.size(), width, height );
194 thing->set_hexpand();
195 thing->set_vexpand();
196 _insides->attach(*thing, col, row, 1, 1);
203 _insides->attach( *thing, col, col+1, row, row+1, Gtk::FILL|Gtk::EXPAND, Gtk::FILL|Gtk::EXPAND );
332 * \param[in] thing
337 void PreviewHolder::calcGridSize( const Gtk::Widget* thing, int itemCount, int& width, int& height )
384 const_cast<Gtk::Widget*>(thing)->get_preferred_size(req2, req2_natural);
386 req2 = const_cast<Gtk::Widget*>(thing)->size_request();
436 Gtk::Widget* thing = Gtk::manage(items[i]->getPreview(PREVIEW_STYLE_PREVIEW, _view, _baseSize, _ratio, _border));
439 thing->set_hexpand();
440 thing->set_vexpand();
441 _insides->attach(*thing, 0, i, 1, 1);
447 _insides->attach( *thing, 0, 1, i, i+1, Gtk::FILL|Gtk::EXPAND, Gtk::FILL|Gtk::EXPAND );
467 Gtk::Widget* thing = Gtk::manage(items[i]->getPreview(PREVIEW_STYLE_PREVIEW, _view, _baseSize, _ratio, border));
470 calcGridSize( thing, items.size(), width, height );
488 thing->set_hexpand();
489 thing->set_vexpand();
490 _insides->attach( *thing, col, row, 1, 1);
492 _insides->attach( *thing, col, col+1, row, row+1, Gtk::FILL|Gtk::EXPAND, Gtk::FILL|Gtk::EXPAND );