File.trashAsync

Asynchronously sends file to the Trash location, if possible.

interface File
void
trashAsync

Parameters

ioPriority int

the [I/O priority][io-priority] of the request

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied