File.setAttributesAsync

void setAttributesAsync(gio.file_info.FileInfo info, gio.types.FileQueryInfoFlags flags, int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Asynchronously sets the attributes of file with info.

For more details, see gio.file.File.setAttributesFromInfo, which is the synchronous version of this call.

When the operation is finished, callback will be called. You can then call gio.file.File.setAttributesFinish to get the result of the operation.

Parameters

infoa #GFileInfo
flagsa #GFileQueryInfoFlags
ioPrioritythe I/O priority of the request
cancellableoptional #GCancellable object, null to ignore
callbacka #GAsyncReadyCallback to call when the request is satisfied