Re: Speedup insert into treestore



On Sun, 09 Oct 2005 19:10:11 +0200, Torsten Schoenfeld said:

On Sun, 2005-10-09 at 17:13 +0200, Florian Schaefer wrote:

Sadly, I don't know how to do either of those options (set_sort_column_id
does not accept undef).

In recent gtk+'s, -2 (GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID) is the
magical sort column id that turns off sorting altogether.

Do I have to hard-code the value -2, or is there some define that holds
the value? (And how is a "normal" user supposed to know this? :-/)

Anyway, the performance increase has (sadly) been minimal.
Stays the method to detach the model.

Ciao
Florian 

Attachment: pgptr8le_DVR6.pgp
Description: PGP signature



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