[Glade-users] Customized Tree Widget

Andrae Muys amuys@shortech.com.au
Tue, 06 Feb 2001 09:36:52 +1000


Matt Hillebrand wrote:
> 
> Hello.
> 
> Is there a variation of the Tree Widget that has a checkbox next to each
> and every entry in the tree? If not, could someone point me in the right
> direction if I need to modify the GTK+ tree widget?
> 
For now a CTree might be your only standard option.  However I strongly
suggest you consider GAL.  I believe the ETree(?) will support what you
want, and has a much nicer API to boot.  You can get GAL from CVS, or
from the Ximian website (it was developed for use with Evolution :).

> Also, I tried to use Glade to stick a Tree on a window, but it didn't seem
> to have any mechanism allowing me to modify the tree's properties. Any
> idea why?

To the best of my knowledge (I haven't used the GTree much), a GTree
dosn't have any properties :).  All the behaviour is governed by various
GTreeItem's and such.

Andrae