Method
GtkTextBufferserialize
since: 2.10
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
-
Type:
GtkTextBuffer
The
GtkTextBuffer
to serialize.The data is owned by the caller of the method. format
-
Type:
GdkAtom
The rich text format to use for serializing.
start
-
Type:
GtkTextIter
Start of block of text to serialize.
The data is owned by the caller of the method. end
-
Type:
GtkTextIter
End of block of test to serialize.
The data is owned by the caller of the method. length
-
Type:
gsize*
Return location for the length of the serialized data.
The argument will be set by the function.