Class

GdkContentSerializer

Description [src]

final class Gdk.ContentSerializer : GObject.Object {
  /* No available fields */
}

A GdkContentSerializer is used to serialize 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 gdk_content_register_serializer().

Also see GdkContentDeserializer.

Hierarchy

hierarchy this GdkContentSerializer implements_0 GAsyncResult this--implements_0 ancestor_0 GObject ancestor_0--this

Ancestors

Implements

Instance methods

gdk_content_serializer_get_cancellable

Gets the cancellable for the current operation.

gdk_content_serializer_get_gtype

Gets the GType to of the object to serialize.

gdk_content_serializer_get_mime_type

Gets the mime type to serialize to.

gdk_content_serializer_get_output_stream

Gets the output stream for the current operation.

gdk_content_serializer_get_priority

Gets the I/O priority for the current operation.

gdk_content_serializer_get_task_data

Gets the data that was associated with the current operation.

gdk_content_serializer_get_user_data

Gets the user data that was passed when the serializer was registered.

gdk_content_serializer_get_value

Gets the GValue to read the object to serialize from.

gdk_content_serializer_return_error

Indicate that the serialization has ended with an error.

gdk_content_serializer_return_success

Indicate that the serialization has been successfully completed.

gdk_content_serializer_set_task_data

Associate data with the current serialization operation.

Methods inherited from GObject (42)

Signals

Signals inherited from GObject (1)