Re: Changing the look of the GtkTreeView



Arnaud Charlet <charlet ACT-Europe FR> writes: 
> There's still something that puzzles me: how do you create a TreeView with
> different icons ? E.g a tree with folders, and inside folders you find
> books, and inside books you find pages.
> 
> This is very specific to a particular tree, a very typical need, and I don't
> see what the theme should have to say here, so there is probably
> something I'm missing here. How would you do that with the TreeView ?
> 

I think you just create a GtkCellRendererPixbuf and set the icon you
want for each row, just as you set the text you want for each row... I
could be wrong. jrb can say.

Havoc




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