Re: Treeview_foregroundcolor_for_specificrows



Hi Sai,
I have done following to change color of single cell.
So try something this for whole row.

string num = db.getField(i,2);
num = "<span foreground=\"red\">" + num + "</span>";
row[m_Columns.m_col_No] = num;

Regards,
Rashid


On 7/23/08, Sai <rsaikamesh gmail com> wrote:
>
> Hi,
>
>
> I need to display some records in a Gtk::TreeView. The foreground color of
> some specific rows in the tree view has to be shown in red color . Could
> anyone give me some ideas on how this can be done?
>
> Thanks In Advance,
> Saikamesh
>
>
> _______________________________________________
>  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]