register_deserialize_format
Description:
[ Version ( since = "2.10" ) ]
public Atom register_deserialize_format (string mime_type, owned TextBufferDeserializeFunc function)
public Atom register_deserialize_format (string mime_type, owned TextBufferDeserializeFunc function)
This function registers a rich text deserialization function along with its mime_type with the passed
this.
Parameters:
| this | |
| mime_type |
the format’s mime-type |
| function |
the deserialize function to register |
| user_data |
|
| user_data_destroy |
a function to call when |
Returns:
|
the Atom that corresponds to the newly registered format’s mime-type. |