File.setDisplayNameAsync

void setDisplayNameAsync(string displayName, int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Asynchronously sets the display name for a given #GFile.

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

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

Parameters

displayNamea string
ioPrioritythe I/O priority of the request
cancellableoptional #GCancellable object, null to ignore
callbacka #GAsyncReadyCallback to call when the request is satisfied