FileInfo.setAttribute

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

class FileInfo
void
setAttribute

Parameters

attribute string

a file attribute key.

type GFileAttributeType

a GFileAttributeType

valueP void*

pointer to the value

Meta