ContentSerializer


Object Hierarchy:

Gdk.ContentSerializer Gdk.ContentSerializer Gdk.ContentSerializer GLib.Object GLib.Object GLib.Object->Gdk.ContentSerializer GLib.AsyncResult GLib.AsyncResult GLib.AsyncResult->Gdk.ContentSerializer

Description:

[ CCode ( type_id = "gdk_content_serializer_get_type ()" ) ]
public sealed class ContentSerializer : Object, AsyncResult

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 [func@Gdk.content_register_serializer].

Also see [class@Gdk.ContentDeserializer].


Namespace: Gdk
Package: gtk4

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from interface GLib.AsyncResult