content_register_deserializer


Description:


public void content_register_deserializer (string mime_type, Type type, ContentDeserializeFunc deserialize, void* data, DestroyNotify notify)

Registers a function to deserialize object of a given type.

Since 4.20, when looking up a deserializer to use, GTK will use the last registered deserializer for a given mime type, so applications can override the built-in deserializers.

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