Re: gtk_tree_model_iter_previous()
- From: Bastien Nocera <hadess hadess net>
- To: Owen Taylor <otaylor redhat com>
- Cc: Murray Cumming Comneon com, gtk-devel-list gnome org
- Subject: Re: gtk_tree_model_iter_previous()
- Date: Thu, 22 Jan 2004 01:37:07 +0000
On Wed, 2004-01-21 at 18:53, Owen Taylor wrote:
> On Wed, 2004-01-21 at 13:44, Murray Cumming Comneon com wrote:
> > As mentioned here:
> > http://bugzilla.gnome.org/show_bug.cgi?id=128058
> >
> > It would be nice to have a gtk_tree_model_iter_previous() as well as the
> > current gtk_tree_model_iter_next(). Totem has an implementation, though I
> > guess it's significantly slower than gtk_tree_model_iter_next():
> > http://cvs.gnome.org/lxr/source/totem/src/totem-playlist.c#146
> >
> > Thoughts?
>
> <public service announcement>
> If we add one, Totem will get what it deserves... people - if you
> write utility functions, *DO NOT PUT THEM IN THE GTK+ NAMESPACE
> </public service announcement>
It's not exported anywhere, the only difference it could make is in
speed as the gtk+ version will have the internals handy.
> I've written that function before, and think it would be useful to
> have in GTK+. Would need a warning in the docs about performance. We
> could potentially add a vtable member to GtkTreeModel in the
> future to allow models to accelerate it when possible with the model's
> data
> structures.
>
> I've discussed this with Jonathan before, forget what his response
> was.
>
> But post-2.4.
Good to see that it could get added :)
Cheers
---
Bastien Nocera <hadess hadess net>
Show me a good loser and I'll show you a LOSER!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]