FileAttributeInfoList

class FileAttributeInfoList(**kwargs)
Constructors:

FileAttributeInfoList()
new() -> Gio.FileAttributeInfoList

Constructors

class FileAttributeInfoList
classmethod new() FileAttributeInfoList

Creates a new file attribute info list.

Methods

class FileAttributeInfoList
add(name: str, type: FileAttributeType, flags: FileAttributeInfoFlags) None

Adds a new attribute with name to the list, setting its type and flags.

Parameters:
dup() FileAttributeInfoList

Makes a duplicate of a file attribute info list.

lookup(name: str) FileAttributeInfo

Gets the file attribute with the name name from list.

Parameters:

name – the name of the attribute to look up.

Fields

class FileAttributeInfoList
infos

An array of FileAttributeInfo.

n_infos

The number of values in the array.