attribute
to value
.gFileSetAttribute(object, attribute, type, value.p, flags = "G_FILE_QUERY_INFO_NONE", cancellable = NULL, .errwarn = TRUE)
object
GFile
.attribute
type
value.p
flags
GFileQueryInfoFlags
.cancellable
GCancellable
object, NULL
to ignore.TRUE
if the attribute was set, FALSE
otherwise.error
GError
, or NULL
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.