readValueAsync
open fun readValueAsync(type: <Error class: unknown class>, ioPriority: <Error class: unknown class>, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)
Asynchronously request the drag operation's contents converted to the given @type.
For local drag-and-drop operations that are available in the given GType
, the value will be copied directly. Otherwise, GDK will try to use func@Gdk.content_deserialize_async to convert the data.
Parameters
type
a GType
to read
ioPriority
the I/O priority of the request.
cancellable
optional GCancellable
object, null to ignore.
callback
callback to call when the request is satisfied