Re: text with links





----- Original Message ----
From: Paul Drynoff <pauldrynoff gmail com>
To: gtk-app-devel-list gnome org
Sent: Wednesday, September 6, 2006 11:40:20 AM
Subject: text with links

Hello.

I need component like GtkTextView,
but with abbilities handle click on some words (links),
with interface like this:

component_name_mark_text_as_link(position)

on_click(gchar *link_value, gpointer arg)

is it possible implement with GtkTextView(exists any examples?),
or there is around any component with such features?

I found gtkhtml, but it has too many dependicies, and too many
functionality, which I not need.
----------------------------
The easiest and quickest way I can think of is create a TextView, add some TextAnchors, define some 
LinkButtons, and anchor the LinkButtons to the TextAnchors.








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