Re: cannot create a long tree



I believe that that the pixmaps used for the expansion/collapse are actually 
defined by the theme - at least by default.  You can specify the pixmaps with 
GTK 1.3 (? the old GTK, I think it's 1.3) explictly - that I know to be true. 
How you do it with 2.0?  No clue.

I just don't bother to use 2.0 yet.  Deprecated smepricated.  As you are well 
aware, the documentation is lacking and it's a total pain in the ass to find 
any documentation.

-Rich

On Wednesday 14 May 2003 10:10, Mike Dailey wrote:
> Dave:
>
> I, amoung several others, have posted GTKTreeView
> questions and havn't received any help.
>
> My question, for instance, asked if there was a way to
> change the "look and feel" or the GTKTreeView widget
> from the spinning selector arrow to the more standard
> "+" and "-" collapse/expand view.
>
> Can you or anyone else recommend a good tutorial--if
> one exists--for GTKTreeView?  The API reference and
> GTK 2.0 tutorial on gtk.org are practically useless
> for all but the very basic use of GTKTreeView, and my
> web searchs for GTK info are coming up empty.
>
> Any help would be greatly appreciated, as this is
> holding up development.
>
> Thanks,
>
> Mike Dailey
>
>
> --- Dave Malcolm <david davemalcolm demon co uk>
>
> wrote:
> > 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
> >
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list




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