Method
GtkTextBufferserialize
Declaration [src]
guint8*
gtk_text_buffer_serialize (
GtkTextBuffer* register_buffer,
GtkTextBuffer* content_buffer,
GdkAtom format,
const GtkTextIter* start,
const GtkTextIter* end,
gsize* length
)
Description [src]
This function serializes the portion of text between start
and end
in the rich text format represented by format
.
formats
to be used must be registered using
gtk_text_buffer_register_serialize_format()
or
gtk_text_buffer_register_serialize_tagset()
beforehand.
Available since: | 2.10 |
Parameters
content_buffer |
GtkTextBuffer |
The |
|
The data is owned by the caller of the function. | |
format |
GdkAtom |
The rich text format to use for serializing. |
|
start |
GtkTextIter |
Start of block of text to serialize. |
|
The data is owned by the caller of the function. | |
end |
GtkTextIter |
End of block of test to serialize. |
|
The data is owned by the caller of the function. | |
length |
gsize* |
Return location for the length of the serialized data. |
|
The argument will be set by the function. |