Re: [gtkmm] multiple selections on TreeView
- From: Daniel Elstner <daniel elstner gmx net>
- To: Frank Naumann <fnaumann cs uni-magdeburg de>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] multiple selections on TreeView
- Date: 23 Nov 2002 19:51:34 +0100
Am Sam, 2002-11-23 um 00.31 schrieb Daniel Elstner:
> Am Fre, 2002-11-22 um 22.56 schrieb Daniel Elstner:
> > >
> > > For me it looks like I can't call erase in on_remove_selection() as this
> > > possible invalidates the iterator. If this is true is there any other way
> > > to remove multiple selections? Or I'm tottaly wrong here?
Update:
Hmm, I think GtkTreeStore and GtkListStore even implement persistent
iterators, though this isn't guaranteed for all GtkTreeModel
implementations. Thus you could just use
std::list<Gtk::TreeModel::iterator> and forget about the sorting
nonsense.
--Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]