I tried it with your function, but nothing happens ( no error and no change of scroll area )
// now move to a specific row ... did not work
Gtk::TreeModel::Children childs = m_refTreeModel->children();
int cnt=0;
Gtk::TreeModel::Children::iterator iter = childs.begin();
while ( iter != childs.end() )
{
Gtk::TreeModel::Row row2 = *iter;
cnt++;
if ( cnt == 7 ) break;
}
// ???
//Gtk::TreePath p1("8:");
Gtk::TreePath p1 = m_refTreeModel->get_path( iter );
m_TreeView.scroll_to_row( p1, 0);
nothing happens :-(
Regards
Klaus
Gesendet: Mittwoch, 16. August 2017 um 09:12 Uhr
Von: "Daniel Boles" <dboles src gmail com>
An: gtkmm-list <gtkmm-list gnome org>
Betreff: Re: scroll a tree view to sepcific row