Re: Speedup insert into treestore



Hi,

On Sun, 2005-10-09 at 19:48 +0200, Florian Schaefer wrote:
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.

I knew I've forgot something... :-D

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? :-/)

The API at http://developer.gnome.org/doc/API/ should always fill in the
Perl apidoc.

Ciao,
 Emmanuele.

-- 
Emmanuele Bassi - <ebassi gmail com>
Log: http://log.emmanuelebassi.net




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