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 [[email protected]_for_value] or [[email protected]_for_bytes].

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


Namespace: Gdk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org