read_texture_async


Description:

public async Texture? read_texture_async (Cancellable? cancellable) throws Error

Asynchronously request the this contents converted to a `GdkPixbuf`.

When the operation is finished callback will be called. You must then call [[email protected]_texture_finish] to get the result.

This is a simple wrapper around [[email protected]_value_async]. Use that function or [[email protected]_async] directly if you need more control over the operation.

Parameters:

this

a `GdkClipboard`

cancellable

optional `GCancellable` object, null to ignore.

callback

callback to call when the request is satisfied

user_data

the data to pass to callback function




2022 vala-language.org