Hi, Thanks for the reply, but the solution you gave didn't work. It takes
the entire thing ("<span foreground=\"red\">" + num + "</span>") as a string
and prints everything. Can you give me any better ideaOn Thu, Jul 24, 2008 at 10:38 AM, Mohammed Rashid <[EMAIL PROTECTED]>wrote: > 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 <[EMAIL PROTECTED]> 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 > > [email protected] > > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > >
_______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
