set_attributes_async


Description:

public virtual async bool set_attributes_async (FileInfo info, FileQueryInfoFlags flags, int io_priority = DEFAULT, Cancellable? cancellable = null, out FileInfo info_out) throws Error

Asynchronously sets the attributes of this with info.

For more details, see 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 set_attributes_async.end to get the result of the operation.

Parameters:

this

input File

info

a FileInfo

flags

a FileQueryInfoFlags

io_priority

the I/O priority of the request

cancellable

optional Cancellable object, null to ignore

callback

a TaskReadyCallback to call when the request is satisfied

user_data

the data to pass to callback function