Aw: Re: Re: scroll a tree view to sepcific row
- From: "Klaus Rudolph" <lts-rudolph gmx de>
- To: "Daniel Boles" <dboles src gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Aw: Re: Re: scroll a tree view to sepcific row
- Date: Wed, 16 Aug 2017 09:43:50 +0200
Hi again,
You never move iter beyond children.begin().
Yepp... iter++ fix the problem :-) THANKS!
I saw for a c code example that there is a possibility to get a path from ustring in some notation like "7:".
http://scentric.net/tutorial/sec-treemodel-rowref.html
So I also tried
Gtk::TreePath p1("8:");
m_TreeView.scroll_to_row( p1, 0);
compiles but did nothing. Is my syntax for the string invalid or must it be converted before?
And as shown in my now fixed first example code snippet, ist it possible to get the iterator direct from the
model without manually coding the iterating loop over all the children?
Regards
Klaus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]