FileInfo.getAttributeData

Gets the attribute type, value and status for an attribute key.

class FileInfo
bool
getAttributeData

Parameters

attribute string

a file attribute key

type GFileAttributeType

return location for the attribute type, or NULL

valuePp void*

return location for the attribute value, or NULL; the attribute value will not be NULL

status GFileAttributeStatus

return location for the attribute status, or NULL

Return Value

Type: bool

TRUE if info has an attribute named attribute, FALSE otherwise.