TextTags for a whole TextBuffer




Hi,

I'm trying to make a GtkTextView display all its text in a
monospaced font. Using a GtkTextTag, with the appropriate
properties set, I can use gtk_text_buffer_insert_with_tags to
programatically insert text that has the appearance I want, but if
the user types text in before or after this tagged block, the new
text appears in the default style. Can someone point me at the
right way to go about having all the text appear in my new style?

Thanks for any help,
Jesse


(Sorry if this message is in duplicate--I made a mistake in sending
 the previous one.)



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