TreeModel selected row number
- From: John Taber <jtaber johntaber net>
- To: gtkmm-list gnome org
- Subject: TreeModel selected row number
- Date: Tue, 22 Mar 2005 03:30:59 -0700
I cannot seem to figure out how to get the selected row number in a tree
model. I am following the example framework and have:
Gtk::TreeModel::iterator iter = m_refTreeModel->get_iter(path);
if(iter) {Gtk::TreeModel::Row row = *iter;}
this gives me the "Row" and I can get any member of that row and I guess I
could use a member value and iterate thru the data to find the row number but
that seems the hard way - what am I missing ?
thks
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]