Clipboard


Object Hierarchy:

Gdk.Clipboard Gdk.Clipboard Gdk.Clipboard GLib.Object GLib.Object GLib.Object->Gdk.Clipboard

Description:

[ CCode ( type_id = "gdk_clipboard_get_type ()" ) ]
public class Clipboard : Object

The `GdkClipboard` object represents data shared between applications or inside an application.

To get a `GdkClipboard` object, use [[email protected]_clipboard] or [[email protected]_primary_clipboard]. You can find out about the data that is currently available in a clipboard using [[email protected]_formats].

To make text or image data available in a clipboard, use [[email protected]_text] or [[email protected]_texture]. For other data, you can use [[email protected]_content], which takes a [[email protected]] object.

To read textual or image data from a clipboard, use [[email protected]_text_async] or [[email protected]_texture_async]. For other data, use [[email protected]_async], which provides a `GInputStream` object.


Namespace: Gdk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org