File.setAttributeUint64

Sets attribute of type gio.types.FileAttributeType.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 gio.types.IOErrorEnum.Cancelled will be returned.

interface File
bool
setAttributeUint64

Parameters

attribute string

a string containing the attribute's name

value ulong

a #guint64 containing the attribute's new value

flags gio.types.FileQueryInfoFlags

a #GFileQueryInfoFlags

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore

Return Value

Type: bool

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