It derives from <GObject>.
Serializes content for inter-application data transfers.
The <GdkContentSerializer> transforms an
object that is identified by a GType into a serialized form (i.e. a
byte stream) that is identified by a mime type.
GTK provides serializers and deserializers for common data types such as
text, colors, images or file lists. To register your own serialization
functions, use
content-register-serializer.
Also see <GdkContentDeserializer>.
Gets the cancellable for the current operation.
This is the <GCancellable> that was passed
to content_serialize_async.
Passed: a <GdkContentSerializer>.
Returned: a <GCancellable>, or #f.
the cancellable for the current operation
Gets the GType to of the object to serialize.
Passed: a <GdkContentSerializer>.
Returned: a class, or a GType number.
the GType for the current operation
Gets the mime type to serialize to.
Passed: a <GdkContentSerializer>.
Returned: a string.
the mime type for the current operation
Gets the output stream for the current operation.
This is the stream that was passed to content_serialize_async.
Passed: a <GdkContentSerializer>.
Returned: a <GOutputStream>.
the output stream for the current operation
Gets the I/O priority for the current operation.
This is the priority that was passed to content_serialize_async.
Passed: a <GdkContentSerializer>.
Returned: a 32-bit integer.
the I/O priority for the current operation
Gets the data that was associated with the current operation.
See content-serializer:set-task-data.
Passed: a <GdkContentSerializer>.
Returned: a foreign pointer, or #f.
the task data for self
Gets the user data that was passed when the serializer was registered.
Passed: a <GdkContentSerializer>.
Returned: a foreign pointer, or #f.
the user data for this serializer
Gets the <GValue> to read the object to
serialize from.
Passed: a <GdkContentSerializer>.
Returned: a <GValue>.
the <GValue> for the current operation
Indicate that the serialization has ended with an error.
This function consumes error.
Passed: a <GdkContentSerializer>.
Passed: a <GError>.
a <GError>
Indicate that the serialization has been successfully completed.
Passed: a <GdkContentSerializer>.
Associate data with the current serialization operation.
Passed: a <GdkContentSerializer>.
Passed: a foreign pointer, or a bytevector, or #f.
data to associate with this operation
Passed: a procedure.
destroy notify for data
See GDestroyNotify for how it is
called.