Re: [gtk-list] Re: Gtk--: G_List quirks
- From: Guillaume Laurent <glaurent worldnet fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Gtk--: G_List quirks
- Date: 02 Aug 1998 09:01:10 +0200
Tero Pulkkinen <terop@students.cc.tut.fi> writes:
> I would prefer if people used the iterator approach... Its much
> better... Though it should be improved to allow also modifying the
> list through it.
You already can, generally speaking. The only glitch is with the
Gtk_Container children list and the fact that it's a snapshot or what
the container holds, so modifying it won't have any effect on the
container itself.
> (maybe removing next(), prev() and those would be ok? :)
I thought of that too :-)
> (though some of those other wrapped functions are useful for people
> who dont want to depend on STL's algorithms...)
Well, that doesn't prevent them from using iterators, does it ? It
might be less intuitive sometimes, though.
--
Guillaume.
http://www.worldnet.fr/~glaurent
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]