Function
GtkTextBufferSerializeFunc
Declaration
guint8*
(* GtkTextBufferSerializeFunc) (
GtkTextBuffer* register_buffer,
GtkTextBuffer* content_buffer,
const GtkTextIter* start,
const GtkTextIter* end,
gsize* length,
gpointer user_data
)
Description [src]
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-
Type:
GtkTextBufferThe
GtkTextBufferfor which the format is registered.The data is owned by the caller of the function. content_buffer-
Type:
GtkTextBufferThe
GtkTextBufferto serialize.The data is owned by the caller of the function. start-
Type:
GtkTextIterStart of the block of text to serialize.
The data is owned by the caller of the function. end-
Type:
GtkTextIterEnd of the block of text to serialize.
The data is owned by the caller of the function. length-
Type:
gsize*Return location for the length of the serialized data.
The argument will be set by the function. user_data-
Type:
gpointerUser data that was specified when registering the format.
The argument can be NULL.The data is owned by the caller of the function.