Re: Trying to pretty-print XML within pango markup language
- From: Owen Taylor <otaylor redhat com>
- To: gtk-list gnome org
- Cc: Dave Malcolm <david davemalcolm demon co uk>
- Subject: Re: Trying to pretty-print XML within pango markup language
- Date: 26 May 2003 10:09:21 -0400
On Mon, 2003-05-26 at 06:17, Sven Neumann wrote:
> Dave Malcolm <david davemalcolm demon co uk> writes:
> > I want to use the Pango markup language to display syntax-highlighted
> > XML in a GtkTreeView. Unfortunately, XML looks a lot like the Pango
> > markup language. Is there a way of "escaping" my "<" and ">" symbols,
> > perhaps using "<"; and ">"?
> It works exactly like that. Did you try it?
gchar* g_markup_escape_text (const gchar *text,
may be useful if you want to escape blocks of text.
] [Thread Prev