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:
GtkTextBufferThe
GtkTextBufferto serialize.The data is owned by the caller of the method. format-
Type:
GdkAtomThe rich text format to use for serializing.
start-
Type:
GtkTextIterStart of block of text to serialize.
The data is owned by the caller of the method. end-
Type:
GtkTextIterEnd 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.