Re: cannot create a long tree



On Wed, 2003-05-14 at 08:22, SirVlad wrote:
> Hello!
> I am writing an application in GTK and I need long trees, 20000 nodes and maybe more. Is it a problem? When I come to about a thousand or so the long subtree does not appear in the scrolled window, only its parent. This is my code:

[snip]

If you can use GTK 2.* rather than GTK 1.*, you might do better using
GtkTreeView rather than GtkTree; the code is much cleaner and more
robust, and has a nice Model/View separation.  I believe GtkTree is now
a deprecated class.

Dave




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