Function
Gdk.content_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 |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string | |
serialize |
GdkContentSerializeFunc |
the callback |
|
data |
gpointer |
data that |
|
notify |
GDestroyNotify |
destroy notify for |