[Gtk-sharp-list] Gtk.CellRendererText.Markup

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Aug 24 02:42:12 EDT 2008

On Sun, Aug 24, 2008 at 12:45 AM, innominate <natenate at gmail.com> wrote:
> Can anyone tell me more about this property?  The documentation is very
> lacking.

It's Pango Markup, similar to a tiny subset of HTML:

The GLib.Markup.EscapeText method is useful for escaping strings that
contain <, & characters etc you want to use within a markup string.

> What I am trying to make my TreeView look the one in the image.
> (Gedit->Preferences->Plugins if that image upload doesnt work)

I imagine Markup = "<b>Title</b>\nSubtitle"; would give you that effect.

Michael Hutchinson

More information about the Gtk-sharp-list mailing list