Function

Gdk-4.0Gdkcontent_register_serializer

  • 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.

    Parameters

    • type: GType

      the type of objects that the function can serialize

    • mime_type: string

      the mime type to serialize to

    • serialize: ContentSerializeFunc

      the callback

    Returns void