Clipboard.readTextureAsync

Asynchronously request the @clipboard contents converted to a GdkPixbuf.

When the operation is finished @callback will be called. You must then call [method@Gdk.Clipboard.read_texture_finish] to get the result.

This is a simple wrapper around [method@Gdk.Clipboard.read_value_async]. Use that function or [methos@Gdk.Clipboard.read_async] directly if you need more control over the operation.

class Clipboard
void
readTextureAsync
(,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

cancellable Cancellable

optional GCancellable object, %NULL to ignore.

callback GAsyncReadyCallback

callback to call when the request is satisfied

userData void*

the data to pass to callback function

Meta