ContentProvider


Object Hierarchy:

Gdk.ContentProvider Gdk.ContentProvider Gdk.ContentProvider GLib.Object GLib.Object GLib.Object->Gdk.ContentProvider

Description:

[ CCode ( type_id = "gdk_content_provider_get_type ()" ) ]
public class ContentProvider : Object

A `GdkContentProvider` is used to provide content for the clipboard or for drag-and-drop operations in a number of formats.

To create a `GdkContentProvider`, use [ctor@Gdk.ContentProvider.new_for_value] or [ctor@Gdk.ContentProvider.new_for_bytes].

GDK knows how to handle common text and image formats out-of-the-box. See [class@Gdk.ContentSerializer] and [class@Gdk.ContentDeserializer] if you want to add support for application-specific data formats.


Namespace: Gdk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members: