FileInfo.setAttribute

Sets the attribute to contain the given value, if possible. To unset the attribute, use gio.types.FileAttributeType.Invalid for type.

class FileInfo
void
setAttribute

Parameters

attribute string

a file attribute key.

type gio.types.FileAttributeType

a #GFileAttributeType

valueP void*

pointer to the value