Re: Formatted text for tables.

On Feb 13, 2008, at 7:57 AM, Shalom Bhooshi wrote:

I think I need more coffee.

I've found
Colour text in a Gtk2::CellRendererText in a Gtk2::TreeView (

That's the text colours sorted, just need to figure out how to adjust boldness/italics now.

You can do per-word or per-character colors and decorations with Pango markup.

PPS. I've attached the attempt at a prototype i've been working on

If you add the "markup" attribute instead of the "text" attribute, you 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.

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