Clipboard
The GdkClipboard
object represents data shared between applications or inside an application.
To get a GdkClipboard
object, use method@Gdk.Display.get_clipboard or method@Gdk.Display.get_primary_clipboard. You can find out about the data that is currently available in a clipboard using method@Gdk.Clipboard.get_formats.
To make text or image data available in a clipboard, use method@Gdk.Clipboard.set_text or method@Gdk.Clipboard.set_texture. For other data, you can use method@Gdk.Clipboard.set_content, which takes a class@Gdk.ContentProvider object.
To read textual or image data from a clipboard, use method@Gdk.Clipboard.read_text_async or method@Gdk.Clipboard.read_texture_async. For other data, use method@Gdk.Clipboard.read_async, which provides a GInputStream
object.
Skipped during bindings generation
parameter
out_mime_type
: out_mime_type: Out parameter is not supportedparameter
args
: va_listmethod
local
: Property has no getter nor setter
Constructors
Properties
Functions
Emitted when the clipboard changes ownership.
Asynchronously request the @clipboard contents converted to a string.
Finishes an asynchronous clipboard read.
Asynchronously request the @clipboard contents converted to a GdkPixbuf
.
Finishes an asynchronous clipboard read.
Asynchronously request the @clipboard contents converted to the given
Finishes an asynchronous clipboard read.
Sets a new content provider on @clipboard.
Puts the given @texture into the clipboard.
Asynchronously instructs the @clipboard to store its contents remotely.
Finishes an asynchronous clipboard store.