Re: Bug in gtk_tree



Daniel Åborg <tjost ctrl-c liu se> writes:

> Hi!
> 
> I've just started trying to use GTK-- to develop a GUI and have run
> into a bug in GTK+ which stops me from getting further. I can't access
> the bug tracker, so I'm hoping I can get a hint on this list instead.
> 
> Basically, if I try to create a gtk_tree with a lot of sub items below
> the root item, say 2000, it won't show the sub items when I expand the
> tree. I've attached a program which exhibits this problem. I'm using
> GTK+ 1.2.10 under Debian with libc6 2.2.4 and XFree86 4.1.0.
> 
> I'm hoping I'm doing something wrong or there's another version which
> doesn't have the problem or something like that. I'd be very grateful
> for any help in this matter, I'd rather that I'm able to use GTK+/--
> than have to use Qt.

GtkTree is known buggy, but this isn't even really a bug - it's just a
limitation - GtkTree uses a big window to hold the tree, and windows
in GTK+-1.2 and X are limited to 32,768 pixels in size. (GTK+-2.0 uses
tricks to emulate bigger windows.)

Solution, use GtkCTree instead.
                                        Owen




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