Method

GioFileset_attributes_async

Declaration

void
g_file_set_attributes_async (
  GFile* file,
  GFileInfo* info,
  GFileQueryInfoFlags flags,
  int io_priority,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Asynchronously sets the attributes of file with info.

For more details, see g_file_set_attributes_from_info(), which is the synchronous version of this call.

When the operation is finished, callback will be called. You can then call g_file_set_attributes_finish() to get the result of the operation.

Parameters

info GFileInfo
 

A GFileInfo.

 The data is owned by the caller of the function.
flags GFileQueryInfoFlags
 

A GFileQueryInfoFlags.

io_priority int
 

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

cancellable GCancellable
 

Optional GCancellable object, NULL to ignore.

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback
 

A GAsyncReadyCallback.

 The argument can be NULL.
user_data gpointer
 

A #gpointer.

 The argument can be NULL.
 The data is owned by the caller of the function.