setAttributeUint64

open fun setAttributeUint64(attribute: String, value: <Error class: unknown class>, flags: FileQueryInfoFlags, cancellable: Cancellable? = null): <Error class: unknown class><Boolean>

Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_UINT64 to @value. If @attribute is of a different type, this operation will fail.

If @cancellable is not null, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.

Return

true if the @attribute was successfully set to @value in the @file, false otherwise.

Parameters

attribute

a string containing the attribute's name

value

a #guint64 containing the attribute's new value

flags

a #GFileQueryInfoFlags

cancellable

optional #GCancellable object, null to ignore