Re: GtkTextBuffer



Phil Krylov <phil mail ru> writes:
> 
> I am writing some code allowing to insert attributed text into a
> GtkTextBuffer from an RTF-formatted string. After it will be finished,
> I am goining to write code exporting text from a GtkTextBuffer to an
> RTF string. To do this, I should be able to get tags data from
> GtkTextBuffer. But I haven't found anything about it in documentation.
> Please, can someone point me to the right place?
> 

To iterate over the tags in the buffer, use the
gtk_text_iter_forward_to_tag() function. Or something along those
lines. It's in the docs for GtkTextIter.

Havoc



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