trash_async


Description:

[ Version ( since = "2.38" ) ]
public virtual async bool trash_async (int io_priority = DEFAULT, Cancellable? cancellable = null) throws Error

Asynchronously sends this to the Trash location, if possible.

Parameters:

this

input File

io_priority

the I/O priority of the request

cancellable

optional Cancellable object, null to ignore

callback

a TaskReadyCallback to call when the request is satisfied

user_data

the data to pass to callback function