TextBuffer.serialize

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.

class TextBuffer
ubyte[]
serialize

Parameters

contentBuffer TextBuffer

the #GtkTextBuffer to serialize

format GdkAtom

the rich text format to use for serializing

start TextIter

start of block of text to serialize

end TextIter

end of block of test to serialize

Return Value

Type: ubyte[]

the serialized data, encoded as @format

Meta

Since

2.10