newly registered format’s mime-type.
TextBuffer.registerSerializeFormat
gdk.atom.Atom registerSerializeFormat(string mimeType, gtk.types.TextBufferSerializeFunc function_)This function registers a rich text serialization function along with its mime_type with the passed buffer.
Parameters
mimeType | the format’s mime-type |
function_ | the serialize function to register |
Returns
the #GdkAtom that corresponds to the