[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: GtkCTree sorting slow
- From: mrl netbank com br
- To: gtk-app-devel-list gnome org
- Subject: Re: GtkCTree sorting slow
- Date: Thu, 4 Apr 2002 14:40:05 -0300
On Thu, Apr 04, 2002 at 07:15:28PM +0200, Markus Lausser wrote:
> On Thu, Apr 04, 2002 at 02:00:21PM -0300, mrl@netbank.com.br wrote:
> >
> > Try freeze()'ing the CTree before call the sort function, it will help a lot! :)
> > But don't forget to thaw() the CTree after this operation..
> > Btw, these are commands from CList, and not from CTree, but CTree
> > is implemented based on CList, so you can just cast it.. :)
> >
>
> AFAIK there's no need to freeze() and thaw() cause gtk_clist_sort() does that
> itself. And of course there is no drawing done during sorting.
>
> Markus.
---end quoted text---
Well, I did in my mpg123 frontend and it worked fine with
% find /lan/mp3/ -type f | wc -l
1363
1363 musics sorted by Artist -> Album -> Music, so I have about 1500 items at
my list and it's not slow.. I used freeze() and thaw() becose I saw the scroll
bar changing during a sort..
btw, I'm on a k6-2 400 392mb sis530 8mb shared, so my hardware do not helps..
hehehe
[]'s
--
Marcelo R Leitner <mrl@netbank.com.br>
ICQ #: 29966851
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]