Re: cannot create a long tree



On Wed, 2003-05-14 at 17: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.

I believe that's a theme issue, though I'm afraid I don't how to go
about fixing that.

> 
> 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.

Again, I'm afraid I don't have any pointers for you.  I learned the
widget by reading through the API documentation a number of times until
it made sense, though I have yet to do anything using the widget more
complicated than simple trees and lists using the text-based cell
renderers.

Sorry I can't be more helpful... I'd try writing the tutorial myself but
life is far too hectic at the moment :-(

Dave

> 
> 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]