3.8 <GFileAttributeInfoList>

Structure: <GFileAttributeInfoList>

Acts as a lightweight registry for possible valid file attributes. The registry stores Key-Value pair formats as GFileAttributeInfos.

Fields

infos

an array of GFileAttributeInfos.

n-infos

the number of values in the array.

Procedures

Method: file-attribute-info-list:add self name type flags
Method: add self name type flags

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

self

Passed: a <GFileAttributeInfoList>.

a <GFileAttributeInfoList>.

name

Passed: a string.

the name of the attribute to add.

type

Passed: a <GFileAttributeType>, or one of its symbols.

the <GFileAttributeType> for the attribute.

flags

Passed: a <GFileAttributeInfoFlags>, or a list of its symbols, or one of them.

<GFileAttributeInfoFlags> for the attribute.

Method: file-attribute-info-list:dup self ⇒ %return
Method: dup self ⇒ %return

Makes a duplicate of a file attribute info list.

self

Passed: a <GFileAttributeInfoList>.

a <GFileAttributeInfoList> to duplicate.

%return

Returned: a <GFileAttributeInfoList>.

a copy of the given self.

Procedure: file-attribute-info-list:new ⇒ %return

Creates a new file attribute info list.

%return

Returned: a <GFileAttributeInfoList>.

a <GFileAttributeInfoList>.

Method: file-attribute-info-list:ref self ⇒ %return
Method: ref self ⇒ %return

References a file attribute info list.

self

Passed: a <GFileAttributeInfoList>.

a <GFileAttributeInfoList> to reference.

%return

Returned: a <GFileAttributeInfoList>.

<GFileAttributeInfoList> or #f on error.

Method: file-attribute-info-list:unref self
Method: unref self

Removes a reference from the given self. If the reference count falls to zero, the self is deleted.

self

Passed: a <GFileAttributeInfoList>.

The <GFileAttributeInfoList> to unreference.