Re: Changing the look of the GtkTreeView
- From: Havoc Pennington <hp redhat com>
- To: Arnaud Charlet <charlet ACT-Europe FR>
- Cc: Jonathan Blandford <jrb redhat com>, gtk-devel-list gnome org
- Subject: Re: Changing the look of the GtkTreeView
- Date: 25 Feb 2002 18:40:22 -0500
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]