Re: Remove Markups from string



On Mon, 20 Jan 2003 20:12:07 -0200
André Casteliano <digitalcoder users sourceforge net> wrote:

Hi,

using gtk_tree_model_get ( ... ) i get a string with pango markups like: 
"<span foreground="red">mytext</span>"

I need only the string "mytext". Wat I can do to remove markups from my
string?

Use pango_parse_markup.

Roland
-- 
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in email
http://www.xs4all.nl/~rsmith/         X     No Word docs in email
                                     / \    Respect for open standards

Attachment: pgpgNdTLCqTJS.pgp
Description: PGP signature



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