content_register_deserializer


Description:


public void content_register_deserializer (string mime_type, Type type, owned ContentDeserializeFunc deserialize)

Registers a function to create objects of a given type from a serialized representation with the given mime type.

Parameters:

mime_type

the mime type which the function can deserialize from

type

the type of objects that the function creates

deserialize

the callback

data

data that deserialize can access

notify

destroy notify for data


Namespace: Gdk
Package: gtk4