readTextAsync

open fun readTextAsync(cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)

Asynchronously request the @clipboard contents converted to a string.

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

Parameters

cancellable

optional GCancellable object

callback

callback to call when the request is satisfied