Re: Trouble adding a lot of rows
- From: Philip Van Hoof <spam pvanhoof be>
- To: raul o <rotaiza2003 yahoo co uk>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Trouble adding a lot of rows
- Date: Wed, 02 Aug 2006 16:14:03 +0200
On Wed, 2006-08-02 at 05:49 +0100, raul o wrote:
Hello:
Well, I have a trouble when I add a lot of rows
(+700)in a list. I know that the problem are in the
sort function that I defined using set_sort_function.
In "GTK+ 2.0 Tree View Tutorial" I found the next:
"Secondly, you should make sure that sorting is
disabled while you are doing your mass insertions..."
but I don't know how disable the sorting when I adding
the rows. Any suggestion, code or paper?
For really really really lots of rows, I suggest you take a look at this
demo:
https://svn.cronos.be/svn/custom-treemodel-demo/trunk/
--
Philip Van Hoof, software developer at x-tend
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
http://www.pvanhoof.be - http://www.x-tend.be
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]