Function
Gdkcontent_register_serializer
Declaration [src]
void
gdk_content_register_serializer (
GType type,
const char* mime_type,
GdkContentSerializeFunc serialize,
gpointer data,
GDestroyNotify notify
)
Parameters
type |
GType |
The type of objects that the function can serialize. |
|
mime_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 |
GdkContentSerializeFunc |
The callback. |
|
data |
gpointer |
Data that |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
notify |
GDestroyNotify |
Destroy notify for |