Clipboard


Object Hierarchy:

Object hierarchy for Clipboard

Description:

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

The Clipboard object represents a clipboard of data shared between different applications or between different parts of the same application.

To get a GdkClipboard object, use get_clipboard or get_primary_clipboard. You can find out about the data that is currently available in a clipboard using get_formats.

To make text or image data available in a clipboard, use set_text or set_texture. For other data, you can use set_content, which takes a ContentProvider object.

To read textual or image data from a clipboard, use read_text_async or read_texture_async. For other data, use read_async, which provides a InputStream object.


Namespace: Gdk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members: