I have a GtkTextBuffer which holds the text that is displayed in a GtkTextView. I would like to highlight certain words in it--make some words bold, put others in italics, etc.
I know that Pango is what handles all this stuff, but I cannot find a single tutorial online that explains the use of Pango in an understandable format. Even the technical documentation provided in DevHelp is not of much use. I have read that quite thoroughly too, but without any specific examples relating Pango to GtkTextBuffer and GtkTextView, it is a little hard to figure out what to do.
Does anyone here have a good tutorial that explains how Pango is used with GtkTextBuffer?
Thanks in advance for your help.