TypeScript API Documentation for GDK
API Version: 4.0
Library Version: 4.0.0
Generated with TypeDoc via ts-for-gir v4.0.0-rc.9
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.
the type of objects that the function can serialize
the mime type to serialize to
the callback
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.