Re: Attach objects to text in GtkTextview



On Thu, 2005-08-25 at 15:14 +0100, Mathias Andre wrote:
Hi,
I'm using a GtkTextView to display some text. 
Now what'd I'd like to do is to attach some extra informations to words.
For example attach a file's uri to a particular word (like a link in web
browser). I could attach a GtkTextTag to a word, but then I would need
to create one different TextTag for every word (as most words would have
different links).

Anyone got any idea how I could do this?


You could look at how the GtkAboutDialog does links in a text view,
maybe.

Matthias




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