Re: [gtkmm] bgcolor in treeview cell
- From: Daniel <dss home se>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] bgcolor in treeview cell
- Date: Fri, 9 Aug 2002 15:32:06 +0200
Hello again!
I found part of the solution to this problem. If i use a CellRendererText I can set the background or foreground color of a cell. However, when a row gets selected it gets the backgroundcolor of the selection (light blue with the default theme). I would like my cell to keep "my" bgcolor. Solutions?
The reason why i want to do this is that the rows in the list corresponds to different lines in a plot. Each line got one row in the TreeView. Screenshot of how it looked like in the gtk-1.2 version (with Gtk::CList): http://gspeakers.sf.net.
/Daniel
On Wed, 7 Aug 2002 23:35:55 +0200
Daniel <dss home se> wrote:
> Hello!
>
> Is there a simple way to change the backgroundcolor of a treeview cell? Or is it possible to somehow fill the cell with a color? I know I could use a Gdk::Pixbuf renderer but that seems to be a little bot more compilcated that it should be for such a simple thing that i want to do...
>
> /Daniel
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]