Re: [gtk-list] good GtkCTree example




On Sun, 9 May 1999, Brian Cooke wrote:
> 
> Unfortunatly I'm half way through developing my app and I realized I
> want icons on my tree.  I'm currently using GtkTree and I found out that
> I should probably be using GtkCTree.  Also unfortunatly, the GTK
> Tutorial has GtkCTree as one of those widgets that aren't covered.  So,
> if anyone knows of a good work around to add a pixmap to the list or has
> a good example of using the GtkCTree, please let me know.
> 

The canonical source for widget examples is gtk/testgtk.c, check that out.
Also, you can put pixmaps in a GtkTree, just add a GtkPixmap widget to it.
But if you are just using text/icons, CTree is a lot faster than plain
Tree, with a price in flexibility.

Havoc




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