Method
GioFilecopy_async_with_closures
since: 2.82
Declaration [src]
void
g_file_copy_async_with_closures (
GFile* source,
GFile* destination,
GFileCopyFlags flags,
int io_priority,
GCancellable* cancellable,
GClosure* progress_callback_closure,
GClosure* ready_callback_closure
)
Description [src]
Version of g_file_copy_async() using closures instead of callbacks for
easier binding in other languages.
Available since: 2.82
This method completes asynchronously. Use g_file_copy_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
This method is renamed to g_file_copy_async() in language bindings.
Parameters
destination-
Type:
GFileDestination
GFile.The data is owned by the caller of the method. flags-
Type:
GFileCopyFlagsSet of
GFileCopyFlags. io_priority-
Type:
intThe I/O priority of the request.
cancellable-
Type:
GCancellableOptional
GCancellableobject,NULLto ignore.The argument can be NULL.The data is owned by the caller of the method. progress_callback_closure-
Type:
GClosureGClosureto invoke with progress information, orNULLif progress information is not needed.The argument can be NULL.The data is owned by the caller of the method. ready_callback_closure-
Type:
GClosureGClosureto invoke when the request is satisfied.The data is owned by the caller of the method.