trash_file


Description:

public async bool trash_file (string path, Cancellable? cancellable) throws Error

Sends the file at path to the trash can.

Parameters:

this

a [class@Portal]

path

the path for a local file

cancellable

optional [class@Gio.Cancellable]

callback

a callback to call when the request is done

data

data to pass to callback