FileInfo.setAttributeStatus

Sets the attribute status for an attribute key. This is only needed by external code that implement g_file_set_attributes_from_info() or similar functions. The attribute must exist in info for this to work. Otherwise FALSE is returned and info is unchanged. Since 2.22

class FileInfo
int
setAttributeStatus

Parameters

attribute string

a file attribute key

status GFileAttributeStatus

a GFileAttributeStatus

Return Value

Type: int

TRUE if the status was changed, FALSE if the key was not set.

Meta