setAttribute

open fun setAttribute(attribute: String, type: FileAttributeType, valueP: <Error class: unknown class>)

Sets the @attribute to contain the given value, if possible. To unset the attribute, use %G_FILE_ATTRIBUTE_TYPE_INVALID for @type.

Parameters

attribute

a file attribute key.

type

a #GFileAttributeType

valueP

pointer to the value