Hello dear community,
I am iterating over the items of a TreeView/ListStore using
Gtk::TreeModel::Children::iterator!
Now I want to do something special, for the selected item.
I tried:
Gtk::TreeModel::Children::iterator i;
Glib::RefPtr<Gtk::TreeSelection> refTreeSelection; //<-The selection is
stored in here (using get_selection)
for(...)
{
...
if(i==refTreeSelection->get_selected())
..
}
This does unfortantly not work.
What would be the correct way?
Thanks!
Nathan
--
View this message in context:
http://www.nabble.com/How-to-know-if-the-Gtk%3A%3ATreeModel%3A%3AChildren%3A%3Aiterator-is-equal-to-the-selection-tf3369138.html#a9374220
Sent from the Gtkmm mailing list archive at Nabble.com.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list