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 thelist
, setting itstype
andflags
.- Parameters:
name – the name of the attribute to add.
type – the
FileAttributeType
for the attribute.flags –
FileAttributeInfoFlags
for the attribute.
- dup() FileAttributeInfoList
Makes a duplicate of a file attribute info list.
- lookup(name: str) FileAttributeInfo
Gets the file attribute with the name
name
fromlist
.- 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.