TextBuffer.deserialize

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

formats to be used must be registered using TextBuffer.registerDeserializeFormat or TextBuffer.registerDeserializeTagset beforehand.

class TextBuffer
bool
deserialize

Parameters

contentBuffer TextBuffer

the gtk.TextBuffer to deserialize into

format GdkAtom

the rich text format to use for deserializing

iter TextIter

insertion point for the deserialized text

data ubyte[]

data to deserialize

Return Value

Type: bool

TRUE on success, FALSE otherwise.

Throws

GException on failure.

Meta

Since

2.10