openldev wrote:
Yes, unfortunately, there is no simple way to do this with a GtkTextView. However, when you start automating formatting in larger applications, it really does make sense to use the GtkTextTag system.
Not really. Most systems generate formatted text separate from the GUI code (performance being a big part of it). MS's RichEditCtrl allows you to easily drop preformatted RTF text right into it, so this seems like a major oversight in the GTK API. Why can you do this with a label but not a text view-which one of the two more often has formatted text in it? Oh well...