[pygtk] TextBuffer to Markup

Bradlee Landis bradleelandis at gmail.com
Thu Feb 17 01:05:22 WST 2011


Is there an easy way to convert from a TextBuffer to the Pango Markup
Language? I can't seem to find it, even though it seems like it would
be a desired feature by at least a few people.

I need to save the data inside an XML document, with formatting
intact, and so I was just going to use the Pango Markup Language to
store it. I would accept other suggestions though.

-- 
Thanks,
Brad Landis


More information about the pygtk mailing list