Re: GtkCTree sorting slow



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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]