Re: [gtkmm] Selecting the first row of a TreeView?



Andrew E. Makeev wrote:
> Murray Cumming Comneon com wrote:
> >http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s04.html#id2878064
> >Use TreeModel::children() to get the STL-style list of rows.
> I bet he asked for Gtk::TreeView::set_cursor (Gtk::TreePath ("0")).
> In addition Gtk::TreeView::scroll_to_row (Gtk::TreePath ("0")) would be 
> used if he did some navigation inside treewidget already.

It's both helpful, thanks alot!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]