Re: Remove Markups from string



On Mon, Jan 20, 2003 at 08:12:07PM -0200, André Casteliano wrote:

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 ?


If you just want red foreground, set red foreground on your
GtkCellRenderer; using markup will be a whole lot slower...

Havoc




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