Re: GtkTextBuffer
- From: Havoc Pennington <hp redhat com>
- To: Phil Krylov <phil mail ru>
- Cc: gtk-list gnome org
- Subject: Re: GtkTextBuffer
- Date: 14 Jun 2002 18:40:12 -0400
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]