TextBuffer.deserialize

bool deserialize(gtk.text_buffer.TextBuffer contentBuffer, gdk.atom.Atom format, gtk.text_iter.TextIter iter, ubyte[] data)

This function deserializes rich text in format format and inserts it at iter.

formats to be used must be registered using [gtk.text_buffer.TextBuffer.registerDeserializeFormat] or [gtk.text_buffer.TextBuffer.registerDeserializeTagset] beforehand.

Parameters

contentBufferthe #GtkTextBuffer to deserialize into
formatthe rich text format to use for deserializing
iterinsertion point for the deserialized text
datadata to deserialize

Returns

true on success, false otherwise.

Throws

[ErrorWrap]