Function
Gdkcontent_register_serializer
Declaration [src]
void
gdk_content_register_serializer (
  GType type,
  const char* mime_type,
  GdkContentSerializeFunc serialize,
  gpointer data,
  GDestroyNotify notify
)
Description [src]
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
- 
            Type: GTypeThe type of objects that the function can serialize. 
- mime_type
- 
            Type: const char*The mime type to serialize to. The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. 
- serialize
- 
            Type: GdkContentSerializeFuncThe callback. 
- data
- 
            Type: gpointerData that serializecan access.The argument can be NULL.The data is owned by the caller of the function. 
- notify
- 
            Type: GDestroyNotifyDestroy notify for data.