Re: need advice: "gtk_tree_view slow"



On Fri, Aug 29, 2003 at 09:03:34AM +0800, Bert Marco Schuldes wrote: 
- Is this a general problem when using gtk_tree_view, or was the
  case mentioned some "special" case?

Basically the treeview requires some thought to use. Some operations
or methods of using it can be linear time (or if you do something
really silly, quadratic time; e.g. a linear-time operation done in a
loop).

It can also be slow if you copy all your data into the treeview, 
rather than using a custom model, for large datasets.

Another thing to do is fill the model prior to setting it on the
treeview widget.

- should I better use gtkctree, to avoid this problem, even though
  deprecated?

No, definitely not. CTree is busted.

Havoc



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