Callbacks

ContentDeserializeFunc (deserializer)

ContentSerializeFunc (serializer)

Details

Gdk.ContentDeserializeFunc(deserializer)
Parameters:

deserializer (Gdk.ContentDeserializer) – a GdkContentDeserializer

The type of a function that can be registered with Gdk.content_register_deserializer().

When the function gets called to operate on content, it can call functions on the deserializer object to obtain the mime type, input stream, user data, etc. for its operation.

Gdk.ContentSerializeFunc(serializer)
Parameters:

serializer (Gdk.ContentSerializer) – a GdkContentSerializer

The type of a function that can be registered with Gdk.content_register_serializer().

When the function gets called to operate on content, it can call functions on the serializer object to obtain the mime type, output stream, user data, etc. for its operation.