content_register_serializer


Description:


public void content_register_serializer (Type type, string mime_type, ContentSerializeFunc serialize, void* data, DestroyNotify notify)

Registers a function to serialize objects of a given type.

Parameters:

type

the type of objects that the function can serialize

mime_type

the mime type to serialize to

serialize

the callback

data

data that serialize can access

notify

destroy notify for data


Namespace: Gdk
Package: gtk4