TextBuffer.registerDeserializeFormat

gdk.atom.Atom registerDeserializeFormat(string mimeType, gtk.types.TextBufferDeserializeFunc function_)

This function registers a rich text deserialization function along with its mime_type with the passed buffer.

Parameters

mimeTypethe format’s mime-type
function_the deserialize function to register

Returns

the #GdkAtom that corresponds to the

newly registered format’s mime-type.