//------------------------------------------------------------------------------ void ListModelWrapper::note_row_added() { if (*_tm) { (*_tm)->refresh(); Gtk::TreePath path((*_tm)->count() - 1); row_inserted(path, get_iter(path)); } }
void HierTreeMdl::OnCompAdding(Elem& aComp) { std::cout << "HierTreeMdl::OnCompAdding: [" << aComp.Name() << "]" << std::endl; //UpdateStamp(); // Nodify view of all the internal components. This is required because there is no // notif from internal comps - they are created before element gets inserted to the hier iterator iter; iter.set_stamp(iStamp); iter.gobj()->user_data = &aComp; Path path = get_path_vfunc(iter); row_inserted(path, iter); for (vector<Elem*>::iterator it = aComp.Comps().begin(); it != aComp.Comps().end(); it++) { OnCompAdding(*(*it)); } }