Re: speeding up GtkTreeView?
- From: Olaf Frączyk <olaf cbk poznan pl>
- To: Havoc Pennington <hp redhat com>
- Cc: Joop Stakenborg <pa3aba xs4all nl>, gtk-app-devel-list gnome org
- Subject: Re: speeding up GtkTreeView?
- Date: 17 Feb 2003 09:39:06 +0100
On Sat, 2003-02-15 at 01:48, Havoc Pennington wrote:
- you can avoid TreeStore/ListStore entirely and do your
own object providing a GtkTreeModel interface
Is there some tutorial how to do it?
- you can have a single-column TreeStore/ListStore where the
column contains a single void* pointing to a custom struct
(gtk-demo has an example here I believe)
GtkListStore is a linked list, and if you set a string on it for
example it's going to copy the string. So if you stuff copy 8 strings
per row into a giant linked list, it is not going to be fast.
Could you explain the difference between storing data by GtkListStore
and GtkCList?
And a hint how to make GtkTree* being as fast as GTkCList.
Regards,
Olaf Fraczyk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]