TextBuffer.deserialize

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

contentBuffer gtk.text_buffer.TextBuffer

the #GtkTextBuffer to deserialize into

format gdk.atom.Atom

the rich text format to use for deserializing

iter gtk.text_iter.TextIter

insertion point for the deserialized text

data ubyte[]

data to deserialize

Return Value

Type: bool

true on success, false otherwise.

Throws