Clipboard.readTextureAsync

Asynchronously request the clipboard contents converted to a gdkpixbuf.pixbuf.Pixbuf.

When the operation is finished callback will be called. You must then call gdk.clipboard.Clipboard.readTextureFinish to get the result.

This is a simple wrapper around gdk.clipboard.Clipboard.readValueAsync. Use that function or gdk.clipboard.Clipboard.readAsync directly if you need more control over the operation.

class Clipboard
void
readTextureAsync

Parameters

cancellable gio.cancellable.Cancellable

optional gio.cancellable.Cancellable object, null to ignore.

callback gio.types.AsyncReadyCallback

callback to call when the request is satisfied