newly registered format’s mime-type.
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
mimeType | the format’s mime-type |
function_ | the deserialize function to register |
Returns
the #GdkAtom that corresponds to the