Re: Applied tag(s) to text



Stefano Esposito wrote:
Hi all,

i have a GtkTextView, in which there is some formatted text. When the user cliks somewhere in the textview 
i'd like to know what tag(s) are applied where he have clicked. How can i do this? Any hints are welcome.
  
gtk_text_iter_get_tags() does exactly that. And to get an iter at the
clicked position, use gtk_text_view_get_iter_at_position() or a similar
function.

-- 
This was the most unkindest cut of all.
                -- William Shakespeare, "Julius Caesar"

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]