TextBufferDeserializeFunc


Description:

[ CCode ( instance_pos = 5.9 ) ]
public delegate bool TextBufferDeserializeFunc (TextBuffer register_buffer, TextBuffer content_buffer, TextIter iter, uint8[] data, bool create_tags) throws Error

A function that is called to deserialize rich text that has been serialized with serialize, and insert it at iter.

Parameters:

register_buffer

the TextBuffer the format is registered with

content_buffer

the TextBuffer to deserialize into

iter

insertion point for the deserialized text

data

data to deserialize

create_tags

true if deserializing may create tags

length

length of data

user_data

user data that was specified when registering the format

Returns:

true on success, false otherwise


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org