RE: [gtkmm] Bold text in just a single TreeView row



> From: Simon Peter [mailto:dn tlp gmx net] 
> I surely just missed out something obvious, but i just can't 
> find a way
> to get just one row in a Gtk::TreeView in bold text. I bet this is
> possible with gtkmm. Could anyone please explain how this is done?

If you already know how to make the text of the cell renderer bold, then you
can have an extra bool model column (not added as a view column) and connect
it to the appropriate cell renderer property:

These links are relevant:
http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08.html#id2880604
http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s02.html#id2880753

Murray Cumming
murrayc usa net
www.murrayc.com
Remember to use the "Reply To All" feature with mailing lists.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]