Re: Getting indexes of row's children in treeview
- From: Kamalpreet Grewal <grewalkamal005 gmail com>
- To: Phil Wolff <adiabat centurylink net>, gtkmm-list gnome org
- Subject: Re: Getting indexes of row's children in treeview
- Date: Fri, 1 Jul 2016 15:14:43 +0530
On Wed, Jun 29, 2016 at 1:12 AM, Phil Wolff <adiabat centurylink net> wrote:
If I'm reading your question correctly, you're looking for path.up() and
path.down() to change levels in the tree, and path.next() and path.prev() to
change nodes within a level. Continuing your example and assuming iter
points to row 3,
cout << path.to_string() << endl; // 3
path.down();
cout << path.to_string() << endl; // 3:0
path.next();
cout << path.to_string() << endl; // 3:1
path.down();
cout << path.to_string() << endl; // 3:1:0
Thank you Phil. That was helpful.
--
Kamalpreet Kaur Grewal
Blog: http://kamalpreetgrewal.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]