Declaration [src]

gdk_content_register_deserializer (
  const char* mime_type,
  GType type,
  GdkContentDeserializeFunc deserialize,
  gpointer data,
  GDestroyNotify notify

Description [src]

Registers a function to deserialize object of a given type.


mime_type const char*

The mime type which the function can deserialize from.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
type GType

The type of objects that the function creates.

deserialize GdkContentDeserializeFunc

The callback.

data gpointer

Data that deserialize can access.

 The argument can be NULL.
notify GDestroyNotify

Destroy notify for data.