TreeView path and iter
- From: johnmb <johnmblackburn googlemail com>
- To: gtkmm-list gnome org
- Subject: TreeView path and iter
- Date: Mon, 18 Dec 2006 03:21:46 -0800 (PST)
I am trying to navigate around a treeview and, to do this, I need a valid
path object. When I use the following two lines :-
group_iter = m_refTreeModel->get_iter("0"); // Points to first parent
menu item
group_path = m_refTreeModel->get_path(group_iter);
I get the following error message :-
Gtk-CRITICAL **: gtk_tree_store_get_path: assertion `iter->user_data !=
NULL' failed
I have tried several variations including :-
group_path = m_refTreeModel->get_path(m_refTreeModel->get_iter("0"));
but all with the same result - any ideas would be very welcome.
Thanks
John
--
View this message in context: http://www.nabble.com/TreeView-path-and-iter-tf2839301.html#a7927173
Sent from the Gtkmm mailing list archive at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]