Re: need advice: "gtk_tree_view slow"
- From: Havoc Pennington <hp redhat com>
- To: Bert Marco Schuldes <bert schuldes org>
- Cc: "gtk-app-devel-list-request gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: need advice: "gtk_tree_view slow"
- Date: Fri, 29 Aug 2003 10:20:57 -0400
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]