Re: [gtkmm] listview: setting textcolor in individual cells in th e same column
- From: Christer Palm <palm nogui se>
- To: Murray Cumming Comneon com
- Cc: bart hakvoort castel nl, gtkmm-list gnome org
- Subject: Re: [gtkmm] listview: setting textcolor in individual cells in th e same column
- Date: Fri, 17 Oct 2003 17:37:14 +0200
Murray Cumming Comneon com wrote:
From: Christer Palm [mailto:palm nogui se]
myModelColumns is supposed to be your TreeModelColumnRecord,
and color
is a column in which you would put the color of each row (a
string).
If he's putting the color in a model column, instead of basing the color on
some calculation, why would he set the color in the callback. Why not just
connect the cell renderer's color property to that model column?
http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s02.html#id2880753
Aha - yes why not?
Didn't know you could do that...
--
Christer Palm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]