Method
GioFilemove_async
Declaration
void
g_file_move_async (
GFile* source,
GFile* destination,
GFileCopyFlags flags,
int io_priority,
GCancellable* cancellable,
GFileProgressCallback progress_callback,
gpointer progress_callback_data,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Asynchronously moves a file source
to the location of destination
. For details of the behaviour, see g_file_move().
If progress_callback
is not NULL
, then that function that will be called
just like in g_file_move(). The callback will run in the default main context
of the thread calling g_file_move_async()
— the same context as callback
is
run in.
When the operation is finished, callback
will be called. You can then call
g_file_move_finish()
to get the result of the operation.
Available since: | 2.72 |
Parameters
destination |
GFile |
|
|
The data is owned by the caller of the function. | |
flags |
GFileCopyFlags |
Set of |
|
io_priority |
int |
The [I/O priority][io-priority] of the request. |
|
cancellable |
GCancellable |
Optional |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
progress_callback |
GFileProgressCallback |
|
|
The argument can be NULL . | |
progress_callback_data |
gpointer |
Gpointer to user data for the callback function. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
A |
|
The argument can be NULL . | |
user_data |
gpointer |
The data to pass to callback function. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |