TextBufferSerializeFunc


Description:

public delegate unowned uint8? TextBufferSerializeFunc (TextBuffer register_buffer, TextBuffer content_buffer, TextIter start, TextIter end, size_t length)

A function that is called to serialize the content of a text buffer.

It must return the serialized form of the content.

Parameters:

register_buffer

the TextBuffer for which the format is registered

content_buffer

the TextBuffer to serialize

start

start of the block of text to serialize

end

end of the block of text to serialize

length

Return location for the length of the serialized data

user_data

user data that was specified when registering the format

Returns:

a newly-allocated array of guint8 which contains the serialized data, or null if an error occurred


Namespace: Gtk
Package: gtk+-3.0