Copies the file this to the location specified by destination
asynchronously.
For details of the behaviour, see copy.
If progress_callback
is not null, then that function that will be called just
like in copy. The callback will run in the default main context of the thread
calling copy_async — the same context as callback
is run in.
When the operation is finished, callback
will be called. You can then call copy_async.end
to get the result of the operation.
this |
input File |
destination |
destination File |
flags |
set of FileCopyFlags |
io_priority |
the I/O priority of the request |
cancellable |
optional Cancellable object, null to ignore |
progress_callback |
function to callback with progress information, or null if progress information is not needed |
callback |
a AsyncReadyCallback to call when the request is satisfied |
progress_callback_data |
user data to pass to |
user_data |
the data to pass to callback function |