Using markup with Gtk.TextView
问题 I have been trying to find a way to use Pango markup with Gtk.TextView and Gtk.TextBuffer in Python GObject , but it seems like this functionality is only available for tooltips and labels. Gtk.TextBuffer has the insert_markup method, but requires Gtk.TextIter as input, and must be of specified length. The issue here is that I want to use Gtk.TextView only for displaying text without it being editable. So while I think I understood how you use Gtk.TextTag with editable/selectable text to