You can do per-word or per-character colors and decorations with Pango
On Feb 13, 2008, at 7:57 AM, Shalom Bhooshi wrote:
> I think I need more coffee.
>
> I've found
> http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/TreeViewColumn.html#_tree_column_set_cel
> and
> Colour text in a Gtk2::CellRendererText in a Gtk2::TreeView
> (mail.gnome.org/archives/gtk-perl-list/2004-October/msg00076.html)
>
> That's the text colours sorted, just need to figure out how to
> adjust boldness/italics now.
markup.
http://library.gnome.org/devel/gtk/stable/GtkCellRendererText.html#GtkCellRendererText--markup
http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.htmlIf you add the "markup" attribute instead of the "text" attribute, you
> PPS. I've attached the attempt at a prototype i've been working on
can put <b>$_</b> and such in that column and things are a little
simpler.
--
elysse: You dance better than some.
me: "Some" what?
elysse: Some asparagus.