Clipboard.readTextureAsync

void readTextureAsync(gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

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.

Parameters

cancellableoptional gio.cancellable.Cancellable object, null to ignore.
callbackcallback to call when the request is satisfied