Registers a function to serialize objects of a given type.
Since 4.20, when looking up a serializer to use, GTK will use the last registered serializer for a given mime type, so applications can override the built-in serializers.
| type |
the type of objects that the function can serialize |
| mime_type |
the mime type to serialize to |
| serialize |
the callback |
| data |
data that |
| notify |
destroy notify for |