File.trashAsync

void trashAsync(int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Asynchronously sends file to the Trash location, if possible.

Parameters

ioPrioritythe [I/O priority][io-priority] of the request
cancellableoptional #GCancellable object, null to ignore
callbacka #GAsyncReadyCallback to call when the request is satisfied