FileT.trashAsync

Asynchronously sends @file to the Trash location, if possible.

template FileT(TStruct)
void
trashAsync
(,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

ioPriority int

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

cancellable Cancellable

optional #GCancellable object, %NULL to ignore

callback GAsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied

userData void*

the data to pass to callback function

Meta

Since

2.38