Drop.readValueAsync

Asynchronously request the drag operation's contents converted to the given type.

When the operation is finished callback will be called. You must then call gdk.drop.Drop.readValueFinish to get the resulting gobject.value.Value.

For local drag-and-drop operations that are available in the given gobject.types.TYPE_FLAG_RESERVED_ID_BIT, the value will be copied directly. Otherwise, GDK will try to use funcGdk.content_deserialize_async to convert the data.

Parameters

type gobject.types.GType
ioPriority int

the I/O priority of the request.

cancellable gio.cancellable.Cancellable

optional gio.cancellable.Cancellable object, null to ignore.

callback gio.types.AsyncReadyCallback

callback to call when the request is satisfied