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.

class TextBuffer
bool
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

Return Value

Type: bool

%TRUE on success, %FALSE otherwise.

Throws

GException on failure.

Meta

Since

2.10