[pygtk] Text border inside a TextView

Walter Leibbrandt walter at translate.org.za
Wed Mar 11 19:55:51 WST 2009


Hi everyone,

I'm trying to show the "selection" of a certain sub-string in a 
gtk.TextView by drawing a border around the word. The only way to mark 
text in a TextView that I've found so far is by placing TextTags with 
modified properties. This does not seem to offer a way to draw a border, 
though, or am I missing something?

Does anyone know of an alternative way to draw such a border?

Thanks in advance,

-- 
Walter Leibbrandt                  http://translate.org.za/blogs/walter
Software Developer                                  +27 12 460 1095 (w)
Translate.org.za

Recent blogs:
* Firefox-style button with a pop-up menu
http://www.translate.org.za/blogs/walter/en/content/firefox-style-button-pop-menu
* Virtaal's MVCisation
* Things that changed the way I code




More information about the pygtk mailing list