FileInfo.setAttribute

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

class FileInfo
void
setAttribute

Parameters

attribute string

a file attribute key.

type GFileAttributeType
valueP void*

pointer to the value