Re: GtkTextView
- From: Eduardo M KALINOWSKI <ekalin bol com br>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkTextView
- Date: Mon, 11 Jul 2005 09:56:33 -0300
Tomasz Wegrzanowski wrote:
GtkTextView is such a cool widget for implementing application's own richtext display.
There's just one thing I couldn't find - how can I implement links in it ?
If there are no high-level links implemented, I just need information that user
clicked with such and such button on certain GtkTextIter.
Or from the low level point of view, I need to convert Gdk click event's
coordinates into GtkTextIter pointers.
Embedding links in the GtkTextView with widget anchors wouldn't be very nice,
as I wouldn't be able to control their formatting, but it is acceptable
if there's absolutely no other way.
What should I do ?
In the gtk-demo application there is a demo of GtkTextView that does
exactly what you want. Check it out to see how it's done and then adapt
the source code.
--
Armstrong's Collection Law:
If the check is truly in the mail,
it is surely made out to someone else.
Eduardo M KALINOWSKI
ekalin bol com br
http://move.to/hpkb
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]