Re: Speedup insert into treestore




On Oct 9, 2005, at 11:13 AM, Florian Schaefer wrote:

Sadly, I don't know how to do either of those options (set_sort_column_id does not accept undef). Furthermore I don't know if (1) would really help
me, as the gtk main loop should not be called during my update run.

Indeed, the actual drawing doesn't happen until an idle, but the view still executes code on every change to the model (via the model's signals). The view's handling is far more efficient when it can process these updates in a batch when you attach a new model.



--
Brian: If i recall correctly, this is the physics department.
Chris: That explains all that gravity.
    -- Family Guy, "The Story on Page One"




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