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_register_deserialize_format() or gtk_text_buffer_register_deserialize_tagset() beforehand. Since 2.10

class TextBuffer
int
deserialize

Parameters

contentBuffer TextBuffer

the GtkTextBuffer 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. [array length=length]

Return Value

Type: int

TRUE on success, FALSE otherwise.

Throws

GException on failure.

Meta