I don't like fiddling around with markup strings, even at the best of times. So, any convienient way of producing the right formatting is welcome news to me. Gtk widgets allow markupstrings for various text elements. So, I thought, how about creating strings on the fly using familiar Tcl means. Hence the following two procs below. One will create markup and the other remove it. The removal method is still basic, it will also strip out markup-like items such as <b> so its use is limited. It is also assumed that there will only be one "<span" entry per string. Modifying the code to remove more that one <span group should not be too much of an issue. The need behind creating these procs comes from wanting to quickly add/remove markup strings from tree/listview cells. #--------------- # pango_string.tcl #--------------- # !/bin/sh # the next line restarts using tclsh \ exec tclsh "$0" "$@" package require Gnocl #--------------- # Create Pango ...